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

Parameter definitions using physical quantities. More...

+ Collaboration diagram for User Settings:
#define CPU_FREQUENCY   (float)100000000.0
 Fundamental microcontroller device settings. More...
 
#define ADC_REFERENCE   (float)3.300
 ADC reference voltage in [V]. More...
 
#define ADC_RESOLUTION   (float)12.0
 ADC resolution in [bit]. More...
 
#define PWM_CLOCK_HIGH_RESOLUTION   true
 Enables/disables the PWM generator high resolution mode of 250 ps versus 2 ns. More...
 
#define PWM_CLOCK_FREQUENCY   (float)500.0e+6
 PWM Clock Frequency in [Hz]. More...
 

Detailed Description

Parameter definitions using physical quantities.

Macro Definition Documentation

◆ ADC_REFERENCE

#define ADC_REFERENCE   (float)3.300

ADC reference voltage in [V].

Definition at line 100 of file dpsk3_hwdescr.h.

◆ ADC_RESOLUTION

#define ADC_RESOLUTION   (float)12.0

ADC resolution in [bit].

Definition at line 101 of file dpsk3_hwdescr.h.

◆ CPU_FREQUENCY

#define CPU_FREQUENCY   (float)100000000.0

Fundamental microcontroller device settings.

This section is used to define device specific parameters like ADC reference and resolution, main execution clock frequency and peripheral time base settings. All parameters are defined using physical quantities. CPU frequency in [Hz]

Definition at line 97 of file dpsk3_hwdescr.h.

◆ PWM_CLOCK_FREQUENCY

#define PWM_CLOCK_FREQUENCY   (float)500.0e+6

PWM Clock Frequency in [Hz].

Definition at line 109 of file dpsk3_hwdescr.h.

◆ PWM_CLOCK_HIGH_RESOLUTION

#define PWM_CLOCK_HIGH_RESOLUTION   true

Enables/disables the PWM generator high resolution mode of 250 ps versus 2 ns.

Definition at line 104 of file dpsk3_hwdescr.h.