|
Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
|
|
35 #ifndef P33C_OPA_SFR_ABSTRACTION_H
36 #define P33C_OPA_SFR_ABSTRACTION_H
46 #ifndef P33C_OPA_MODULE_s
50 volatile struct tagAMPCON1LBITS
bits;
54 volatile struct tagAMPCON1HBITS
bits;
55 volatile uint16_t
value;
57 } __attribute__((packed));
union P33C_OPA_MODULE_s::@1 AmpCon1H
volatile struct tagAMPCON1LBITS bits
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 struct P33C_OPA_MODULE_s p33c_OpaModule_ConfigRead(void)
Read the current configuration from the op-amp module base registers.
volatile struct P33C_OPA_MODULE_s * p33c_OpaModule_GetHandle(void)
Gets pointer to op-amp Module SFR set.
volatile struct P33C_OPA_MODULE_s opaModuleConfigClear
Default RESET configuration of the op-amp module base SFRs.
volatile uint16_t p33c_OpaModule_ConfigWrite(volatile struct P33C_OPA_MODULE_s opaConfig)
Writes a user-defined configuration to the op-amp module base registers.
volatile uint16_t p33c_OpaModule_Dispose(void)
Resets all Op-Amp Module registers to their RESET default values.