| 1234567891011121314151617181920 |
- #ifndef _KEY_H_
- #define _KEY_H_
- #include "gd32e230x_conf.h"
- #include "board_cfg.h"
- void InitKey(void);
- unsigned char ScanKey(unsigned int gpio_periph,unsigned int pin);
- unsigned char ReadKeyValue(void);
- #if SUPPORT_DETECTION
- unsigned char get_detection();
- #endif
- #endif
|