Searched refs:TIMx (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/ |
A D | rtl8721d_tim.c | 33 RTIM_TypeDef* TIMx[6] = { variable 108 TIMx->CR |= TIM_CR_UDIS; in RTIM_UpdateDisableConfig() 111 TIMx->CR &= ~TIM_CR_UDIS; in RTIM_UpdateDisableConfig() 132 TIMx->CR |= TIM_CR_ARPE; in RTIM_ARRPreloadConfig() 135 TIMx->CR &= ~TIM_CR_ARPE; in RTIM_ARRPreloadConfig() 157 TIMx->CR |= TIM_CR_URS; in RTIM_UpdateRequestConfig() 182 TIMx->PSC = Prescaler; in RTIM_PrescalerConfig() 224 TIMx->CR &= ~TIM_CR_ARPE; in RTIM_ChangePeriodImmediate() 227 TIMx->ARR = Autoreload; in RTIM_ChangePeriodImmediate() 258 TIMx->ARR = Autoreload; in RTIM_ChangePeriod() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/ |
A D | rtl8721d_tim.h | 508 _LONG_CALL_ void RTIM_Cmd(RTIM_TypeDef* TIMx, u32 NewState); 509 _LONG_CALL_ void RTIM_DeInit(RTIM_TypeDef* TIMx); 510 _LONG_CALL_ u32 RTIM_GetCount(RTIM_TypeDef* TIMx); 512 _LONG_CALL_ void RTIM_ARRPreloadConfig(RTIM_TypeDef* TIMx, u32 NewState); 516 _LONG_CALL_ void RTIM_ChangePeriod(RTIM_TypeDef* TIMx, u32 Autoreload); 518 _LONG_CALL_ void RTIM_Reset(RTIM_TypeDef* TIMx); 530 _LONG_CALL_ u32 RTIM_CCRxGet(RTIM_TypeDef* TIMx, u16 TIM_Channel); 543 _LONG_CALL_ void RTIM_INTClear(RTIM_TypeDef* TIMx); 545 _LONG_CALL_ u32 RTIM_GetFlagStatus(RTIM_TypeDef* TIMx, u32 TIM_FLAG); 546 _LONG_CALL_ u32 RTIM_GetINTStatus(RTIM_TypeDef* TIMx, u32 TIM_IT); [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/timer/ |
A D | timer.c | 15 RTIM_INTClear(TIMx[tid]); in csi_gtimer_timeout_handler() 42 …RTIM_TimeBaseInit(TIMx[idx], TIM_InitStruct, TIMx_irq[idx], (IRQ_FUN)csi_gtimer_timeout_handler, (… in csi_timer_init() 49 RTIM_DeInit(TIMx[tid]); in csi_timer_uninit() 62 RTIM_ChangePeriodImmediate(TIMx[tid], temp); in csi_timer_start() 63 RTIM_INTConfig(TIMx[tid], TIM_IT_Update, ENABLE); in csi_timer_start() 64 RTIM_Cmd(TIMx[tid], ENABLE); in csi_timer_start() 72 RTIM_Cmd(TIMx[tid], DISABLE); in csi_timer_stop() 82 RTIM_TypeDef* TIM = TIMx[tid]; in csi_timer_get_remaining_value() 94 RTIM_TypeDef* TIM = TIMx[tid]; in csi_timer_get_load_value() 104 RTIM_TypeDef* TIM = TIMx[tid]; in csi_timer_is_running()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/ |
A D | timer_api.c | 50 RTIM_INTClear(TIMx[tid]); in gtimer_timeout_handler() 91 …RTIM_TimeBaseInit(TIMx[tid], &TIM_InitStruct, TIMx_irq[tid], (IRQ_FUN) gtimer_timeout_handler, (u3… in gtimer_init() 105 RTIM_DeInit(TIMx[tid]); in gtimer_deinit() 119 return (RTIM_GetCount(TIMx[tid])); in gtimer_read_tick() 150 RTIM_ChangePeriodImmediate(TIMx[tid], temp); in gtimer_reload() 164 RTIM_INTConfig(TIMx[tid], TIM_IT_Update, ENABLE); in gtimer_start() 165 RTIM_Cmd(TIMx[tid], ENABLE); in gtimer_start() 221 RTIM_Cmd(TIMx[tid], DISABLE); in gtimer_stop()
|
A D | serial_api.c | 182 RTIM_Cmd(TIMx[UART_TIMER_ID], DISABLE); in uart_dmarecv_complete() 380 RTIM_INTClear(TIMx[UART_TIMER_ID]); in uart_gtimer_handle() 391 RTIM_Cmd(TIMx[UART_TIMER_ID], DISABLE); in uart_gtimer_handle() 438 RTIM_TimeBaseInit(TIMx[UART_TIMER_ID], &TIM_InitStructTmp, in uart_gtimer_init() 441 RTIM_INTConfig(TIMx[UART_TIMER_ID], TIM_IT_Update, ENABLE); in uart_gtimer_init() 450 RTIM_DeInit(TIMx[UART_TIMER_ID]); in uart_gtimer_deinit()
|
/AliOS-Things-master/hardware/chip/rtl872xd/aos/ |
A D | soc_impl.c | 37 RTIM_ChangePeriodImmediate(TIMx[0], temp); in soc_hw_timer_init() 38 RTIM_INTConfig(TIMx[0], TIM_IT_Update, ENABLE); in soc_hw_timer_init() 39 RTIM_Cmd(TIMx[0], ENABLE); in soc_hw_timer_init() 46 RTIM_TypeDef *TIM = TIMx[0]; in soc_hr_hw_cnt_get() 56 RTIM_TypeDef *TIM = TIMx[0]; in soc_lr_hw_cnt_get()
|
/AliOS-Things-master/hardware/chip/rtl872xd/script/ |
A D | export-rom_symbol_v01.txt | 1321 TIMx = 0x473dc;
|
Completed in 13 milliseconds