Contains power control state machine functions that is executed every 100us. More...
#include <xc.h>#include <stdint.h>#include <stdbool.h>#include <stddef.h>#include "pwrctrl.h"#include "pwm_hs/pwm.h"#include "config/macros.h"#include "device/device.h"#include "fault/fault.h"#include "dcdt/pwrctrl_dcdt.h"
Include dependency graph for pwrctrl_sm.c:Go to the source code of this file.
Functions | |
| static void | PCS_INIT_handler (POWER_CONTROL_t *pcInstance) |
| Executes function for initialze state machine. | |
| static void | PCS_WAIT_IF_FAULT_ACTIVE_handler (POWER_CONTROL_t *pcInstance) |
| Executes the fault handler state machine. | |
| static void | PCS_STANDBY_handler (POWER_CONTROL_t *pcInstance) |
| Executes Standby State machine. | |
| static void | PCS_SOFT_START_handler (POWER_CONTROL_t *pcInstance) |
| Executes the power control soft start state machine. | |
| static void | PCS_UP_AND_RUNNING_handler (POWER_CONTROL_t *pcInstance) |
| Executes the Online state. | |
| void | PwrCtrl_StateMachine (POWER_CONTROL_t *pcInstance) |
| Manages the power control state machine. | |
<>
Definition in file pwrctrl_sm.c.