 |
EPC9143 300 W 16th Brick DC/DC Module Reference Design
|
|
22 #ifndef P33C_CCP_SFR_ABSTRACTION_H
23 #define P33C_CCP_SFR_ABSTRACTION_H
31 #ifndef P33C_CCP_INSTANCE_SFRSET_s
36 struct tagCCP1CON1LBITS
bits;
41 struct tagCCP1CON1HBITS
bits;
46 struct tagCCP1CON2LBITS
bits;
51 struct tagCCP1CON2HBITS
bits;
55 #if defined (CCP9CON3L)
57 struct tagCCP9CON3LBITS
bits;
65 struct tagCCP1CON3HBITS
bits;
70 struct tagCCP1STATLBITS
bits;
139 } __attribute__((packed)) P33C_CCP_MODULE_SFRSET_t;
142 #define P33C_CCPGEN_SFR_OFFSET ((volatile uint16_t)&CCP2CON1L - (volatile uint16_t)&CCP1CON1L)
151 volatile uint16_t ccpInstance,
union P33C_CCP_INSTANCE_SFRSET_s::@3 CCPxCON2H
struct tagCCP1CON1LBITS bits
union P33C_CCP_INSTANCE_SFRSET_s::@9 CCPxPRH
union P33C_CCP_INSTANCE_SFRSET_s::@1 CCPxCON1H
union P33C_CCP_INSTANCE_SFRSET_s::@12 CCPxBUFL
union P33C_CCP_INSTANCE_SFRSET_s::@11 CCPxRBL
volatile struct P33C_CCP_INSTANCE_SFRSET_s * p33c_CcpInstance_GetHandle(volatile uint16_t ccpInstance)
Gets pointer to CCP instance SFR set.
union P33C_CCP_INSTANCE_SFRSET_s::@13 CCPxBUFH
union P33C_CCP_INSTANCE_SFRSET_s::@0 CCPxCON1L
union P33C_CCP_INSTANCE_SFRSET_s::@8 CCPxPRL
union P33C_CCP_INSTANCE_SFRSET_s::@4 CCPxCON3H
union P33C_CCP_INSTANCE_SFRSET_s::@10 CCPxRAL
union P33C_CCP_INSTANCE_SFRSET_s::@7 CCPxTMRH
volatile uint16_t p33c_CcpInstance_ConfigWrite(volatile uint16_t ccpInstance, volatile struct P33C_CCP_INSTANCE_SFRSET_s ccpConfig)
Writes a user-defined configuration to the CCP instance registers.
union P33C_CCP_INSTANCE_SFRSET_s::@2 CCPxCON2L
volatile struct P33C_CCP_INSTANCE_SFRSET_s p33c_CcpInstance_ConfigRead(volatile uint16_t ccpInstance)
Read the current configuration from the CCP instance registers.
union P33C_CCP_INSTANCE_SFRSET_s::@6 CCPxTMRL
union P33C_CCP_INSTANCE_SFRSET_s::@5 CCPxSTATL