mirror of
https://github.com/WeActStudio/WeActStudio.EpaperModule.git
synced 2026-08-16 13:13:45 +02:00
first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user