35#define GET_LOW_NIBBLE( x ) ( (x)&0xFu )
36#define GET_HIGH_NIBBLE( x ) ( ( x ) >> 4u )
37#define GET_HIGH_BYTE( x ) ( ( x ) >> 8u )
49#define PORT_MODE_INPUT 0x00u
50#define PORT_MODE_OUTPUT 0x10u
51#define PORT_MODE_ANALOG 0x30u
52#define PORT_MODE_ALT_AF0 0x20u
53#define PORT_MODE_ALT_AF1 0x21u
54#define PORT_MODE_ALT_AF2 0x22u
55#define PORT_MODE_ALT_AF3 0x23u
56#define PORT_MODE_ALT_AF4 0x24u
57#define PORT_MODE_ALT_AF5 0x25u
58#define PORT_MODE_ALT_AF6 0x26u
59#define PORT_MODE_ALT_AF7 0x27u
69#define PORT_NOPULL 0x00u
70#define PORT_PULLUP 0x01u
71#define PORT_PULLDOWN 0x02u
81#define PORT_PUSH_PULL 0x00u
82#define PORT_OPEN_COLECTOR 0x01u
92#define PORT_VERY_LOW_SPEED 0x00u
93#define PORT_LOW_SPEED 0x01u
94#define PORT_HIGH_SPEED 0x02u
95#define PORT_VERY_HIGH_SPEED 0x03u
105#define PORT_PIN_IN 0x00u
106#define PORT_PIN_OUT 0x01u
void Port_Arch_RefreshPortDirection(const Port_PinConfigType *PortConfigPtr)
Refresh port direction.
Definition Port_Arch.c:133
void Port_Arch_SetPinDirection(const Port_PinConfigType *PortConfigPtr, Port_PinDirectionType Direction)
Set the direction of a GPIO during runtime.
Definition Port_Arch.c:86
void Port_Arch_SetPinMode(const Port_PinConfigType *PortConfigPtr, uint8 PinMode, uint8 AltMode)
Set the mode of a GPIO during runtime.
Definition Port_Arch.c:104
void Port_Arch_Init(const Port_PinConfigType *PortConfigPtr)
Initialize the GPIO pins to the configuration store on ConfigPTR.
Definition Port_Arch.c:51
struct _Port_PinConfigType Port_PinConfigType
Definition of the external data structure containing the initialization data
uint8 Port_PinDirectionType
Data type for the symbolic direction of a pin. range: PORT_PIN_IN and PORT_PIN_OUT.
Definition Port_Types.h:70