Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
+ Collaboration diagram for Data Types:

Data Structures

struct  BUCK_CONVERTER_STATUS_s
 Generic power controller status word. More...
 
struct  BUCK_STATE_ID_s
 data structure for the buck statement ID for sub-operating and operating states More...
 
struct  BUCK_STARTUP_PERIOD_HANDLER_s
 Generic power controller startup period settings. More...
 
struct  BUCK_CONVERTER_STARTUP_s
 Power Converter Startup Timing Settings. More...
 
struct  BUCK_CONVERTER_DATA_s
 Publicly accessible data buffer of most recent runtime data values. More...
 
struct  BUCK_CONVERTER_SETTINGS_s
 Generic power controller control settings. More...
 
struct  BUCK_LOOP_SETTINGS_s
 User defined settings for control loops;. More...
 
struct  BUCK_SWITCH_NODE_SETTINGS_s
 Switching signal timing settings. More...
 
struct  BUCK_ADC_INPUT_SCALING_s
 ADC input signal scaling = (ADCBUF - <offset>) * <factor> >> 2^<scaler> More...
 
struct  BUCK_ADC_INPUT_SETTINGS_s
 ADC input channel configuration. More...
 
struct  BUCK_FEEDBACK_SETTINGS_s
 Buck converter feedback declarations. More...
 
struct  BUCK_GPIO_INSTANCE_s
 GPIO instance of the converter control GPIO. More...
 
struct  BUCK_GPIO_SETTINGS_s
 GPIO instance of the converter control GPIO. More...
 

Enumerations

enum  BUCK_STATUS_FLAGS_e {
  BUCK_STAT_READY = 0b0000000000000001, BUCK_STAT_ADC_ACTIVE = 0b0000000000000010, BUCK_STAT_PWM_ACTIVE = 0b0000000000000100, BUCK_STAT_POWERSOURCE_DETECTED = 0b0000000000001000, BUCK_STAT_CS_SENSE_READY = 0b0000000000010000, BUCK_STAT_FORCED_SHUT_DOWN = 0b0000000010000000, BUCK_STAT_BUSY = 0b0000000100000000, BUCK_STAT_GO = 0b0010000000000000, BUCK_STAT_AUTORUN = 0b0100000000000000, BUCK_STAT_NO_AUTORUN = 0b0000000000000000,
  BUCK_STAT_ENABLED = 0b1000000000000000, BUCK_STAT_DISABLED = 0b0000000000000000
}
 Enumeration of status and control flags. More...
 
enum  BUCK_OPSTATES_e { BUCK_OPSTATE_ERROR = 0x00, BUCK_OPSTATE_INITIALIZE = 0x01, BUCK_OPSTATE_RESET = 0x02, BUCK_OPSTATE_STANDBY = 0x03, BUCK_OPSTATE_RAMPUP = 0x04, BUCK_OPSTATE_ONLINE = 0x05 }
 Enumeration of state machine operating states. More...
 
enum  BUCK_SUBSTATES_e { BUCK_OPSTATE_POWER_ON_DELAY = 0x00, BUCK_OPSTATE_PREPARE_V_RAMP = 0x01, BUCK_OPSTATE_V_RAMP_UP = 0x02, BUCK_OPSTATE_I_RAMP_UP = 0x03, BUCK_OPSTATE_PWRGOOD_DELAY = 0x04 }
 Enumeration of state machine operating sub-states. More...
 
enum  BUCK_OPSTATE_RETURNS_e { BUCK_OPSRET_ERROR = 0x0000, BUCK_OPSRET_COMPLETE = 0x0001, BUCK_OPSRET_REPEAT = 0x0002 }
 Enumeration of state machine operating state return values. More...
 
enum  BUCK_CONTROL_MODE_e { BUCK_CONTROL_MODE_VMC = 0, BUCK_CONTROL_MODE_ACMC = 2 }
 Enumeration of the power supply mode control. More...
 

Detailed Description

Enumeration Type Documentation

◆ BUCK_CONTROL_MODE_e

Enumeration of the power supply mode control.

Definition at line 151 of file dev_buck_typedef.h.

◆ BUCK_OPSTATE_RETURNS_e

Enumeration of state machine operating state return values.

Definition at line 135 of file dev_buck_typedef.h.

◆ BUCK_OPSTATES_e

Enumeration of state machine operating states.

Definition at line 99 of file dev_buck_typedef.h.

◆ BUCK_STATUS_FLAGS_e

Enumeration of status and control flags.

Definition at line 71 of file dev_buck_typedef.h.

◆ BUCK_SUBSTATES_e

Enumeration of state machine operating sub-states.

Definition at line 118 of file dev_buck_typedef.h.