Home
last modified time | relevance | path

Searched defs:bpwm (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dbpwm.c35 uint32_t BPWM_ConfigCaptureChannel(BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32UnitTimeNsec, … in BPWM_ConfigCaptureChannel()
108 uint32_t BPWM_ConfigOutputChannel(BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Frequency, uint… in BPWM_ConfigOutputChannel()
167 void BPWM_Start(BPWM_T *bpwm, uint32_t u32ChannelMask) in BPWM_Start()
183 void BPWM_Stop(BPWM_T *bpwm, uint32_t u32ChannelMask) in BPWM_Stop()
199 void BPWM_ForceStop(BPWM_T *bpwm, uint32_t u32ChannelMask) in BPWM_ForceStop()
222 void BPWM_EnableADCTrigger(BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Condition) in BPWM_EnableADCTrigger()
245 void BPWM_DisableADCTrigger(BPWM_T *bpwm, uint32_t u32ChannelNum) in BPWM_DisableADCTrigger()
267 void BPWM_ClearADCTriggerFlag(BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Condition) in BPWM_ClearADCTriggerFlag()
283 uint32_t BPWM_GetADCTriggerFlag(BPWM_T *bpwm, uint32_t u32ChannelNum) in BPWM_GetADCTriggerFlag()
298 void BPWM_EnableCapture(BPWM_T *bpwm, uint32_t u32ChannelMask) in BPWM_EnableCapture()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dbpwm.c35 uint32_t BPWM_ConfigCaptureChannel(BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32UnitTimeNsec, … in BPWM_ConfigCaptureChannel()
107 uint32_t BPWM_ConfigOutputChannel(BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Frequency, uint… in BPWM_ConfigOutputChannel()
166 void BPWM_Start(BPWM_T *bpwm, uint32_t u32ChannelMask) in BPWM_Start()
182 void BPWM_Stop(BPWM_T *bpwm, uint32_t u32ChannelMask) in BPWM_Stop()
198 void BPWM_ForceStop(BPWM_T *bpwm, uint32_t u32ChannelMask) in BPWM_ForceStop()
221 void BPWM_EnableADCTrigger(BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Condition) in BPWM_EnableADCTrigger()
244 void BPWM_DisableADCTrigger(BPWM_T *bpwm, uint32_t u32ChannelNum) in BPWM_DisableADCTrigger()
266 void BPWM_ClearADCTriggerFlag(BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Condition) in BPWM_ClearADCTriggerFlag()
282 uint32_t BPWM_GetADCTriggerFlag(BPWM_T *bpwm, uint32_t u32ChannelNum) in BPWM_GetADCTriggerFlag()
297 void BPWM_EnableCapture(BPWM_T *bpwm, uint32_t u32ChannelMask) in BPWM_EnableCapture()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dbpwm.h125 #define BPWM_ENABLE_TIMER_SYNC(bpwm, u32ChannelMask, u32SyncSrc) ((bpwm)->SSCTL = ((bpwm)->SSCTL & … argument
136 #define BPWM_DISABLE_TIMER_SYNC(bpwm, u32ChannelMask) ((bpwm)->SSCTL &= ~BPWM_SSCTL_SSEN0_Msk) argument
146 #define BPWM_TRIGGER_SYNC_START(bpwm) ((bpwm)->SSTRG = BPWM_SSTRG_CNTSEN_Msk) argument
156 #define BPWM_ENABLE_OUTPUT_INVERTER(bpwm, u32ChannelMask) ((bpwm)->POLCTL = (u32ChannelMask)) argument
165 #define BPWM_GET_CAPTURE_RISING_DATA(bpwm, u32ChannelNum) ((bpwm)->CAPDAT[(u32ChannelNum)].RCAPDAT) argument
174 #define BPWM_GET_CAPTURE_FALLING_DATA(bpwm, u32ChannelNum) ((bpwm)->CAPDAT[(u32ChannelNum)].FCAPDAT) argument
187 #define BPWM_MASK_OUTPUT(bpwm, u32ChannelMask, u32LevelMask) \ argument
201 #define BPWM_SET_PRESCALER(bpwm, u32ChannelNum, u32Prescaler) ((bpwm)->CLKPSC = (u32Prescaler)) argument
212 #define BPWM_SET_CMR(bpwm, u32ChannelNum, u32CMR) ((bpwm)->CMPDAT[(u32ChannelNum)] = (u32CMR)) argument
222 #define BPWM_GET_CMR(bpwm, u32ChannelNum) ((bpwm)->CMPDAT[(u32ChannelNum)]) argument
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dbpwm.h125 #define BPWM_ENABLE_TIMER_SYNC(bpwm, u32ChannelMask, u32SyncSrc) ((bpwm)->SSCTL = ((bpwm)->SSCTL & … argument
136 #define BPWM_DISABLE_TIMER_SYNC(bpwm, u32ChannelMask) ((bpwm)->SSCTL &= ~BPWM_SSCTL_SSEN0_Msk) argument
146 #define BPWM_TRIGGER_SYNC_START(bpwm) ((bpwm)->SSTRG = BPWM_SSTRG_CNTSEN_Msk) argument
156 #define BPWM_ENABLE_OUTPUT_INVERTER(bpwm, u32ChannelMask) ((bpwm)->POLCTL = (u32ChannelMask)) argument
165 #define BPWM_GET_CAPTURE_RISING_DATA(bpwm, u32ChannelNum) ((bpwm)->CAPDAT[(u32ChannelNum)].RCAPDAT) argument
174 #define BPWM_GET_CAPTURE_FALLING_DATA(bpwm, u32ChannelNum) ((bpwm)->CAPDAT[(u32ChannelNum)].FCAPDAT) argument
187 #define BPWM_MASK_OUTPUT(bpwm, u32ChannelMask, u32LevelMask) \ argument
201 #define BPWM_SET_PRESCALER(bpwm, u32ChannelNum, u32Prescaler) ((bpwm)->CLKPSC = (u32Prescaler)) argument
212 #define BPWM_SET_CMR(bpwm, u32ChannelNum, u32CMR) ((bpwm)->CMPDAT[(u32ChannelNum)] = (u32CMR)) argument
222 #define BPWM_GET_CMR(bpwm, u32ChannelNum) ((bpwm)->CMPDAT[(u32ChannelNum)]) argument
[all …]