Files
TencentOS-tiny/board/GD32F310G_START/BSP/Inc/gpio.h
2022-04-15 15:55:43 +08:00

31 lines
655 B
C

/******************************************************************************
* File: gpio.h
*
* Author: iysheng@163.com
* Created: 04/14/22
*****************************************************************************/
#ifndef __GPIO_H__
#define __GPIO_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "gd32f3x0_libopt.h"
#define LED_Pin GPIO_PIN_1
#define LED_GPIO_Port GPIOA
/**
* @brief GPIO inint
* @param void:
* retval N/A.
*/
void board_gpio_init(void);
#ifdef __cplusplus
}
#endif
#endif /*__PINOUT_H__ */