common_gpio.h 354 B

1234567891011121314151617181920212223242526
  1. #ifndef __COMMON_GPIO_H
  2. #define __COMMON_GPIO_H
  3. #include <stdbool.h>
  4. //
  5. void gpio_wdt_init(void);
  6. //
  7. void gpio_mbaddr_init(void);
  8. //
  9. uint8_t gpio_get_mbaddr(void);
  10. //
  11. bool gpio_check_mbaddr(uint8_t old_addr, uint8_t *new_addr);
  12. // Ревизия платы
  13. uint8_t gpio_get_rev(void);
  14. //
  15. void extern_wdt_togle(void);
  16. #endif // __COMMON_GPIO_H