|
Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
|
|
30 volatile uint16_t retval=1;
59 volatile uint16_t retval=1;
104 volatile uint16_t retval=1;
volatile uint16_t sysDacModule_Initialize(void)
DAC Module Base Register Initialization.
volatile uint16_t appLCD_Initialize(void)
Initializes the LC display.
volatile uint16_t sysDsp_Initialize(void)
Digital Signal Processor initialization.
volatile uint16_t sysUserTasks_Initialize(void)
Initializes the user-defined tasks.
volatile uint16_t sysOpAmp_ModuleEnable(void)
Enables the on-chip operational amplifier module.
volatile uint16_t appLED_Initialize(void)
Initializes the LED driving GPIO.
#define DBGPIN1_Init()
Macro instruction initializing the specified GPIO as output.
volatile uint16_t sysGpio_Initialize(void)
Resets the device input/output pins to digital inputs.
volatile uint16_t sysOpAmp_ModuleReset(void)
Resets the on-chip operational amplifier module.
volatile uint16_t sysDacOutput_Enable(volatile uint16_t dacInstance)
volatile uint16_t sysAclk_Initialize(void)
Initializes the auxiliary clock of the device.
#define DBGPIN2_Init()
Macro instruction initializing the specified GPIO as output.
volatile uint16_t appPushButton_Initialize(void)
Initializes the USER push button on DPSK3.
#define DAC_OUTPUT_INSTANCE
Special Function chip resources declarations.
volatile uint16_t sysOpAmp_Initialize(volatile uint16_t opaInstance, volatile bool disable_n_channel)
Initializes the on-chip operational amplifier module.
#define DAC_OUTPUT_INIT_VALUE
initial value of the Digital-To-Analog Converter debugging output
volatile uint16_t SYSTEM_Initialize(void)
Initializes essential chip resources.
volatile uint16_t sysUserPeriperhals_Initialize(void)
Initializes the user-defined chip resources.
#define DAC_BUFFER_OPA_INSTANCE
Operational amplifier instance used to buffer DAC output.
volatile uint16_t sysOsTimer_Initialize(void)
Initializes the timer used as time-base for the task scheduler.
volatile uint16_t sysFosc_Initialize(void)
System oscillator initialization.
#define DBGPIN2_Clear()
Macro instruction to set a pin state to logic LOW.
volatile uint16_t appPowerSupply_Initialize(void)
Calls the application layer power controller initialization.
volatile uint16_t appFaultMonitor_Initialize(void)
Initialization of user-defined fault objects.
volatile uint16_t sysDacOutput_Initialize(volatile uint16_t dacInstance, volatile uint16_t initValue)
Initializes a user specified DAC instance with DAC output enabled.
#define DBGPIN1_Clear()
Macro instruction to set a pin state to logic LOW.