Digital Power Starter Kit 3 Firmware  DM330017-3, Rev.3.0
dsPIC33C Buck Converter Peak Current Mode Control Example
Microcontroller Abstraction

Device analog input pin, register and interrupt vector assignments of temperature feedback signal(s) More...

+ Collaboration diagram for Microcontroller Abstraction:
#define _TEMP_ADCInterrupt   _ADCAN2Interrupt
 ADC input assignments of temperature feedback signals. More...
 
#define _TEMP_ADCISR_IF   _ADCAN2IF
 Interrupt Service Routine Flag Bit. More...
 
#define TEMP_ANSEL   _ANSELB7
 GPIO analog function mode enable bit. More...
 
#define TEMP_ADCCORE   8
 
#define TEMP_ADCIN   2
 
#define TEMP_ADCBUF   ADCBUF2
 GPIO analog function mode enable bit. More...
 
#define TEMP_ADCTRIG   BUCK_PWM_PGxTRIGB
 Register used for trigger placement. More...
 
#define TEMP_TRGSRC   BUCK_PWM_TRGSRC_TRG2
 

Detailed Description

Device analog input pin, register and interrupt vector assignments of temperature feedback signal(s)

Macro Definition Documentation

◆ _TEMP_ADCInterrupt

#define _TEMP_ADCInterrupt   _ADCAN2Interrupt

ADC input assignments of temperature 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. Interrupt Service Routine function name

Definition at line 1667 of file dpsk3_hwdescr.h.

◆ _TEMP_ADCISR_IF

#define _TEMP_ADCISR_IF   _ADCAN2IF

Interrupt Service Routine Flag Bit.

Definition at line 1668 of file dpsk3_hwdescr.h.

◆ TEMP_ADCBUF

#define TEMP_ADCBUF   ADCBUF2

GPIO analog function mode enable bit.

Definition at line 1673 of file dpsk3_hwdescr.h.

◆ TEMP_ADCCORE

#define TEMP_ADCCORE   8

Definition at line 1671 of file dpsk3_hwdescr.h.

◆ TEMP_ADCIN

#define TEMP_ADCIN   2

Definition at line 1672 of file dpsk3_hwdescr.h.

◆ TEMP_ADCTRIG

#define TEMP_ADCTRIG   BUCK_PWM_PGxTRIGB

Register used for trigger placement.

Definition at line 1674 of file dpsk3_hwdescr.h.

◆ TEMP_ANSEL

#define TEMP_ANSEL   _ANSELB7

GPIO analog function mode enable bit.

Definition at line 1670 of file dpsk3_hwdescr.h.

◆ TEMP_TRGSRC

#define TEMP_TRGSRC   BUCK_PWM_TRGSRC_TRG2

Definition at line 1675 of file dpsk3_hwdescr.h.