Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dbpwm.c39 uint32_t u32Prescale = 1U, u32CNR = 0xFFFFU; in BPWM_ConfigCaptureChannel() local
89 BPWM_SET_CNR(bpwm, u32ChannelNum, u32CNR); in BPWM_ConfigCaptureChannel()
112 uint32_t u32Prescale = 1U, u32CNR = 0xFFFFU; in BPWM_ConfigOutputChannel() local
130 u32CNR = i; in BPWM_ConfigOutputChannel()
135 i = u32PWMClockSrc / (u32Prescale * u32CNR); in BPWM_ConfigOutputChannel()
144 u32CNR = u32CNR - 1U; in BPWM_ConfigOutputChannel()
145 BPWM_SET_CNR(bpwm, u32ChannelNum, u32CNR); in BPWM_ConfigOutputChannel()
146 BPWM_SET_CMR(bpwm, u32ChannelNum, u32DutyCycle * (u32CNR + 1UL) / 100UL); in BPWM_ConfigOutputChannel()
Depwm.c39 uint32_t u32Prescale = 1U, u32CNR = 0xFFFFU; in EPWM_ConfigCaptureChannel() local
88 EPWM_SET_CNR(epwm, u32ChannelNum, u32CNR); in EPWM_ConfigCaptureChannel()
111 uint32_t u32Prescale = 1U, u32CNR = 0xFFFFU; in EPWM_ConfigOutputChannel() local
129 u32CNR = i; in EPWM_ConfigOutputChannel()
134 i = u32PWMClockSrc / (u32Prescale * u32CNR); in EPWM_ConfigOutputChannel()
143 u32CNR = u32CNR - 1U; in EPWM_ConfigOutputChannel()
144 EPWM_SET_CNR(epwm, u32ChannelNum, u32CNR); in EPWM_ConfigOutputChannel()
145 EPWM_SET_CMR(epwm, u32ChannelNum, u32DutyCycle * (u32CNR + 1UL) / 100UL); in EPWM_ConfigOutputChannel()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dbpwm.c39 uint32_t u32Prescale = 1U, u32CNR = 0xFFFFU; in BPWM_ConfigCaptureChannel() local
88 BPWM_SET_CNR(bpwm, u32ChannelNum, u32CNR); in BPWM_ConfigCaptureChannel()
111 uint32_t u32Prescale = 1U, u32CNR = 0xFFFFU; in BPWM_ConfigOutputChannel() local
129 u32CNR = i; in BPWM_ConfigOutputChannel()
134 i = u32PWMClockSrc / (u32Prescale * u32CNR); in BPWM_ConfigOutputChannel()
143 u32CNR = u32CNR - 1U; in BPWM_ConfigOutputChannel()
144 BPWM_SET_CNR(bpwm, u32ChannelNum, u32CNR); in BPWM_ConfigOutputChannel()
145 BPWM_SET_CMR(bpwm, u32ChannelNum, u32DutyCycle * (u32CNR + 1UL) / 100UL); in BPWM_ConfigOutputChannel()
Depwm.c39 uint32_t u32Prescale = 1U, u32CNR = 0xFFFFU; in EPWM_ConfigCaptureChannel() local
87 EPWM_SET_CNR(epwm, u32ChannelNum, u32CNR); in EPWM_ConfigCaptureChannel()
110 uint32_t u32Prescale = 1U, u32CNR = 0xFFFFU; in EPWM_ConfigOutputChannel() local
128 u32CNR = i; in EPWM_ConfigOutputChannel()
133 i = u32PWMClockSrc / (u32Prescale * u32CNR); in EPWM_ConfigOutputChannel()
142 u32CNR = u32CNR - 1U; in EPWM_ConfigOutputChannel()
143 EPWM_SET_CNR(epwm, u32ChannelNum, u32CNR); in EPWM_ConfigOutputChannel()
144 EPWM_SET_CMR(epwm, u32ChannelNum, u32DutyCycle * (u32CNR + 1UL) / 100UL); in EPWM_ConfigOutputChannel()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dbpwm.h234 #define BPWM_SET_CNR(bpwm, u32ChannelNum, u32CNR) ((bpwm)->PERIOD = (u32CNR)) argument
Depwm.h401 #define EPWM_SET_CNR(epwm, u32ChannelNum, u32CNR) ((epwm)->PERIOD[(u32ChannelNum)] = (u32CNR)) argument
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dbpwm.h234 #define BPWM_SET_CNR(bpwm, u32ChannelNum, u32CNR) ((bpwm)->PERIOD = (u32CNR)) argument
Depwm.h410 #define EPWM_SET_CNR(epwm, u32ChannelNum, u32CNR) ((epwm)->PERIOD[(u32ChannelNum)] = (u32CNR)) argument