You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1 KiB

1 year ago
1 year ago
1 year ago
  1. #pragma once
  2. #include <stdio.h>
  3. #include "sys.h"
  4. /*******************************************************************************
  5. * DEBUG_LIGHT *
  6. *******************************************************************************/
  7. void debug_light_init(int io_index);
  8. /*******************************************************************************
  9. * zbsp_enter_sleep *
  10. *******************************************************************************/
  11. /**
  12. * @brief
  13. *
  14. * @param after_ms
  15. * @param wakeup_io_index
  16. */
  17. void zbsp_enter_sleep(int32_t after_ms, int32_t wakeup_io_index, bool mirror);
  18. /*******************************************************************************
  19. * gpio_io_state_monitor *
  20. *******************************************************************************/
  21. void zbsp_gpio_state_monitor(int dumpstate_period, uint8_t* io_index, int32_t nio);
  22. void zbsp_gpio_state_monitor_without_initio(int dumpstate_period, uint8_t* io_index, int32_t nio);
  23. void board_init();