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,31 @@
|
||||
#ifndef __BOARD_H
|
||||
#define __BOARD_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "at32f403a_407.h"
|
||||
|
||||
#define DELAY 100
|
||||
#define FAST 1
|
||||
#define SLOW 4
|
||||
|
||||
void led_init(void);
|
||||
void led_toggle(void);
|
||||
void led_set(confirm_state bit_state);
|
||||
|
||||
void button_init(void);
|
||||
flag_status button_getstate(void);
|
||||
|
||||
void button_exint_init(void);
|
||||
void button_isr(void);
|
||||
|
||||
extern uint8_t g_speed;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user