Searched refs:u32BrakePinNum (Results 1 – 8 of 8) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
D | epwm.c | 1265 void EPWM_EnableBrakeNoiseFilter(EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32ClkCnt, uint32_… in EPWM_EnableBrakeNoiseFilter() argument 1267 … = ((epwm)->BNF & ~((EPWM_BNF_BRK0FCNT_Msk | EPWM_BNF_BRK0NFSEL_Msk) << (u32BrakePinNum << 3))) | \ in EPWM_EnableBrakeNoiseFilter() 1268 …Pos) | (u32ClkDivSel << EPWM_BNF_BRK0NFSEL_Pos) | EPWM_BNF_BRK0NFEN_Msk) << (u32BrakePinNum << 3)); in EPWM_EnableBrakeNoiseFilter() 1280 void EPWM_DisableBrakeNoiseFilter(EPWM_T *epwm, uint32_t u32BrakePinNum) in EPWM_DisableBrakeNoiseFilter() argument 1282 (epwm)->BNF &= ~(EPWM_BNF_BRK0NFEN_Msk << (u32BrakePinNum << 3)); in EPWM_DisableBrakeNoiseFilter() 1294 void EPWM_EnableBrakePinInverse(EPWM_T *epwm, uint32_t u32BrakePinNum) in EPWM_EnableBrakePinInverse() argument 1296 (epwm)->BNF |= (EPWM_BNF_BRK0PINV_Msk << (u32BrakePinNum << 3)); in EPWM_EnableBrakePinInverse() 1308 void EPWM_DisableBrakePinInverse(EPWM_T *epwm, uint32_t u32BrakePinNum) in EPWM_DisableBrakePinInverse() argument 1310 (epwm)->BNF &= ~(EPWM_BNF_BRK0PINV_Msk << (u32BrakePinNum * (uint32_t)EPWM_BNF_BRK1NFEN_Pos)); in EPWM_DisableBrakePinInverse() 1323 void EPWM_SetBrakePinSource(EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32SelAnotherModule) in EPWM_SetBrakePinSource() argument [all …]
|
D | timer_pwm.c | 440 void TPWM_SetBrakePinSource(TIMER_T *timer, uint32_t u32BrakePinNum) in TPWM_SetBrakePinSource() argument 442 …timer->PWMBNF = (((timer)->PWMBNF & ~TIMER_PWMBNF_BKPINSRC_Msk) | (u32BrakePinNum << TIMER_PWMBNF_… in TPWM_SetBrakePinSource()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | epwm.c | 1348 void EPWM_EnableBrakeNoiseFilter(EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32ClkCnt, uint32_… in EPWM_EnableBrakeNoiseFilter() argument 1350 … = ((epwm)->BNF & ~((EPWM_BNF_BRK0FCNT_Msk | EPWM_BNF_BRK0NFSEL_Msk) << (u32BrakePinNum << 3))) | \ in EPWM_EnableBrakeNoiseFilter() 1351 …Pos) | (u32ClkDivSel << EPWM_BNF_BRK0NFSEL_Pos) | EPWM_BNF_BRK0NFEN_Msk) << (u32BrakePinNum << 3)); in EPWM_EnableBrakeNoiseFilter() 1363 void EPWM_DisableBrakeNoiseFilter(EPWM_T *epwm, uint32_t u32BrakePinNum) in EPWM_DisableBrakeNoiseFilter() argument 1365 (epwm)->BNF &= ~(EPWM_BNF_BRK0NFEN_Msk << (u32BrakePinNum << 3)); in EPWM_DisableBrakeNoiseFilter() 1377 void EPWM_EnableBrakePinInverse(EPWM_T *epwm, uint32_t u32BrakePinNum) in EPWM_EnableBrakePinInverse() argument 1379 (epwm)->BNF |= (EPWM_BNF_BRK0PINV_Msk << (u32BrakePinNum << 3)); in EPWM_EnableBrakePinInverse() 1391 void EPWM_DisableBrakePinInverse(EPWM_T *epwm, uint32_t u32BrakePinNum) in EPWM_DisableBrakePinInverse() argument 1393 (epwm)->BNF &= ~(EPWM_BNF_BRK0PINV_Msk << (u32BrakePinNum * (uint32_t)EPWM_BNF_BRK1NFEN_Pos)); in EPWM_DisableBrakePinInverse() 1406 void EPWM_SetBrakePinSource(EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32SelAnotherModule) in EPWM_SetBrakePinSource() argument [all …]
|
D | timer_pwm.c | 567 void TPWM_SetBrakePinSource(TIMER_T *timer, uint32_t u32BrakePinNum) in TPWM_SetBrakePinSource() argument 569 …timer->PWMBNF = (((timer)->PWMBNF & ~TIMER_PWMBNF_BKPINSRC_Msk) | (u32BrakePinNum << TIMER_PWMBNF_… in TPWM_SetBrakePinSource()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/ |
D | epwm.h | 604 void EPWM_EnableBrakeNoiseFilter(EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32ClkCnt, uint32_… 605 void EPWM_DisableBrakeNoiseFilter(EPWM_T *epwm, uint32_t u32BrakePinNum); 606 void EPWM_EnableBrakePinInverse(EPWM_T *epwm, uint32_t u32BrakePinNum); 607 void EPWM_DisableBrakePinInverse(EPWM_T *epwm, uint32_t u32BrakePinNum); 608 void EPWM_SetBrakePinSource(EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32SelAnotherModule);
|
D | timer_pwm.h | 732 void TPWM_SetBrakePinSource(TIMER_T *timer, uint32_t u32BrakePinNum);
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/ |
D | epwm.h | 617 void EPWM_EnableBrakeNoiseFilter(EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32ClkCnt, uint32_… 618 void EPWM_DisableBrakeNoiseFilter(EPWM_T *epwm, uint32_t u32BrakePinNum); 619 void EPWM_EnableBrakePinInverse(EPWM_T *epwm, uint32_t u32BrakePinNum); 620 void EPWM_DisableBrakePinInverse(EPWM_T *epwm, uint32_t u32BrakePinNum); 621 void EPWM_SetBrakePinSource(EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32SelAnotherModule);
|
D | timer_pwm.h | 865 void TPWM_SetBrakePinSource(TIMER_T *timer, uint32_t u32BrakePinNum);
|