bsp.h 339 B

1234567891011121314151617
  1. #ifndef __BSP_H__
  2. #define __BSP_H__
  3. #include "hal/hal.h"
  4. #include "hal/pwm.h"
  5. #include "hal/adc.h"
  6. #include "hal/tim4.h"
  7. #include "bsp/serial.h"
  8. void system_init(void);
  9. void system_reboot(void);
  10. int get_hall_stat(int samples);
  11. void wdog_reload(void);
  12. void wdog_enable(void);
  13. void normal_task_enable(bool enable);
  14. #endif /* __BSP_H__ */