tca9555_driver.h 353 B

1234567891011121314151617181920
  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 tca9555_enable_audio_power(void);
  10. void Set_EXIO(uint32_t Pin,uint8_t State);
  11. bool Read_EXIO(uint32_t Pin);
  12. #ifdef __cplusplus
  13. }
  14. #endif