bsp_anc.h 526 B

1234567891011121314151617181920
  1. #ifndef __BSP_ANC_H
  2. #define __BSP_ANC_H
  3. typedef struct {
  4. u16 init :1;
  5. u16 start :1;
  6. u16 tp_flag :1; //通透模式使能标志
  7. u8 resv[6]; //保留6byte
  8. } anc_cb_t;
  9. extern anc_cb_t anc_cb;
  10. u32 anc_pow10_cal(int index);
  11. void bsp_anc_dbg_eq_param(u8 packet, u8 band_cnt, u32 *eq_buf);
  12. void bsp_anc_start(void);
  13. void bsp_anc_stop(void);
  14. void bsp_anc_set_mode(u8 mode);
  15. void bsp_anc_init(void);
  16. void bsp_anc_exit(void);
  17. void bsp_anc_parse_cmd_process(u8 *rx_buf);
  18. #endif