|
Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
|
|
36 volatile uint16_t retval=1;
37 volatile uint16_t idum=0;
44 if (disable_n_channel)
46 idum = (((uint16_t)disable_n_channel) << (opaInstance - 1));
51 idum = (1 << (opaInstance - 1));
56 idum = (0x0001 << (opaInstance - 1));
union P33C_OPA_MODULE_s::@1 AmpCon1H
volatile struct tagAMPCON1LBITS bits
volatile uint16_t sysOpAmp_ModuleEnable(void)
Enables the on-chip operational amplifier module.
union P33C_OPA_MODULE_s::@0 AmpCon1L
volatile struct P33C_OPA_MODULE_s opaModuleDefault
Default configuration of op-amp module running from 500 MHz input clock.
volatile uint16_t sysOpAmp_ModuleReset(void)
Resets the on-chip operational amplifier module.
volatile struct P33C_OPA_MODULE_s * p33c_OpaModule_GetHandle(void)
Gets pointer to op-amp Module SFR set.
volatile uint16_t sysOpAmp_Initialize(volatile uint16_t opaInstance, volatile bool disable_n_channel)
Initializes the on-chip operational amplifier module.