 |
EPC9143 300 W 16th Brick DC/DC Module Reference Design
|
|
42 #ifndef P33C_GPIO_SFR_ABSTRACTION_H
43 #define P33C_GPIO_SFR_ABSTRACTION_H
53 #ifndef P33C_GPIO_INSTANCE_s
57 volatile struct tagLATABITS
bits;
61 volatile struct tagLATABITS
bits;
62 volatile uint16_t
value;
65 volatile struct tagLATABITS
bits;
66 volatile uint16_t
value;
69 volatile struct tagLATABITS
bits;
70 volatile uint16_t
value;
73 volatile struct tagLATABITS
bits;
74 volatile uint16_t
value;
77 volatile struct tagLATABITS
bits;
78 volatile uint16_t
value;
81 volatile struct tagLATABITS
bits;
82 volatile uint16_t
value;
85 volatile struct tagLATABITS
bits;
86 volatile uint16_t
value;
89 volatile struct tagLATABITS
bits;
90 volatile uint16_t
value;
93 volatile struct tagLATABITS
bits;
94 volatile uint16_t
value;
97 volatile struct tagLATABITS
bits;
98 volatile uint16_t
value;
101 volatile struct tagLATABITS
bits;
102 volatile uint16_t
value;
104 } __attribute__((packed)) P33C_GPIO_INSTANCE_t;
106 #define P33C_GPIO_SFR_OFFSET ((volatile uint16_t)&ANSELB - (volatile uint16_t)&ANSELA)
115 volatile uint16_t gpio_Instance
119 volatile uint16_t gpioInstance
123 volatile uint16_t gpioInstance
127 volatile uint16_t gpioInstance,
union P33C_GPIO_INSTANCE_s::@2 PORTx
volatile struct P33C_GPIO_INSTANCE_s p33c_GpioInstance_ConfigRead(volatile uint16_t gpioInstance)
Read the current configuration from the GPIO instance registers
union P33C_GPIO_INSTANCE_s::@3 LATx
union P33C_GPIO_INSTANCE_s::@1 TRISx
union P33C_GPIO_INSTANCE_s::@5 CNPUx
volatile struct tagLATABITS bits
volatile uint16_t p33c_GpioInstance_ConfigWrite(volatile uint16_t gpioInstance, volatile struct P33C_GPIO_INSTANCE_s gpioConfig)
Writes a user-defined configuration to the GPIO instance registers.
volatile uint16_t p33c_GpioInstance_Dispose(volatile uint16_t gpioInstance)
Resets all GPIO Instance registers to their RESET default values.
volatile struct P33C_GPIO_INSTANCE_s * p33c_GpioInstance_GetHandle(volatile uint16_t gpio_Instance)
Gets pointer to GPIO Instance SFR set.
volatile struct P33C_GPIO_INSTANCE_s gpioConfigClear
Default RESET configuration of one GPIO instance SFRs.
union P33C_GPIO_INSTANCE_s::@11 CNFx
union P33C_GPIO_INSTANCE_s::@4 ODCx
union P33C_GPIO_INSTANCE_s::@10 CNEN1x
union P33C_GPIO_INSTANCE_s::@0 ANSELx
union P33C_GPIO_INSTANCE_s::@7 CNCONx
union P33C_GPIO_INSTANCE_s::@9 CNSTATx
union P33C_GPIO_INSTANCE_s::@6 CNPDx
union P33C_GPIO_INSTANCE_s::@8 CNEN0x