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

Assignment of microcontroller device specific chip-resources to circuit functions and signals. More...

+ Collaboration diagram for Device Peripheral Assignments:
#define DAC_OUTPUT_INSTANCE   1U
 Special Function chip resources declarations. More...
 
#define DAC_BUFFER_OPA_INSTANCE   3U
 Operational amplifier instance used to buffer DAC output. More...
 
#define DAC_OUTPUT_INIT_VALUE   0U
 initial value of the Digital-To-Analog Converter debugging output More...
 
#define DACOUT_Set(x)   { DAC1DATH=x; }
 Direct SFR Write Access Macro for Digital-To-Analog Converter instance #1. More...
 
#define DACOUT_Get()   DAC1DATH
 Direct SFR Read Access Macro for Digital-To-Analog Converter instance #1. More...
 

Detailed Description

Assignment of microcontroller device specific chip-resources to circuit functions and signals.

Macro Definition Documentation

◆ DAC_BUFFER_OPA_INSTANCE

#define DAC_BUFFER_OPA_INSTANCE   3U

Operational amplifier instance used to buffer DAC output.

Definition at line 265 of file dpsk3_hwdescr.h.

◆ DAC_OUTPUT_INIT_VALUE

#define DAC_OUTPUT_INIT_VALUE   0U

initial value of the Digital-To-Analog Converter debugging output

Definition at line 266 of file dpsk3_hwdescr.h.

◆ DAC_OUTPUT_INSTANCE

#define DAC_OUTPUT_INSTANCE   1U

Special Function chip resources declarations.

Some applications may require additional chip resources, which are not supported by default library modules used in this project. For static configurations, these chip resources are initialized in function sysUserPeriperhals_Initialize during system startup. Any specific declarations required for abstracting hardware or microcontroller features is placed in this section Digital-To-Analog Converter instance used for enhanced debugging

Definition at line 264 of file dpsk3_hwdescr.h.

◆ DACOUT_Get

#define DACOUT_Get ( )    DAC1DATH

Direct SFR Read Access Macro for Digital-To-Analog Converter instance #1.

Definition at line 271 of file dpsk3_hwdescr.h.

◆ DACOUT_Set

#define DACOUT_Set (   x)    { DAC1DATH=x; }

Direct SFR Write Access Macro for Digital-To-Analog Converter instance #1.

Definition at line 270 of file dpsk3_hwdescr.h.