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

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

+ Collaboration diagram for Boost Converter:
#define _BOOST_VIN_ADCInterrupt   _ADCAN12Interrupt
 ADC input assignments of input voltage feedback signals. More...
 
#define _BOOST_VIN_ADCISR_IF   _ADCAN12IF
 ADC interrupt flag bit of the input voltage feedback channel. More...
 
#define BOOST_VIN_ANSEL   _ANSELC0
 GPIO analog function mode enable bit. More...
 
#define BOOST_VIN_ADCCORE   8
 0=Dedicated Core #0, 1=Dedicated Core #1, 8=Shared ADC Core More...
 
#define BOOST_VIN_ADCIN   12
 Analog input number (e.g. '5' for 'AN5') More...
 
#define BOOST_VIN_ADCBUF   ADCBUF12
 ADC input buffer of this ADC channel. More...
 
#define BOOST_VIN_ADCTRIG   PG2TRIGB
 Register used for trigger placement. More...
 
#define BOOST_VIN_TRGSRC   BOOST_PWM_TRGSRC_TRG2
 PWM2 (=PG2) Trigger 2 via PGxTRIGB. More...
 

Detailed Description

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

Macro Definition Documentation

◆ _BOOST_VIN_ADCInterrupt

#define _BOOST_VIN_ADCInterrupt   _ADCAN12Interrupt

ADC input assignments of input 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.ADC interrupt service routine function call of the input voltage feedback channel

Definition at line 1036 of file dpsk3_hwdescr.h.

◆ _BOOST_VIN_ADCISR_IF

#define _BOOST_VIN_ADCISR_IF   _ADCAN12IF

ADC interrupt flag bit of the input voltage feedback channel.

Definition at line 1037 of file dpsk3_hwdescr.h.

◆ BOOST_VIN_ADCBUF

#define BOOST_VIN_ADCBUF   ADCBUF12

ADC input buffer of this ADC channel.

Definition at line 1042 of file dpsk3_hwdescr.h.

◆ BOOST_VIN_ADCCORE

#define BOOST_VIN_ADCCORE   8

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

Definition at line 1040 of file dpsk3_hwdescr.h.

◆ BOOST_VIN_ADCIN

#define BOOST_VIN_ADCIN   12

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

Definition at line 1041 of file dpsk3_hwdescr.h.

◆ BOOST_VIN_ADCTRIG

#define BOOST_VIN_ADCTRIG   PG2TRIGB

Register used for trigger placement.

Definition at line 1043 of file dpsk3_hwdescr.h.

◆ BOOST_VIN_ANSEL

#define BOOST_VIN_ANSEL   _ANSELC0

GPIO analog function mode enable bit.

Definition at line 1039 of file dpsk3_hwdescr.h.

◆ BOOST_VIN_TRGSRC

#define BOOST_VIN_TRGSRC   BOOST_PWM_TRGSRC_TRG2

PWM2 (=PG2) Trigger 2 via PGxTRIGB.

Definition at line 1044 of file dpsk3_hwdescr.h.