mirror of
https://github.com/WeActStudio/WeActStudio.EpaperModule.git
synced 2026-08-16 13:13:45 +02:00
25 lines
325 B
C
25 lines
325 B
C
#ifndef gpio_H
|
|
#define gpio_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "gd32f30x.h"
|
|
|
|
#define KEY_RCU RCU_GPIOA
|
|
#define KEY_PORT GPIOA
|
|
#define KEY_PIN GPIO_PIN_0
|
|
|
|
#define LED_PB2_RCU RCU_GPIOB
|
|
#define LED_PB2_PORT GPIOB
|
|
#define LED_PB2_PIN GPIO_PIN_2
|
|
|
|
void gpio_config(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|