![]() |
NUC472_NUC442_BSP V3.03.005
The Board Support Package for NUC472/NUC442
|
NUC472/NUC442 EPWM driver source file. More...
#include "NUC472_442.h"
Go to the source code of this file.
Functions | |
uint32_t | EPWM_ConfigOutputChannel (EPWM_T *pwm, uint32_t u32ChannelNum, uint32_t u32Frequency, uint32_t u32DutyCycle) |
This function config PWM generator and get the nearest frequency in edge aligned auto-reload mode. More... | |
void | EPWM_Start (EPWM_T *pwm, uint32_t u32ChannelMask) |
This function start PWM module. More... | |
void | EPWM_Stop (EPWM_T *pwm, uint32_t u32ChannelMask) |
This function stop PWM module. More... | |
void | EPWM_ForceStop (EPWM_T *pwm, uint32_t u32ChannelMask) |
This function stop PWM generation immediately by clear channel enable bit. More... | |
void | EPWM_EnableFaultBrake (EPWM_T *pwm, uint32_t u32ChannelMask, uint32_t u32LevelMask, uint32_t u32BrakeSource) |
This function enable fault brake of selected channels. More... | |
void | EPWM_ClearFaultBrakeFlag (EPWM_T *pwm, uint32_t u32BrakeSource) |
This function clear fault brake flag. More... | |
void | EPWM_EnableOutput (EPWM_T *pwm, uint32_t u32ChannelMask) |
This function enables PWM output generation of selected channels. More... | |
void | EPWM_DisableOutput (EPWM_T *pwm, uint32_t u32ChannelMask) |
This function disables PWM output generation of selected channels. More... | |
void | EPWM_EnableDeadZone (EPWM_T *pwm, uint32_t u32ChannelNum, uint32_t u32Duration) |
This function enable Dead zone of selected channel. More... | |
void | EPWM_DisableDeadZone (EPWM_T *pwm, uint32_t u32ChannelNum) |
This function disable Dead zone of selected channel. More... | |
void | EPWM_EnableDutyInt (EPWM_T *pwm, uint32_t u32ChannelNum, uint32_t u32IntDutyType) |
This function enable duty interrupt of selected channel. More... | |
void | EPWM_DisableDutyInt (EPWM_T *pwm, uint32_t u32ChannelNum) |
This function disable duty interrupt of selected channel. More... | |
void | EPWM_ClearDutyIntFlag (EPWM_T *pwm, uint32_t u32ChannelNum) |
This function clears duty interrupt flag of selected channel. More... | |
uint32_t | EPWM_GetDutyIntFlag (EPWM_T *pwm, uint32_t u32ChannelNum) |
This function get duty interrupt flag of selected channel. More... | |
void | EPWM_EnableFaultBrakeInt (EPWM_T *pwm, uint32_t u32BrakeSource) |
This function enable fault brake interrupt. More... | |
void | EPWM_DisableFaultBrakeInt (EPWM_T *pwm, uint32_t u32BrakeSource) |
This function disable fault brake interrupt. More... | |
void | EPWM_ClearFaultBrakeIntFlag (EPWM_T *pwm, uint32_t u32BrakeSource) |
This function clear fault brake interrupt of selected source. More... | |
uint32_t | EPWM_GetFaultBrakeIntFlag (EPWM_T *pwm, uint32_t u32BrakeSource) |
This function get fault brake interrupt of selected source. More... | |
void | EPWM_EnablePeriodInt (EPWM_T *pwm, uint32_t u32ChannelNum, uint32_t u32IntPeriodType) |
This function enable period interrupt of selected channel. More... | |
void | EPWM_DisablePeriodInt (EPWM_T *pwm, uint32_t u32ChannelNum) |
This function disable period interrupt of selected channel. More... | |
void | EPWM_ClearPeriodIntFlag (EPWM_T *pwm, uint32_t u32ChannelNum) |
This function clear period interrupt of selected channel. More... | |
uint32_t | EPWM_GetPeriodIntFlag (EPWM_T *pwm, uint32_t u32ChannelNum) |
This function get period interrupt of selected channel. More... | |
NUC472/NUC442 EPWM driver source file.
Definition in file epwm.c.