Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage 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 1573 of file dpsk3_hwdescr.h.

◆ _TEMP_ADCISR_IF

#define _TEMP_ADCISR_IF   _ADCAN2IF

Interrupt Service Routine Flag Bit.

Definition at line 1574 of file dpsk3_hwdescr.h.

◆ TEMP_ADCBUF

#define TEMP_ADCBUF   ADCBUF2

GPIO analog function mode enable bit.

Definition at line 1579 of file dpsk3_hwdescr.h.

◆ TEMP_ADCCORE

#define TEMP_ADCCORE   8

Definition at line 1577 of file dpsk3_hwdescr.h.

◆ TEMP_ADCIN

#define TEMP_ADCIN   2

Definition at line 1578 of file dpsk3_hwdescr.h.

◆ TEMP_ADCTRIG

#define TEMP_ADCTRIG   BUCK_PWM_PGxTRIGB

Register used for trigger placement.

Definition at line 1580 of file dpsk3_hwdescr.h.

◆ TEMP_ANSEL

#define TEMP_ANSEL   _ANSELB7

GPIO analog function mode enable bit.

Definition at line 1576 of file dpsk3_hwdescr.h.

◆ TEMP_TRGSRC

#define TEMP_TRGSRC   BUCK_PWM_TRGSRC_TRG2

Definition at line 1581 of file dpsk3_hwdescr.h.