Digital Power Starter Kit 3 Firmware
dsPIC33C Boost Converter Voltage Mode Control Example
usercfg.c
1 /*
2  * File: system_initialize.c
3  * Author: M91406
4  *
5  * Created on November 12, 2020, 10:33 AM
6  */
7 
8 #include "hal.h"
9 #include "mcal.h"
10 #include "usercfg.h"
11 
12 /***********************************************************************************
13  * @fn uint16_t sysUserPeriperhals_Initialize(void)
14  * @ingroup system-user-peripherals-initialization
15  * @brief Initializes static, application-specific chip resources
16  * @return unsigned integer (0=failure, 1=success)
17  *
18  * @details
19  * The Digital Power Starter Kit 3 supports Test Points allowing users to observe
20  * the DAC output of the dsPIC33C device as well as digital status signals of
21  * internal software processes. Using these features requires the configuration
22  * of further on-chip resources. These configurations are static and not related
23  * to any other task or function of the application and therefore need to be added
24  * manually.
25  *
26  * For this kind of Special Features, the startup procedure offers the following
27  * default function call allowing to place proprietary user code for individual
28  * device configurations beyond the default setup.
29  *
30  **********************************************************************************/
31 //volatile uint16_t sysUserPeriperhals_Initialize(void) {
32 //
33 // volatile uint16_t retval=1;
34 //
35 // // Reset the operation amplifier module to a disabled default state.
49 // // Initialize debugging Pins
50 // #ifdef DBGPIN1_PIN
51 // DBGPIN1_Init(); ///< Device pin #1 (not routed)
52 // DBGPIN1_Clear(); // Clear debug pin #1
53 // #endif
54 // #ifdef DBGPIN2_PIN
55 // DBGPIN2_Init(); ///< Device pin #2 (not routed)
56 // DBGPIN2_Clear(); // Clear debug pin #2
57 // #endif
58 //
59 // return(retval);
60 //
61 //}
62 
63 
64 // end of file