| Digital Power Starter Kit 3 Firmware dsPIC33C Boost Converter Voltage Mode Control Example |

dev_boost_converter.h
1
33 /*
34 * File: dev_boost_converter.h
35 * Author: M91406
36 * Comments: power controller functions for boost converter
37 * Revision history:
38 * 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 BOOST_CONVERTER_STATE_MACHINE_H
44 #define BOOST_CONVERTER_STATE_MACHINE_H
45
46 #include <xc.h> // include processor files - each processor file is guarded.
47 #include <stdint.h> // include standard integer types header file
48 #include <stdbool.h> // include standard boolean types header file
49
50 #include "dev_boost_typedef.h"
51
52 // ==============================================================================================
53 // BOOST CONVERTER PUBLIC API FUNCTION CALL PROTOTYPES
54 // ==============================================================================================
55
56 extern volatile uint16_t drv_BoostConverter_Initialize(volatile BOOST_POWER_CONTROLLER_t* boostInstance);
57 extern volatile uint16_t drv_BoostConverter_Execute(volatile BOOST_POWER_CONTROLLER_t* boostInstance);
58 extern volatile uint16_t drv_BoostConverter_Start(volatile BOOST_POWER_CONTROLLER_t* boostInstance);
59 extern volatile uint16_t drv_BoostConverter_Stop(volatile BOOST_POWER_CONTROLLER_t* boostInstance);
60 extern volatile uint16_t drv_BoostConverter_Suspend(volatile BOOST_POWER_CONTROLLER_t* boostInstance);
61 extern volatile uint16_t drv_BoostConverter_Resume(volatile BOOST_POWER_CONTROLLER_t* boostInstance);
62
63 #endif /* BOOST_CONVERTER_STATE_MACHINE_H */
64
65 // END OF FILE
BOOST_CONVERTER_s
BOOST control & monitoring data structure.
Definition: dev_boost_typedef.h:527