Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
dev_buck_opstates.h
1 
32 /*
33  * File: dev_buck_opstates.h
34  * Author: M91406
35  * Comments: Buck converter operation states header file
36  * Revision history:
37  * 10/09/20 1.0 initial version
38  */
39 
40 // This is a guard condition so that contents of this file are not included
41 // more than once.
42 #ifndef BUCK_CONVERTER_OPERATION_STATES_H
43 #define BUCK_CONVERTER_OPERATION_STATES_H
44 
45 #include <xc.h> // include processor files - each processor file is guarded.
46 #include <stdint.h> // include standard integer data types
47 #include <stdbool.h> // include standard boolean data types
48 
49 
75 extern volatile uint16_t (*BuckConverterStateMachine[])
76  (volatile struct BUCK_CONVERTER_s *buckInstance);
77 
78 
84 extern volatile uint16_t BuckStateList_size;
85 
86 
87 #endif /* BUCK_CONVERTER_OPERATION_STATES_H */
88 
89 // END OF FILE
BuckStateList_size
volatile uint16_t BuckStateList_size
Buck converter state machine function pointer array size.
Definition: dev_buck_opstates.c:39
BuckConverterStateMachine
volatile uint16_t(* BuckConverterStateMachine[])(volatile struct BUCK_CONVERTER_s *buckInstance)
Buck converter state machine function pointer array.
BUCK_CONVERTER_s
BUCK control & monitoring data structure.
Definition: dev_buck_typedef.h:501