tca9555_driver.h 314 B

12345678910111213141516171819
  1. #pragma once
  2. #include "freertos/FreeRTOS.h"
  3. #include "esp_io_expander_tca95xx_16bit.h"
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. extern esp_io_expander_handle_t io_expander;
  8. void tca9555_driver_init(void);
  9. void Set_EXIO(uint32_t Pin,uint8_t State);
  10. bool Read_EXIO(uint32_t Pin);
  11. #ifdef __cplusplus
  12. }
  13. #endif