Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
+ Collaboration diagram for User Peripheral Initialization:

Functions

volatile uint16_t sysUserPeriperhals_Initialize (void)
 Initializes the user-defined chip resources. More...
 

Detailed Description

Some applications require specific peripheral module functions to implement functions, which are not covered by user-task device driver modules, such as special logic functions or additional analog components like operational amplifiers for signal conditioning. This initialization routine can be used to add user-configurations to the project, which are independent from device driver modules, These special peripheral modules are initialized before the user tasks. Users will have to decide when and how these additional peripherals may be enabled to ensure no conflicts with user task device drivers occur.

Function Documentation

◆ sysUserPeriperhals_Initialize()

uint16_t sysUserPeriperhals_Initialize ( void  )

Initializes the user-defined chip resources.

Returns
unsigned integer (0=failure, 1=success)

The Digital Power Starter Kit 3 supports a Test Point allowing to observe the DAC output of the dsPIC33C device. Using this feature requires the configuration of further on-chip resources. This configuration is static and not related to any other task or function of the application and therefore needs to be added and placed manually. For this kind of Special Features, The startup procedure offers the following default function call allowing to place proprietary user code for individual device configurations beyond the default setup.

Definition at line 57 of file system.c.

+ Here is the call graph for this function: