first commit

This commit is contained in:
YXZhu
2022-08-06 13:35:32 +08:00
commit 2240710d39
1025 changed files with 472118 additions and 0 deletions
@@ -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