board.h 704 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __HW_BOARD_H__
  2. #define __HW_BOARD_H__
  3. #include "st_sys.h"
  4. #include "st_dma.h"
  5. #include "st_flash.h"
  6. #include "software_timer.h"
  7. #include "hardware_delay.h"
  8. #include "hw_io_pin.h"
  9. #include "hw_dma_uart.h"
  10. #include "hw_power_off.h"
  11. #include "hw_flash_data.h"
  12. #include "hw_pwm.h"
  13. #include "hw_iic.h"
  14. #include "Encode.h"
  15. int hw_boot_key_read(void);
  16. void hw_board_init(void);
  17. void hw_run_status_show(void);
  18. void hw_run_status_set(int status);
  19. void hw_board_enter_powerless(void);
  20. void hw_noinit_write(int no, int value);
  21. int hw_noinit_read(int no);
  22. void hw_board_reboot(void);
  23. extern void hw_run_status_on(void);
  24. extern void hw_run_status_off(void);
  25. extern unsigned long run_led_speed;
  26. #endif