Home
last modified time | relevance | path

Searched refs:TIM (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/timer/
A Dtimer.c82 RTIM_TypeDef* TIM = TIMx[tid]; in csi_timer_get_remaining_value() local
83 tick = RTIM_GetCount(TIM); in csi_timer_get_remaining_value()
84 load = (uint32_t)((float)TIM->ARR * 1000000 / 32768); in csi_timer_get_remaining_value()
94 RTIM_TypeDef* TIM = TIMx[tid]; in csi_timer_get_load_value() local
95 time_us = (uint32_t)((float)TIM->ARR * 1000000 / 32768); in csi_timer_get_load_value()
104 RTIM_TypeDef* TIM = TIMx[tid]; in csi_timer_is_running() local
105 if(TIM->EN & TIM_CR_CNT_RUN) in csi_timer_is_running()
/AliOS-Things-master/hardware/chip/rtl872xd/aos/
A Dsoc_impl.c46 RTIM_TypeDef *TIM = TIMx[0]; in soc_hr_hw_cnt_get() local
47 tick = RTIM_GetCount(TIM); in soc_hr_hw_cnt_get()
56 RTIM_TypeDef *TIM = TIMx[0]; in soc_lr_hw_cnt_get() local
57 tick = RTIM_GetCount(TIM); in soc_lr_hw_cnt_get()

Completed in 3 milliseconds