25#ifndef _XC_DRV_AOTIMER_H_
26#define _XC_DRV_AOTIMER_H_
36#define AOTIMER_MIN_TLC_VAL 0x04
38#define AOTIMER_TCR_TIM_DISABLE (0x00UL)
39#define AOTIMER_TCR_TIM_ENABLE (0x01UL)
41#define AOTIMER_TCR_TES_ENABLE (0x01UL)
42#define AOTIMER_TCR_TES_DISABLE (0x00UL)
44#define AOTIMER_TICK_CAL(us) ((CLOCK_RC_LFCLK_IN_32K / 1000) * us / 1000)
AOTimer_ModeTypeDef aotimer_mode
void xc_aotimer_start(uint8_t reg_idx)
xc_aotimer_start
void aotimer0_callback(void *context)
aotimer0_callback
void xc_aotimer_init(uint8_t reg_idx, AOTimer_InitCfg_t *init_cfg)
xc_aotimer_init
void aotimer1_callback(void *context)
aotimer1_callback
void xc_aotimer_set_value(uint8_t reg_idx, uint32_t us)
xc_aotimer_set_value
void(* aotimer_handler_callback)(void *context)
void xc_aotimer_stop(uint8_t reg_idx)
xc_aotimer_stop