hal_sy6970.h 338 B

123456789101112131415161718
  1. #ifndef __HAL_SY6970_H__
  2. #define __HAL_SY6970_H__
  3. #include "hc32_ll_gpio.h"
  4. #include "hc32_ll_fcg.h"
  5. #include "hc32_ll_interrupts.h"
  6. #include "hc32_ll_tmr0.h"
  7. #include "ring_buf.h"
  8. #include "hc32_ll_aos.h"
  9. #define SY6970_ADDR 0x6A
  10. void sy6970_init(void);
  11. uint8_t sy6970_charge_status(void);
  12. void sy6970_task(void *argv);
  13. #endif