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

Private properties of the SDAC PRAL driver. More...

+ Collaboration diagram for Private Properties:

Variables

volatile struct P33C_DAC_MODULE_s dacModuleConfigClear
 Default RESET configuration of the DAC module base SFRs. More...
 
volatile struct P33C_DAC_MODULE_s dacModuleDefault
 Default configuration of DAC module running from 500 MHz input clock. More...
 
volatile struct P33C_DAC_INSTANCE_s dacConfigClear
 Default RESET configuration of one DAC instance channel SFRs. More...
 

Detailed Description

Private properties of the SDAC PRAL driver.

This is the detailed description of privte variables, data types, enumerations, defines and macros of the DAC PRAL driver

Variable Documentation

◆ dacConfigClear

dacConfigClear
Initial value:
= {
.DACxCONL.value = 0x0000,
.DACxCONH.value = 0x0000,
.DACxDATL.value = 0x0000,
.DACxDATH.value = 0x0000,
.SLPxCONL.value = 0x0000,
.SLPxCONH.value = 0x0000,
.SLPxDAT.value = 0x0000
}

Default RESET configuration of one DAC instance channel SFRs.

Parameters
dacConfigClearDAC instance Special Function Register (SFR) set

Default configuration of the DAC instance SFRs with all its registers being reset to their default state when the device comes out of RESET. Programmers can use this template to reset (dispose) a previously used DAC instance when it's not used anymore or to secure a known startup condition before writing individual configurations to its SFRs.

Definition at line 252 of file p33c_dac.c.

◆ dacModuleConfigClear

dacModuleConfigClear
Initial value:
= {
.DacModuleCtrl1L.value = 0x0000,
.DacModuleCtrl2L.value = 0x0000,
.DacModuleCtrl2H.value = 0x0000
}

Default RESET configuration of the DAC module base SFRs.

Default configuration of the DAC module SFRs with all its registers being reset to their default state when the device comes out of RESET. Programmers can use this template to reset (dispose) a previously used DAC module when it's not used anymore or to ensure a known startup condition before writing individual configurations to its SFRs.

Definition at line 252 of file p33c_dac.c.

◆ dacModuleDefault

dacModuleDefault
Initial value:
= {
.DacModuleCtrl1L.value = 0x0080,
.DacModuleCtrl2H.bits.SSTIME = 0x008A,
.DacModuleCtrl2L.bits.TMODTIME = 0x0055
}

Default configuration of DAC module running from 500 MHz input clock.

Default configuration of the DAC module SFRs with all its registers being reset to their default state when the device comes out of RESET. The timing settings for settling time and transition mode time of the built-in Pulse-Density Modulator ramp generator are reset to their recommended default values when operated from a 500 MHz clock input. (Please read the device data sheet for details)

Programmers can use this template to reset a previously used DAC module when it's not used anymore or to ensure a known startup condition before writing individual configurations to its SFRs.

Definition at line 252 of file p33c_dac.c.