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

GPIO instance of the converter control GPIO. More...

#include <power_control/devices/dev_buck_typedef.h>

+ Inheritance diagram for BUCK_GPIO_INSTANCE_s:
+ Collaboration diagram for BUCK_GPIO_INSTANCE_s:

Data Fields

volatile bool enabled
 Specifies, if this IO is used or not. More...
 
volatile uint16_t port
 GPIO port instance number (0=Port RA, 0=Port RB, 0=Port RC, etc.) More...
 
volatile uint16_t pin
 GPIO port pin number. More...
 
volatile uint16_t polarity
 Output polarity, where 0=ACTIVE HIGH, 1=ACTIVE_LOW. More...
 
volatile uint16_t io_type
 Input/Output definition (0=push-pull output, 1=input, 2=open-drain output) More...
 
- Data Fields inherited from BUCK_GPIO_SETTINGS_s
volatile struct BUCK_GPIO_INSTANCE_s EnableInput
 External ENABLE input. More...
 
volatile struct BUCK_GPIO_INSTANCE_s PowerGood
 Power Good Output. More...
 
- Data Fields inherited from BUCK_CONVERTER_s
volatile struct BUCK_CONVERTER_STATUS_s status
 BUCK operation status bits. More...
 
volatile struct BUCK_STATE_ID_s state_id
 BUCK state machine operating state ID. More...
 
volatile struct BUCK_CONVERTER_STARTUP_s startup
 BUCK startup timing settings. More...
 
volatile struct BUCK_CONVERTER_SETTINGS_s set_values
 Control field for global access to references. More...
 
volatile struct BUCK_CONVERTER_DATA_s data
 BUCK runtime data. More...
 
volatile struct BUCK_FEEDBACK_SETTINGS_s feedback
 BUCK converter feedback settings. More...
 
volatile struct BUCK_SWITCH_NODE_SETTINGS_s sw_node [BUCK_MPHASE_COUNT]
 BUCK converter switch node settings. More...
 
volatile struct BUCK_GPIO_SETTINGS_s gpio
 BUCK converter additional GPIO specification. More...
 
volatile struct BUCK_LOOP_SETTINGS_s v_loop
 BUCK voltage control loop object. More...
 
volatile struct BUCK_LOOP_SETTINGS_s i_loop [BUCK_MPHASE_COUNT]
 BUCK Current control loop objects. More...
 

Detailed Description

GPIO instance of the converter control GPIO.

Generic power converter GPIO specifications.

This data structure is used to set the converter GPIO specifications declaring which if and which additional GPIOs are used by the converter controller, such as POWER_GOOD.


Definition at line 470 of file dev_buck_typedef.h.

Field Documentation

◆ enabled

volatile bool enabled

Specifies, if this IO is used or not.

Definition at line 472 of file dev_buck_typedef.h.

◆ io_type

volatile uint16_t io_type

Input/Output definition (0=push-pull output, 1=input, 2=open-drain output)

Definition at line 476 of file dev_buck_typedef.h.

◆ pin

volatile uint16_t pin

GPIO port pin number.

Definition at line 474 of file dev_buck_typedef.h.

◆ polarity

volatile uint16_t polarity

Output polarity, where 0=ACTIVE HIGH, 1=ACTIVE_LOW.

Definition at line 475 of file dev_buck_typedef.h.

◆ port

volatile uint16_t port

GPIO port instance number (0=Port RA, 0=Port RB, 0=Port RC, etc.)

Definition at line 473 of file dev_buck_typedef.h.


The documentation for this struct was generated from the following file: