Home
last modified time | relevance | path

Searched refs:u32BrakeSource (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Depwm.c395 …leFaultBrake(EPWM_T *epwm, uint32_t u32ChannelMask, uint32_t u32LevelMask, uint32_t u32BrakeSource) in EPWM_EnableFaultBrake() argument
403 … if((u32BrakeSource == EPWM_FB_EDGE_SYS_CSS) || (u32BrakeSource == EPWM_FB_EDGE_SYS_BOD) || \ in EPWM_EnableFaultBrake()
404 … (u32BrakeSource == EPWM_FB_EDGE_SYS_RAM) || (u32BrakeSource == EPWM_FB_EDGE_SYS_COR) || \ in EPWM_EnableFaultBrake()
405 … (u32BrakeSource == EPWM_FB_LEVEL_SYS_CSS) || (u32BrakeSource == EPWM_FB_LEVEL_SYS_BOD) || \ in EPWM_EnableFaultBrake()
406 … (u32BrakeSource == EPWM_FB_LEVEL_SYS_RAM) || (u32BrakeSource == EPWM_FB_LEVEL_SYS_COR)) in EPWM_EnableFaultBrake()
408 …(epwm)->BRKCTL[i >> 1] |= (u32BrakeSource & (EPWM_BRKCTL0_1_SYSEBEN_Msk | EPWM_BRKCTL0_1_SYSLBEN_M… in EPWM_EnableFaultBrake()
409 (epwm)->FAILBRK |= (u32BrakeSource & 0xFUL); in EPWM_EnableFaultBrake()
413 (epwm)->BRKCTL[i >> 1] |= u32BrakeSource; in EPWM_EnableFaultBrake()
728 void EPWM_EnableFaultBrakeInt(EPWM_T *epwm, uint32_t u32BrakeSource) in EPWM_EnableFaultBrakeInt() argument
730 (epwm)->INTEN1 |= (0x7UL << u32BrakeSource); in EPWM_EnableFaultBrakeInt()
[all …]
Dtimer_pwm.c252 …ableFaultBrake(TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32BrakeSource) in TPWM_EnableFaultBrake() argument
254 timer->PWMFAILBRK |= ((u32BrakeSource >> 16) & 0xFUL); in TPWM_EnableFaultBrake()
256 …(u32BrakeSource & 0xFFFFUL) | (u32CH0Level << TIMER_PWMBRKCTL_BRKAEVEN_Pos) | (u32CH1Level << TIME… in TPWM_EnableFaultBrake()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Depwm.c450 …leFaultBrake(EPWM_T *epwm, uint32_t u32ChannelMask, uint32_t u32LevelMask, uint32_t u32BrakeSource) in EPWM_EnableFaultBrake() argument
458 … if((u32BrakeSource == EPWM_FB_EDGE_SYS_CSS) || (u32BrakeSource == EPWM_FB_EDGE_SYS_BOD) || \ in EPWM_EnableFaultBrake()
459 … (u32BrakeSource == EPWM_FB_EDGE_SYS_RAM) || (u32BrakeSource == EPWM_FB_EDGE_SYS_COR) || \ in EPWM_EnableFaultBrake()
460 … (u32BrakeSource == EPWM_FB_LEVEL_SYS_CSS) || (u32BrakeSource == EPWM_FB_LEVEL_SYS_BOD) || \ in EPWM_EnableFaultBrake()
461 … (u32BrakeSource == EPWM_FB_LEVEL_SYS_RAM) || (u32BrakeSource == EPWM_FB_LEVEL_SYS_COR)) in EPWM_EnableFaultBrake()
463 …(epwm)->BRKCTL[i >> 1] |= (u32BrakeSource & (EPWM_BRKCTL0_1_SYSEBEN_Msk | EPWM_BRKCTL0_1_SYSLBEN_M… in EPWM_EnableFaultBrake()
464 (epwm)->FAILBRK |= (u32BrakeSource & 0xFUL); in EPWM_EnableFaultBrake()
468 (epwm)->BRKCTL[i >> 1] |= u32BrakeSource; in EPWM_EnableFaultBrake()
783 void EPWM_EnableFaultBrakeInt(EPWM_T *epwm, uint32_t u32BrakeSource) in EPWM_EnableFaultBrakeInt() argument
785 (epwm)->INTEN1 |= (0x7UL << u32BrakeSource); in EPWM_EnableFaultBrakeInt()
[all …]
Dtimer_pwm.c369 …ableFaultBrake(TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32BrakeSource) in TPWM_EnableFaultBrake() argument
371 timer->PWMFAILBRK |= ((u32BrakeSource >> 16) & 0xFUL); in TPWM_EnableFaultBrake()
373 …(u32BrakeSource & 0xFFFFUL) | (u32CH0Level << TIMER_PWMBRKCTL_BRKAEVEN_Pos) | (u32CH1Level << TIME… in TPWM_EnableFaultBrake()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Depwm.h555 …eFaultBrake(EPWM_T *epwm, uint32_t u32ChannelMask, uint32_t u32LevelMask, uint32_t u32BrakeSource);
572 void EPWM_EnableFaultBrakeInt(EPWM_T *epwm, uint32_t u32BrakeSource);
573 void EPWM_DisableFaultBrakeInt(EPWM_T *epwm, uint32_t u32BrakeSource);
574 void EPWM_ClearFaultBrakeIntFlag(EPWM_T *epwm, uint32_t u32BrakeSource);
575 uint32_t EPWM_GetFaultBrakeIntFlag(EPWM_T *epwm, uint32_t u32BrakeSource);
Dtimer_pwm.h722 …bleFaultBrake(TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32BrakeSource);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Depwm.h566 …eFaultBrake(EPWM_T *epwm, uint32_t u32ChannelMask, uint32_t u32LevelMask, uint32_t u32BrakeSource);
583 void EPWM_EnableFaultBrakeInt(EPWM_T *epwm, uint32_t u32BrakeSource);
584 void EPWM_DisableFaultBrakeInt(EPWM_T *epwm, uint32_t u32BrakeSource);
585 void EPWM_ClearFaultBrakeIntFlag(EPWM_T *epwm, uint32_t u32BrakeSource);
586 uint32_t EPWM_GetFaultBrakeIntFlag(EPWM_T *epwm, uint32_t u32BrakeSource);
Dtimer_pwm.h855 …bleFaultBrake(TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32BrakeSource);