Public functions of the application layer of the power control task. More...
Functions | |
volatile uint16_t | appPowerSupply_Execute (void) |
This is the top-level function call triggering the most recent state machine of all associated power supply controllers. More... | |
volatile uint16_t | appPowerSupply_Initialize (void) |
Calls the application layer power controller initialization. More... | |
volatile uint16_t | appPowerSupply_Start (void) |
This function calls the buck converter device driver function starting the power supply. More... | |
volatile uint16_t | appPowerSupply_Stop (void) |
This function calls the buck converter device driver function stopping the power supply. More... | |
volatile uint16_t | appPowerSupply_Suspend (void) |
This function stops the power supply operation. More... | |
volatile uint16_t | appPowerSupply_Resume (void) |
This function resumes the power supply operation. More... | |
Public functions of the application layer of the power control task.
The power control application layer is the proprietary user code used to configure the generic power controller device driver defined in dev_buck_typedef.h. This application layer further provides a subset of function calls allowing external software functions to control and monitor the processes of the power control device driver, such as the system-wide fault monitor or communication drivers.
volatile uint16_t appPowerSupply_Execute | ( | void | ) |
This is the top-level function call triggering the most recent state machine of all associated power supply controllers.
After initialization, the proprietary user code has to call this function on a deterministic, constant time base. In each execution step this function will call the power control state machines of each supported/included power supply unit.
Definition at line 63 of file app_power_control.c.
volatile uint16_t appPowerSupply_Initialize | ( | void | ) |
Calls the application layer power controller initialization.
The power control application layer is the proprietary user code layer used to tailor the generic power converter device driver to the specific hardware of this design. The initialization routine covers three levels
Once all modules have been configured successfully, the power converter object is started with control loops and PWM outputs disabled. However, the PWM module will start triggering the ADC to allow the standby monitoring of system conditions to allow the firmware to decide if it is safe to start up the power converter.
Definition at line 133 of file app_power_control.c.
volatile uint16_t appPowerSupply_Resume | ( | void | ) |
This function resumes the power supply operation.
This function calls the buck converter device driver function recovering the power supply operation from a previously initiated shut-down.
Definition at line 233 of file app_power_control.c.
volatile uint16_t appPowerSupply_Start | ( | void | ) |
This function calls the buck converter device driver function starting the power supply.
This function exposes the Power Converter Start function of the device driver.
Definition at line 164 of file app_power_control.c.
volatile uint16_t appPowerSupply_Stop | ( | void | ) |
This function calls the buck converter device driver function stopping the power supply.
This function exposes the Power Converter Stop function of the device driver.
Definition at line 192 of file app_power_control.c.
volatile uint16_t appPowerSupply_Suspend | ( | void | ) |
This function stops the power supply operation.
The SUSPEND function stops the power supply operation but keep its state machine and data acquisition running.
Definition at line 212 of file app_power_control.c.