![]() |
M480 BSP
V3.05.001
The Board Support Package for M480 Series
|
M480 series BPWM driver source file. More...
#include "NuMicro.h"Go to the source code of this file.
Functions | |
| uint32_t | BPWM_ConfigCaptureChannel (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32UnitTimeNsec, uint32_t u32CaptureEdge) |
| Configure BPWM capture and get the nearest unit time. More... | |
| uint32_t | BPWM_ConfigOutputChannel (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Frequency, uint32_t u32DutyCycle) |
| This function Configure BPWM generator and get the nearest frequency in edge aligned auto-reload mode. More... | |
| void | BPWM_Start (BPWM_T *bpwm, uint32_t u32ChannelMask) |
| Start BPWM module. More... | |
| void | BPWM_Stop (BPWM_T *bpwm, uint32_t u32ChannelMask) |
| Stop BPWM module. More... | |
| void | BPWM_ForceStop (BPWM_T *bpwm, uint32_t u32ChannelMask) |
| Stop BPWM generation immediately by clear channel enable bit. More... | |
| void | BPWM_EnableADCTrigger (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
| Enable selected channel to trigger ADC. More... | |
| void | BPWM_DisableADCTrigger (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Disable selected channel to trigger ADC. More... | |
| void | BPWM_ClearADCTriggerFlag (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
| Clear selected channel trigger ADC flag. More... | |
| uint32_t | BPWM_GetADCTriggerFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Get selected channel trigger ADC flag. More... | |
| void | BPWM_EnableCapture (BPWM_T *bpwm, uint32_t u32ChannelMask) |
| Enable capture of selected channel(s) More... | |
| void | BPWM_DisableCapture (BPWM_T *bpwm, uint32_t u32ChannelMask) |
| Disable capture of selected channel(s) More... | |
| void | BPWM_EnableOutput (BPWM_T *bpwm, uint32_t u32ChannelMask) |
| Enables BPWM output generation of selected channel(s) More... | |
| void | BPWM_DisableOutput (BPWM_T *bpwm, uint32_t u32ChannelMask) |
| Disables BPWM output generation of selected channel(s) More... | |
| void | BPWM_EnableCaptureInt (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
| Enable capture interrupt of selected channel. More... | |
| void | BPWM_DisableCaptureInt (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
| Disable capture interrupt of selected channel. More... | |
| void | BPWM_ClearCaptureIntFlag (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
| Clear capture interrupt of selected channel. More... | |
| uint32_t | BPWM_GetCaptureIntFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Get capture interrupt of selected channel. More... | |
| void | BPWM_EnableDutyInt (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32IntDutyType) |
| Enable duty interrupt of selected channel. More... | |
| void | BPWM_DisableDutyInt (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Disable duty interrupt of selected channel. More... | |
| void | BPWM_ClearDutyIntFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Clear duty interrupt flag of selected channel. More... | |
| uint32_t | BPWM_GetDutyIntFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Get duty interrupt flag of selected channel. More... | |
| void | BPWM_EnablePeriodInt (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32IntPeriodType) |
| Enable period interrupt of selected channel. More... | |
| void | BPWM_DisablePeriodInt (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Disable period interrupt of selected channel. More... | |
| void | BPWM_ClearPeriodIntFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Clear period interrupt of selected channel. More... | |
| uint32_t | BPWM_GetPeriodIntFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Get period interrupt of selected channel. More... | |
| void | BPWM_EnableZeroInt (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Enable zero interrupt of selected channel. More... | |
| void | BPWM_DisableZeroInt (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Disable zero interrupt of selected channel. More... | |
| void | BPWM_ClearZeroIntFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Clear zero interrupt of selected channel. More... | |
| uint32_t | BPWM_GetZeroIntFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Get zero interrupt of selected channel. More... | |
| void | BPWM_EnableLoadMode (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32LoadMode) |
| Enable load mode of selected channel. More... | |
| void | BPWM_DisableLoadMode (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32LoadMode) |
| Disable load mode of selected channel. More... | |
| void | BPWM_SetClockSource (BPWM_T *bpwm, uint32_t u32ChannelNum, uint32_t u32ClkSrcSel) |
| Set BPWM clock source. More... | |
| uint32_t | BPWM_GetWrapAroundFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Get the time-base counter reached its maximum value flag of selected channel. More... | |
| void | BPWM_ClearWrapAroundFlag (BPWM_T *bpwm, uint32_t u32ChannelNum) |
| Clear the time-base counter reached its maximum value flag of selected channel. More... | |
M480 series BPWM driver source file.
Definition in file bpwm.c.
1.8.15