bsp.h 279 B

123456789101112131415
  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 "bsp/serial.h"
  7. void system_init(void);
  8. void system_reboot(void);
  9. int get_hall_stat(int samples);
  10. void wdog_reload(void);
  11. void wdog_enable(void);
  12. #endif /* __BSP_H__ */