35 #ifndef P33C_DAC_SFR_ABSTRACTION_H 36 #define P33C_DAC_SFR_ABSTRACTION_H 46 #ifndef P33C_DAC_MODULE_s 62 volatile struct tagDACCTRL1LBITS
bits;
67 volatile struct tagDACCTRL2LBITS
bits;
68 volatile uint16_t
value;
71 volatile struct tagDACCTRL2HBITS
bits;
72 volatile uint16_t
value;
74 } __attribute__((packed));
90 #define p33c_DacModule_GetHandle(x) (struct P33C_DAC_MODULE_s*)&DACCTRL1L 95 #ifndef P33C_DAC_INSTANCE_s 111 volatile struct tagDAC1CONLBITS
bits;
115 volatile struct tagDAC1CONHBITS
bits;
116 volatile uint16_t
value;
119 volatile struct tagDAC1DATLBITS
bits;
120 volatile uint16_t
value;
123 volatile struct tagDAC1DATHBITS
bits;
124 volatile uint16_t
value;
127 volatile struct tagSLP1CONLBITS
bits;
128 volatile uint16_t
value;
131 volatile struct tagSLP1CONHBITS
bits;
132 volatile uint16_t
value;
135 volatile struct tagSLP1DATBITS
bits;
136 volatile uint16_t
value;
138 } __attribute__((packed));
150 #define P33C_DAC_SFR_OFFSET ((volatile uint16_t)&DAC2CONL - (volatile uint16_t)&DAC1CONL) 167 extern volatile uint16_t* p33cDacInstanceHandles[];
168 #define p33c_DacInstance_GetHandle(x) (struct P33C_DAC_INSTANCE_s*)p33cDacInstanceHandles[(x-1)] 178 extern volatile uint16_t p33c_DacModule_Dispose(
void);
180 extern volatile uint16_t p33c_DacModule_ConfigWrite(
185 extern volatile uint16_t p33c_DacInstance_Dispose(
186 volatile uint16_t dacInstance
190 volatile uint16_t dacInstance
193 extern volatile uint16_t p33c_DacInstance_ConfigWrite(
194 volatile uint16_t dacInstance,
union P33C_DAC_INSTANCE_s::@83 SLPxCONH
union P33C_DAC_INSTANCE_s::@81 DACxDATH
union P33C_DAC_INSTANCE_s::@80 DACxDATL
volatile struct tagDAC1CONLBITS bits
union P33C_DAC_INSTANCE_s::@78 DACxCONL
union P33C_DAC_INSTANCE_s::@79 DACxCONH
union P33C_DAC_MODULE_s::@73 DacModuleCtrl2L
union P33C_DAC_INSTANCE_s::@82 SLPxCONL
volatile struct tagDACCTRL1LBITS bits
union P33C_DAC_INSTANCE_s::@84 SLPxDAT
union P33C_DAC_MODULE_s::@72 DacModuleCtrl1L
union P33C_DAC_MODULE_s::@74 DacModuleCtrl2H