Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Deadc.h470 #define EADC_ENABLE_CMP_WINDOW_MODE(eadc, u32CMP) ((eadc)->CMP[(u32CMP)] |= EADC_CMP_CMPWEN_Msk) argument
479 #define EADC_DISABLE_CMP_WINDOW_MODE(eadc, u32CMP) ((eadc)->CMP[(u32CMP)] &= ~EADC_CMP_CMPWEN_Msk) argument
490 #define EADC_ENABLE_CMP_INT(eadc, u32CMP) ((eadc)->CMP[(u32CMP)] |= EADC_CMP_ADCMPIE_Msk) argument
499 #define EADC_DISABLE_CMP_INT(eadc, u32CMP) ((eadc)->CMP[(u32CMP)] &= ~EADC_CMP_ADCMPIE_Msk) argument
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Deadc.h477 #define EADC_ENABLE_CMP_WINDOW_MODE(eadc, u32CMP) ((eadc)->CMP[(u32CMP)] |= EADC_CMP_CMPWEN_Msk) argument
486 #define EADC_DISABLE_CMP_WINDOW_MODE(eadc, u32CMP) ((eadc)->CMP[(u32CMP)] &= ~EADC_CMP_CMPWEN_Msk) argument
497 #define EADC_ENABLE_CMP_INT(eadc, u32CMP) ((eadc)->CMP[(u32CMP)] |= EADC_CMP_ADCMPIE_Msk) argument
506 #define EADC_DISABLE_CMP_INT(eadc, u32CMP) ((eadc)->CMP[(u32CMP)] &= ~EADC_CMP_ADCMPIE_Msk) argument
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dtimer_pwm.c59 uint32_t u32Prescaler = 0x1000UL, u32Period = 1UL, u32CMP; in TPWM_ConfigOutputFreqAndDuty() local
94 u32CMP = (u32DutyCycle * u32Period) / 100UL; in TPWM_ConfigOutputFreqAndDuty()
98 u32CMP = 0UL; in TPWM_ConfigOutputFreqAndDuty()
101 TPWM_SET_CMPDAT(timer, u32CMP); in TPWM_ConfigOutputFreqAndDuty()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dtimer_pwm.c126 uint32_t u32Prescaler = 0x1000UL, u32Period = 1UL, u32CMP, u32MaxCLKPSC = 0x1000UL; in TPWM_ConfigOutputFreqAndDuty() local
170 u32CMP = (u32DutyCycle * u32Period) / 100UL; in TPWM_ConfigOutputFreqAndDuty()
174 u32CMP = 0UL; in TPWM_ConfigOutputFreqAndDuty()
177 TPWM_SET_CMPDAT(timer, u32CMP); in TPWM_ConfigOutputFreqAndDuty()