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