Contains functions related to PWM properties. More...
Files | |
file | pwrctrl_pwm.c |
Contains PSFB control phase calculation between primary and secondary, and the PWM distribution. | |
file | pwrctrl_pwm.h |
Contains public functions for PWM. | |
Functions | |
void | PwrCtrl_PWM_Update () |
PWM distribution for PSFB converter. | |
void | PwrCtrl_PWM_Enable (void) |
Enable the PWM output. | |
void | PwrCtrl_PWM_Disable (void) |
Disable the PWM output. | |
void | PwrCtrl_PWM_Initialize (void) |
Initialize the PWM peripheral. | |
void | PwrCtrl_PWM_Stop_Switching (void) |
Disable the PWM output. | |
void | PwrCtrl_PWM_SetDutyCyclePrimary (uint16_t dutycycle) |
set the PWM output to particular duty cycle. | |
void | PwrCtrl_PWM_UpdateSecondaryRectifiers (void) |
set the PWM output to particular duty cycle. | |
This document includes the power control PWM distribution and other PWM functionalities relevant to the application.
void PwrCtrl_PWM_Disable | ( | void | ) |
This function disable the physical PWM output by setting the override bits of the PWM module.
Definition at line 112 of file pwrctrl_pwm.c.
void PwrCtrl_PWM_Enable | ( | void | ) |
pcInstance | Pointer to a power control data object of type POWER_CONTROL_t |
This function turn on the physical PWM outputs by clearing the output override of the PWM module.
Definition at line 53 of file pwrctrl_pwm.c.
void PwrCtrl_PWM_Initialize | ( | void | ) |
This function configures additional parameters that are not configurable using MCC graphical interface
Definition at line 149 of file pwrctrl_pwm.c.
void PwrCtrl_PWM_SetDutyCyclePrimary | ( | uint16_t | dutycycle | ) |
duty | cycle in percent |
This function disables the physical PWM output at the primary side by setting the override bits of the PWM modules PG1 and PG3.
Definition at line 258 of file pwrctrl_pwm.c.
void PwrCtrl_PWM_Stop_Switching | ( | void | ) |
This function disables the physical PWM output at the primary side by setting the override bits of the PWM modules PG1 and PG3.
Definition at line 240 of file pwrctrl_pwm.c.
void PwrCtrl_PWM_Update | ( | void | ) |
This function distributes the calculated control phase for the half bridges of the PSFB converter. PWM1 and PWM3 drives the primary half bridges and PWM2 and PWM4 drives the secondary rectifiers
Definition at line 26 of file pwrctrl_pwm.c.
void PwrCtrl_PWM_UpdateSecondaryRectifiers | ( | void | ) |
void |
This function independently controls the Secondary rectifiers by checking agains the CCM DCM conditions
Definition at line 278 of file pwrctrl_pwm.c.