Home
last modified time | relevance | path

Searched refs:u32IntSource (Results 1 – 4 of 4) sorted by relevance

/hal_nuvoton-latest/m48x/StdDriver/src/
Dtimer_pwm.c271 void TPWM_EnableFaultBrakeInt(TIMER_T *timer, uint32_t u32IntSource) in TPWM_EnableFaultBrakeInt() argument
273 timer->PWMINTEN1 |= u32IntSource; in TPWM_EnableFaultBrakeInt()
289 void TPWM_DisableFaultBrakeInt(TIMER_T *timer, uint32_t u32IntSource) in TPWM_DisableFaultBrakeInt() argument
291 timer->PWMINTEN1 &= ~u32IntSource; in TPWM_DisableFaultBrakeInt()
308 uint32_t TPWM_GetFaultBrakeIntFlag(TIMER_T *timer, uint32_t u32IntSource) in TPWM_GetFaultBrakeIntFlag() argument
310 return ((timer->PWMINTSTS1 & (0x3UL << u32IntSource))? 1UL : 0UL); in TPWM_GetFaultBrakeIntFlag()
326 void TPWM_ClearFaultBrakeIntFlag(TIMER_T *timer, uint32_t u32IntSource) in TPWM_ClearFaultBrakeIntFlag() argument
328 timer->PWMINTSTS1 = (0x3UL << u32IntSource); in TPWM_ClearFaultBrakeIntFlag()
/hal_nuvoton-latest/m46x/StdDriver/src/
Dtimer_pwm.c272 void TPWM_EnableFaultBrakeInt(TIMER_T *timer, uint32_t u32IntSource) in TPWM_EnableFaultBrakeInt() argument
274 timer->PWMINTEN1 |= u32IntSource; in TPWM_EnableFaultBrakeInt()
290 void TPWM_DisableFaultBrakeInt(TIMER_T *timer, uint32_t u32IntSource) in TPWM_DisableFaultBrakeInt() argument
292 timer->PWMINTEN1 &= ~u32IntSource; in TPWM_DisableFaultBrakeInt()
309 uint32_t TPWM_GetFaultBrakeIntFlag(TIMER_T *timer, uint32_t u32IntSource) in TPWM_GetFaultBrakeIntFlag() argument
311 return ((timer->PWMINTSTS1 & (0x3UL << u32IntSource))? 1UL : 0UL); in TPWM_GetFaultBrakeIntFlag()
327 void TPWM_ClearFaultBrakeIntFlag(TIMER_T *timer, uint32_t u32IntSource) in TPWM_ClearFaultBrakeIntFlag() argument
329 timer->PWMINTSTS1 = (0x3UL << u32IntSource); in TPWM_ClearFaultBrakeIntFlag()
/hal_nuvoton-latest/m48x/StdDriver/inc/
Dtimer_pwm.h724 void TPWM_EnableFaultBrakeInt(TIMER_T *timer, uint32_t u32IntSource);
725 void TPWM_DisableFaultBrakeInt(TIMER_T *timer, uint32_t u32IntSource);
726 uint32_t TPWM_GetFaultBrakeIntFlag(TIMER_T *timer, uint32_t u32IntSource);
727 void TPWM_ClearFaultBrakeIntFlag(TIMER_T *timer, uint32_t u32IntSource);
/hal_nuvoton-latest/m46x/StdDriver/inc/
Dtimer_pwm.h750 void TPWM_EnableFaultBrakeInt(TIMER_T *timer, uint32_t u32IntSource);
751 void TPWM_DisableFaultBrakeInt(TIMER_T *timer, uint32_t u32IntSource);
752 uint32_t TPWM_GetFaultBrakeIntFlag(TIMER_T *timer, uint32_t u32IntSource);
753 void TPWM_ClearFaultBrakeIntFlag(TIMER_T *timer, uint32_t u32IntSource);