|
Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
|
|
9 #include "dev_buck_ptemp_pwm.h"
19 .vFSCL.value = 0x0000,
20 .vFSMINPER.value = 0x0000,
21 .vMPHASE.value = 0x0000,
23 .vMPER.value = 0x0000,
24 .vLFSR.value = 0x0000,
51 .PGxSTAT.value = 0x0000,
66 .PGxPHASE.value = 0x0000,
67 .PGxDC.value = 0x0000,
68 .PGxDCA.value = 0x0000,
69 .PGxPER.value = 0x0000,
70 .PGxTRIGA.value = 0x0000,
71 .PGxTRIGB.value = 0x0000,
72 .PGxTRIGC.value = 0x0000,
73 .PGxDTL.value = 0x0000,
74 .PGxDTH.value = 0x0000,
75 .PGxCAP.value = 0x0000
#define REG_LOGCONB
LOGCONB: COMBINATORIAL PWM LOGIC CONTROL REGISTER B.
#define REG_LOGCOND
LOGCOND: COMBINATORIAL PWM LOGIC CONTROL REGISTER D.
#define REG_PGxFPCIL
PGxFPCIL: PWM GENERATOR FAULT PCI REGISTER LOW.
#define REG_PWMEVTD
PWMEVTD: PWM EVENT OUTPUT CONTROL REGISTER D.
#define REG_LOGCONF
LOGCONF: COMBINATORIAL PWM LOGIC CONTROL REGISTER F.
#define REG_PGxIOCONL
PGxIOCONL: PWM GENERATOR x I/O CONTROL REGISTER LOW.
#define REG_PGxLEBH
PGxLEBH: PWM GENERATOR x LEADING-EDGE BLANKING REGISTER HIGH.
#define REG_PWMEVTB
PWMEVTB: PWM EVENT OUTPUT CONTROL REGISTER B.
#define REG_LOGCONC
LOGCONC: COMBINATORIAL PWM LOGIC CONTROL REGISTER C.
union P33C_PWM_MODULE_s::@0 vPCLKCON
#define REG_CMBTRIGH
CMBTRIGH: COMBINATIONAL TRIGGER REGISTER HIGH.
#define REG_PGxSPCIH
PGxSPCIH: PWM GENERATOR SOFTWARE PCI REGISTER LOW.
#define REG_CMBTRIGL
CMBTRIGL: COMBINATIONAL TRIGGER REGISTER LOW.
#define REG_PGxLEBL
PGxLEBL: PWM GENERATOR x LEADING-EDGE BLANKING REGISTER LOW.
#define REG_PGxFFPCIH
PGxFFPCIH: PWM GENERATOR FEED FORWARD PCI REGISTER LOW.
#define REG_PWMEVTF
PWMEVTF: PWM EVENT OUTPUT CONTROL REGISTER F.
#define REG_PCLKCON
PCLKCON: PWM CLOCK CONTROL REGISTER.
#define REG_PWMEVTC
PWMEVTC: PWM EVENT OUTPUT CONTROL REGISTER C.
#define REG_PWMEVTA
PWMEVTA: PWM EVENT OUTPUT CONTROL REGISTER A.
#define REG_PGxFFPCIL
PGxFFPCIL: PWM GENERATOR FEED FORWARD PCI REGISTER LOW.
#define REG_LOGCONA
LOGCONA: COMBINATORIAL PWM LOGIC CONTROL REGISTER A.
#define REG_PGxCONH
PGxCONH: PWM GENERATOR x CONTROL REGISTER LOW.
#define REG_PWMEVTE
PWMEVTE: PWM EVENT OUTPUT CONTROL REGISTER E.
#define REG_PGxCONL
PGxCONL: PWM GENERATOR x CONTROL REGISTER LOW.
volatile struct P33C_PWM_GENERATOR_s buckPwmGeneratorConfig
PWM generator default configuration.
volatile struct P33C_PWM_MODULE_s buckPwmModuleConfig
PWM module default configuration.
#define REG_PGxIOCONH
PGxIOCONH: PWM GENERATOR x I/O CONTROL REGISTER LOW.
#define REG_PGxEVTH
PGxEVTH: PWM GENERATOR x EVENT REGISTER LOW.
#define REG_PGxCLPCIH
PGxCLPCIH: PWM GENERATOR CURRENT LIMIT PCI REGISTER HIGH.
#define REG_LOGCONE
LOGCONE: COMBINATORIAL PWM LOGIC CONTROL REGISTER E.
union P33C_PWM_GENERATOR_s::@54 PGxCONL
#define REG_PGxFPCIH
PGxFPCIH: PWM GENERATOR FAULT PCI REGISTER HIGH.
#define REG_PGxSPCIL
PGxSPCIL: PWM GENERATOR SOFTWARE PCI REGISTER LOW.
#define REG_PGxEVTL
PGxEVTL: PWM GENERATOR x EVENT REGISTER LOW.
#define REG_PGxCLPCIL
PGxCLPCIL: PWM GENERATOR CURRENT LIMIT PCI REGISTER LOW.