Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
+ Collaboration diagram for Variables & Constants:

Variables

volatile struct P33C_DAC_MODULE_s buckDacModuleConfig
 DAC module default configuration. More...
 
volatile struct P33C_DAC_INSTANCE_s buckDacInstanceConfig
 DAC generator default configuration. More...
 
volatile struct P33C_PWM_MODULE_s buckPwmModuleConfig
 PWM module default configuration. More...
 
volatile struct P33C_PWM_GENERATOR_s buckPwmGeneratorConfig
 PWM generator default configuration. More...
 

Detailed Description

Variable Documentation

◆ buckDacInstanceConfig

buckDacInstanceConfig
Initial value:
=
{
.DACxCONL.value = REG_DACxCONL,
.DACxCONH.value = REG_DACxCONH,
.DACxDATL.value = 0x0000,
.DACxDATH.value = 0x0000,
.SLPxCONL.value = REG_SLPxCONL,
.SLPxCONH.value = REG_SLPxCONH,
.SLPxDAT.value = 0x0000
}

DAC generator default configuration.

Definition at line 1 of file dev_buck_ptemp_dac.c.

◆ buckDacModuleConfig

buckDacModuleConfig
Initial value:
=
{
.DacModuleCtrl1L.value = 0x0000,
.DacModuleCtrl2L.value = 0x0000,
.DacModuleCtrl2H.value = 0x0000
}

DAC module default configuration.

Definition at line 1 of file dev_buck_ptemp_dac.c.

◆ buckPwmGeneratorConfig

buckPwmGeneratorConfig
extern

PWM generator default configuration.

Definition at line 1 of file dev_buck_ptemp_pwm.c.

◆ buckPwmModuleConfig

buckPwmModuleConfig
extern

PWM module default configuration.

Definition at line 1 of file dev_buck_ptemp_pwm.c.

REG_SLPxCONH
#define REG_SLPxCONH
SLPxCONH: DACx SLOPE CONTROL REGISTER LOW.
Definition: dev_buck_ptemp_dac.h:153
REG_DACxCONL
#define REG_DACxCONL
DACxCONL: DACx CONTROL REGISTER LOW.
Definition: dev_buck_ptemp_dac.h:72
REG_SLPxCONL
#define REG_SLPxCONL
SLPxCONL: DACx SLOPE CONTROL REGISTER LOW.
Definition: dev_buck_ptemp_dac.h:127
REG_DACxCONH
#define REG_DACxCONH
DACxCONH: DACx CONTROL REGISTER LOW.
Definition: dev_buck_ptemp_dac.h:98