Searched refs:TIMRx (Results 1 – 6 of 6) sorted by relevance
| /bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/ |
| A D | SWM341_timr.c | 39 …if((TIMRx == TIMR0) || (TIMRx == TIMR1) || (TIMRx == TIMR2) || (TIMRx == TIMR3) || (TIMRx == TIMR4… in TIMR_Init() 61 switch((uint32_t)TIMRx) in TIMR_Init() 142 switch((uint32_t)TIMRx) in TIMR_Start() 304 TIMRx->HALT = 1; in TIMR_Halt() 316 TIMRx->HALT = 0; in TIMR_Resume() 328 return TIMRx->VALUE; in TIMR_GetCurValue() 392 TIMRx->OCMAT = match; in TIMR_OC_Init() 510 TIMRx->OCMAT = match; in TIMR_OC_SetMatch() 522 return TIMRx->OCMAT; in TIMR_OC_GetMatch() 623 return TIMRx->ICHIGH; in TIMR_IC_GetCaptureH() [all …]
|
| A D | SWM341_timr.h | 26 void TIMR_OC_OutputEn(TIMR_TypeDef * TIMRx); 30 uint32_t TIMR_OC_GetMatch(TIMR_TypeDef * TIMRx); 32 void TIMR_OC_INTEn(TIMR_TypeDef * TIMRx); 33 void TIMR_OC_INTDis(TIMR_TypeDef * TIMRx); 34 void TIMR_OC_INTClr(TIMR_TypeDef * TIMRx); 35 uint32_t TIMR_OC_INTStat(TIMR_TypeDef * TIMRx); 39 void TIMR_IC_Start(TIMR_TypeDef * TIMRx); 41 void TIMR_IC_Stop(TIMR_TypeDef * TIMRx); 43 uint32_t TIMR_IC_GetCaptureH(TIMR_TypeDef * TIMRx); 46 void TIMR_IC_CaptureH_INTEn(TIMR_TypeDef * TIMRx); [all …]
|
| /bsp/synwit/libraries/SWM320_CSL/SWM320_StdPeriph_Driver/ |
| A D | SWM320_timr.c | 44 TIMRx->LDVAL = period; in TIMR_Init() 46 switch((uint32_t)TIMRx) in TIMR_Init() 131 switch((uint32_t)TIMRx) in TIMR_Halt() 168 switch((uint32_t)TIMRx) in TIMR_Resume() 206 TIMRx->LDVAL = period; in TIMR_SetPeriod() 218 return TIMRx->LDVAL; in TIMR_GetPeriod() 230 return TIMRx->CVAL; in TIMR_GetCurValue() 242 switch((uint32_t)TIMRx) in TIMR_INTEn() 285 switch((uint32_t)TIMRx) in TIMR_INTDis() 322 switch((uint32_t)TIMRx) in TIMR_INTClr() [all …]
|
| A D | SWM320_timr.h | 8 void TIMR_Start(TIMR_TypeDef * TIMRx); //启动定时器,从初始值开始计时/计数 9 void TIMR_Stop(TIMR_TypeDef * TIMRx); //停止定时器 10 void TIMR_Halt(TIMR_TypeDef * TIMRx); //暂停定时器,计数值保持不变 11 void TIMR_Resume(TIMR_TypeDef * TIMRx); //恢复定时器,从暂停处继续计数 13 void TIMR_SetPeriod(TIMR_TypeDef * TIMRx, uint32_t period); //设置定时/计数周期 14 uint32_t TIMR_GetPeriod(TIMR_TypeDef * TIMRx); //获取定时/计数周期 15 uint32_t TIMR_GetCurValue(TIMR_TypeDef * TIMRx); //获取当前计数值 17 void TIMR_INTEn(TIMR_TypeDef * TIMRx); //使能中断 18 void TIMR_INTDis(TIMR_TypeDef * TIMRx); //禁能中断 19 void TIMR_INTClr(TIMR_TypeDef * TIMRx); //清除中断标志 [all …]
|
| /bsp/synwit/libraries/SWM341_drivers/ |
| A D | drv_hwtimer.c | 44 .TIMRx = TIMR0, \ 54 .TIMRx = TIMR1, \ 64 .TIMRx = TIMR2, \ 74 .TIMRx = TIMR3, \ 84 .TIMRx = TIMR4, \ 94 .TIMRx = BTIMR0, \ 104 .TIMRx = BTIMR1, \ 114 .TIMRx = BTIMR2, \ 124 .TIMRx = BTIMR3, \ 134 .TIMRx = BTIMR4, \ [all …]
|
| /bsp/synwit/libraries/SWM320_drivers/ |
| A D | drv_hwtimer.c | 42 .TIMRx = TIMR0, \ 52 .TIMRx = TIMR1, \ 62 .TIMRx = TIMR2, \ 72 .TIMRx = TIMR3, \ 82 .TIMRx = TIMR4, \ 92 .TIMRx = TIMR5, \ 100 TIMR_TypeDef *TIMRx; member 185 TIMR_Stop(hwtimer_cfg->TIMRx); in swm_timer_start() 186 TIMR_Start(hwtimer_cfg->TIMRx); in swm_timer_start() 198 TIMR_Stop(hwtimer_cfg->TIMRx); in swm_timer_stop() [all …]
|
Completed in 31 milliseconds