mirror of
https://github.com/EranMorkon/AMTS.git
synced 2023-12-28 16:48:38 +00:00
31 lines
424 B
C
31 lines
424 B
C
|
#ifndef MAIN_H
|
||
|
#define MAIN_H
|
||
|
|
||
|
#define VERSION "0.1.0"
|
||
|
|
||
|
enum iface_t {
|
||
|
interface_none = 0,
|
||
|
interface_usart1,
|
||
|
interface_usart2,
|
||
|
interface_usart3
|
||
|
};
|
||
|
|
||
|
enum test_t {
|
||
|
test_not_init = 0,
|
||
|
test_none = 1,
|
||
|
test_bma,
|
||
|
test_ne555,
|
||
|
test_led,
|
||
|
test_esp,
|
||
|
test_eeprom,
|
||
|
test_rgb,
|
||
|
test_piezo,
|
||
|
test_display
|
||
|
};
|
||
|
|
||
|
void SysTick_Handler(void);
|
||
|
void USART2_IRQHandler(void);
|
||
|
void wait(uint32_t ms);
|
||
|
|
||
|
#endif
|