Contains Power Control Configuration.
More...
|
file | pwrctrl.c |
| Contains power control initialization including control loop initialization and start-up initialization, and the power control execution.
|
|
This document includes the power control initialization and execution functions.
◆ PwrCtrl_ControlLoopInitialize()
void PwrCtrl_ControlLoopInitialize |
( |
void |
| ) |
|
|
static |
- Returns
- void
This function initializes the control loop necessary to run the close loop operation of the converter.
Definition at line 141 of file pwrctrl.c.
◆ PwrCtrl_Execute()
void PwrCtrl_Execute |
( |
void |
| ) |
|
- Returns
- void
After initialization this function has to be called on a deterministic, constant time base. Each execution step, this function will call the power control state machine.
Definition at line 88 of file pwrctrl.c.
◆ PwrCtrl_Initialize()
void PwrCtrl_Initialize |
( |
void |
| ) |
|
- Returns
- void
This function initialize the power control PWM instances, settings, start-up configuration and control loop configuration.
Definition at line 45 of file pwrctrl.c.
◆ PwrCtrl_Reset()
void PwrCtrl_Reset |
( |
void |
| ) |
|
- Returns
- void
This function resets the power control properties including the PWM properties and control loop references.
Definition at line 102 of file pwrctrl.c.
◆ PwrCtrl_StartUpInitialize()
static void PwrCtrl_StartUpInitialize |
( |
void |
| ) |
|
|
static |
- Returns
- void
This function initializes the Ramp Up configuration for voltage, current and power. For each parameters that would be ramped up, pointer to the reference, reference target pointer, increment/decrement step size, delay for each increment/decremnt counter for each execution need to be defined. When the reference becomes equal to the reference targe, the rampComplete data member will be set.
Definition at line 186 of file pwrctrl.c.
◆ dab
The 'dab' data object holds all status, control and monitoring values of the POWER_CONTROL_t power controller.
Definition at line 28 of file pwrctrl.c.