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

Device analog output pin, register and interrupt vector assignments of output voltage feedback signal(s) of the boost converter. More...

+ Collaboration diagram for Boost Converter:
#define BOOST_VOUT_ANSEL   _ANSELD10
 ADC input assignments of output voltage feedback signals. More...
 
#define BOOST_VOUT_ADCCORE   8
 0=Dedicated Core #0, 1=Dedicated Core #1, 8=Shared ADC Core More...
 
#define BOOST_VOUT_ADCIN   18
 Analog input number (e.g. '5' for 'AN5') More...
 
#define BOOST_VOUT_ADCBUF   ADCBUF18
 ADC input buffer of this ADC channel. More...
 
#define BOOST_VOUT_ADCTRIG   PG2TRIGA
 Register used for trigger placement. More...
 
#define BOOST_VOUT_TRGSRC   BOOST_PWM_TRGSRC_TRG1
 PWM2 (=PG2) Trigger 1 via PGxTRIGA. More...
 

Detailed Description

Device analog output pin, register and interrupt vector assignments of output voltage feedback signal(s) of the boost converter.

Macro Definition Documentation

◆ BOOST_VOUT_ADCBUF

#define BOOST_VOUT_ADCBUF   ADCBUF18

ADC input buffer of this ADC channel.

Definition at line 1125 of file dpsk3_hwdescr.h.

◆ BOOST_VOUT_ADCCORE

#define BOOST_VOUT_ADCCORE   8

0=Dedicated Core #0, 1=Dedicated Core #1, 8=Shared ADC Core

Definition at line 1123 of file dpsk3_hwdescr.h.

◆ BOOST_VOUT_ADCIN

#define BOOST_VOUT_ADCIN   18

Analog input number (e.g. '5' for 'AN5')

Definition at line 1124 of file dpsk3_hwdescr.h.

◆ BOOST_VOUT_ADCTRIG

#define BOOST_VOUT_ADCTRIG   PG2TRIGA

Register used for trigger placement.

Definition at line 1126 of file dpsk3_hwdescr.h.

◆ BOOST_VOUT_ANSEL

#define BOOST_VOUT_ANSEL   _ANSELD10

ADC input assignments of output voltage feedback signals.

In this section the ADC input channels, related ADC result buffers, trigger sources and interrupt vectors are defined. These settings allow the fast re-assignments of feedback signals in case of hardware changes.GPIO analog function mode enable bit

Definition at line 1122 of file dpsk3_hwdescr.h.

◆ BOOST_VOUT_TRGSRC

#define BOOST_VOUT_TRGSRC   BOOST_PWM_TRGSRC_TRG1

PWM2 (=PG2) Trigger 1 via PGxTRIGA.

Definition at line 1127 of file dpsk3_hwdescr.h.