Variables of the buck converter state machine. More...
Variables | |
volatile uint16_t(* | BuckConverterStateMachine [])(volatile struct BUCK_CONVERTER_s *buckInstance) |
Buck converter state machine function pointer array. More... | |
volatile uint16_t | BuckStateList_size = (sizeof(BuckConverterStateMachine)/sizeof(BuckConverterStateMachine[0])) |
Buck converter state machine function pointer array size More... | |
volatile uint16_t(* | BuckConverterRampUpSubStateMachine [])(volatile struct BUCK_CONVERTER_s *buckInstance) |
Buck converter state machine function pointer array. More... | |
volatile uint16_t | BuckRampUpSubStateList_size = (sizeof(BuckConverterRampUpSubStateMachine)/sizeof(BuckConverterRampUpSubStateMachine[0])) |
Buck converter sub-state machine function pointer array size. More... | |
Variables of the buck converter state machine.
|
extern |
Buck converter state machine function pointer array.
Function pointer array of buck converter startup sub-states.
The function pointer list BuckConverterRampUpSubStateMachine[] is providing access to a list of state functions. Each function mapped into this array as function pointer represents a self-contained, independent sub-state. The main state machine will call functions from this list in order of their index within the array, starting from '0'. While this list is executed, the calling main state is transparent by passing through the return value of the most recent sub-state. Once all sub-states have been executed, the calling main state will return the COMPLETE flag, allowing the main state machine to move on.
Each function needs to be called by handing over a parameter of type
Each function returns of type unsigned integer:
|
extern |
Buck converter state machine function pointer array.
Function pointer array defining the state machine execution sequence
The function pointer list BuckConverterStateMachine[] is providing access to a list of state functions. Each function mapped into this array as function pointer represents a self-contained, independent sub-state. The main state machine will call functions from this list in order of their index within the array, starting from '0'. While this list is executed, the calling main state is transparent by passing through the return value of the most recent sub-state. Once all sub-states have been executed, the calling main state will return the COMPLETE flag, allowing the main state machine to move on.
Each function needs to be called by handing over a parameter of type
Each function returns of type unsigned integer:
volatile uint16_t BuckRampUpSubStateList_size = (sizeof(BuckConverterRampUpSubStateMachine)/sizeof(BuckConverterRampUpSubStateMachine[0])) |
Buck converter sub-state machine function pointer array size.
Buck converter state machine function pointer array size.
Definition at line 35 of file dev_buck_substates.c.
volatile uint16_t BuckStateList_size = (sizeof(BuckConverterStateMachine)/sizeof(BuckConverterStateMachine[0])) |
Buck converter state machine function pointer array size
Buck converter state machine function pointer array size.
Definition at line 39 of file dev_buck_opstates.c.