![]() |
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
M480 Timer PWM Controller(Timer PWM) driver source file. More...
#include "NuMicro.h"
Go to the source code of this file.
Functions | |
void | TPWM_SetCounterClockSource (TIMER_T *timer, uint32_t u32CntClkSrc) |
Set PWM Counter Clock Source. More... | |
uint32_t | TPWM_ConfigOutputFreqAndDuty (TIMER_T *timer, uint32_t u32Frequency, uint32_t u32DutyCycle) |
Configure PWM Output Frequency and Duty Cycle. More... | |
void | TPWM_EnableDeadTime (TIMER_T *timer, uint32_t u32DTCount) |
Enable Dead-Time Function. More... | |
void | TPWM_EnableDeadTimeWithPrescale (TIMER_T *timer, uint32_t u32DTCount) |
Enable Dead-Time Function. More... | |
void | TPWM_DisableDeadTime (TIMER_T *timer) |
Disable Dead-Time Function. More... | |
void | TPWM_EnableCounter (TIMER_T *timer) |
Enable PWM Counter. More... | |
void | TPWM_DisableCounter (TIMER_T *timer) |
Disable PWM Generator. More... | |
void | TPWM_EnableTriggerADC (TIMER_T *timer, uint32_t u32Condition) |
Enable Trigger ADC. More... | |
void | TPWM_DisableTriggerADC (TIMER_T *timer) |
Disable Trigger ADC. More... | |
void | TPWM_EnableFaultBrake (TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32BrakeSource) |
Enable Fault Brake Function. More... | |
void | TPWM_EnableFaultBrakeInt (TIMER_T *timer, uint32_t u32IntSource) |
Enable Fault Brake Interrupt. More... | |
void | TPWM_DisableFaultBrakeInt (TIMER_T *timer, uint32_t u32IntSource) |
Disable Fault Brake Interrupt. More... | |
uint32_t | TPWM_GetFaultBrakeIntFlag (TIMER_T *timer, uint32_t u32IntSource) |
Indicate Fault Brake Interrupt Flag. More... | |
void | TPWM_ClearFaultBrakeIntFlag (TIMER_T *timer, uint32_t u32IntSource) |
Clear Fault Brake Interrupt Flags. More... | |
void | TPWM_SetLoadMode (TIMER_T *timer, uint32_t u32LoadMode) |
Enable load mode of selected channel. More... | |
void | TPWM_EnableBrakePinDebounce (TIMER_T *timer, uint32_t u32BrakePinSrc, uint32_t u32DebounceCnt, uint32_t u32ClkSrcSel) |
Enable brake pin noise filter function. More... | |
void | TPWM_DisableBrakePinDebounce (TIMER_T *timer) |
Disable brake pin noise filter function. More... | |
void | TPWM_EnableBrakePinInverse (TIMER_T *timer) |
Enable brake pin inverse function. More... | |
void | TPWM_DisableBrakePinInverse (TIMER_T *timer) |
Disable brake pin inverse function. More... | |
void | TPWM_SetBrakePinSource (TIMER_T *timer, uint32_t u32BrakePinNum) |
Set brake pin source. More... | |
M480 Timer PWM Controller(Timer PWM) driver source file.
SPDX-License-Identifier: Apache-2.0
Definition in file timer_pwm.c.