![]() |
Infineon MOTIX™ MCU TLE987x Device Family SDK
|
Go to the source code of this file.
Port/GPIO low level access library.
Macros | |
#define | PORT_P0 (0U) |
Port indices, Port P0. More... | |
#define | PORT_P1 (1U) |
Port indices, Port P1. More... | |
#define | PORT_P2 (2U) |
Port indices, Port P2. More... | |
#define | PORT_ACTION_CLEAR (0U) |
Port actions, clear. More... | |
#define | PORT_ACTION_SET (1U) |
Port actions, set. More... | |
#define | PORT_ACTION_TOGGLE (2U) |
Port actions, toggle. More... | |
#define | PORT_ACTION_INPUT (3U) |
Port actions, input. More... | |
#define | PORT_ACTION_OUTPUT (4U) |
Port actions, output. More... | |
Functions | |
INLINE void | PORT_P00_Output_Set (void) |
sets Port P00 to Output. More... | |
INLINE void | PORT_P00_Input_Set (void) |
sets Port P00 to Input. More... | |
INLINE void | PORT_P01_Output_Set (void) |
sets Port P01 to Output. More... | |
INLINE void | PORT_P01_Input_Set (void) |
sets Port P01 to Input. More... | |
INLINE void | PORT_P02_Output_Set (void) |
sets Port P02 to Output. More... | |
INLINE void | PORT_P02_Input_Set (void) |
sets Port P02 to Input. More... | |
INLINE void | PORT_P03_Output_Set (void) |
sets Port P03 to Output. More... | |
INLINE void | PORT_P03_Input_Set (void) |
sets Port P03 to Input. More... | |
INLINE void | PORT_P04_Output_Set (void) |
sets Port P04 to Output. More... | |
INLINE void | PORT_P04_Input_Set (void) |
sets Port P04 to Input. More... | |
INLINE void | PORT_P00_Output_High_Set (void) |
sets Port P00 to High Status. More... | |
INLINE void | PORT_P00_Output_Low_Set (void) |
sets Port P00 to Low Status. More... | |
INLINE void | PORT_P00_Output_Toggle_Set (void) |
sets Port P00 to Toggle Status. More... | |
INLINE void | PORT_P01_Output_High_Set (void) |
sets Port P01 to High Status. More... | |
INLINE void | PORT_P01_Output_Low_Set (void) |
sets Port P01 to Low Status. More... | |
INLINE void | PORT_P01_Output_Toggle_Set (void) |
sets Port P01 to Toggle Status. More... | |
INLINE void | PORT_P02_Output_High_Set (void) |
sets Port P02 to High Status. More... | |
INLINE void | PORT_P02_Output_Low_Set (void) |
sets Port P02 to Low Status. More... | |
INLINE void | PORT_P02_Output_Toggle_Set (void) |
sets Port P02 to Toggle Status. More... | |
INLINE void | PORT_P03_Output_High_Set (void) |
sets Port P03 to High Status. More... | |
INLINE void | PORT_P03_Output_Low_Set (void) |
sets Port P03 to Low Status. More... | |
INLINE void | PORT_P03_Output_Toggle_Set (void) |
sets Port P03 to Toggle Status. More... | |
INLINE void | PORT_P04_Output_High_Set (void) |
sets Port P04 to High Status. More... | |
INLINE void | PORT_P04_Output_Low_Set (void) |
sets Port P04 to Low Status. More... | |
INLINE void | PORT_P04_Output_Toggle_Set (void) |
sets Port P04 to Toggle Status. More... | |
INLINE uint8 | PORT_P00_Get (void) |
reads Port P00 Status. More... | |
INLINE uint8 | PORT_P01_Get (void) |
reads Port P01 Status. More... | |
INLINE uint8 | PORT_P02_Get (void) |
reads Port P02 Status. More... | |
INLINE uint8 | PORT_P03_Get (void) |
reads Port P03 Status. More... | |
INLINE uint8 | PORT_P04_Get (void) |
reads Port P04 Status. More... | |
INLINE void | PORT_P00_OpenDrain_En (void) |
enables Output OpenDrain for Port P00. More... | |
INLINE void | PORT_P00_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P00. More... | |
INLINE void | PORT_P01_OpenDrain_En (void) |
enables Output OpenDrain for Port P01. More... | |
INLINE void | PORT_P01_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P01. More... | |
INLINE void | PORT_P02_OpenDrain_En (void) |
enables Output OpenDrain for Port P02. More... | |
INLINE void | PORT_P02_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P02. More... | |
INLINE void | PORT_P03_OpenDrain_En (void) |
enables Output OpenDrain for Port P03. More... | |
INLINE void | PORT_P03_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P03. More... | |
INLINE void | PORT_P04_OpenDrain_En (void) |
enables Output OpenDrain for Port P04. More... | |
INLINE void | PORT_P04_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P04. More... | |
INLINE void | PORT_P00_PullUpDown_En (void) |
enables PullUpDown for Port P00. More... | |
INLINE void | PORT_P00_PullUpDown_Dis (void) |
disables PullUpDown for Port P00. More... | |
INLINE void | PORT_P01_PullUpDown_En (void) |
enables PullUpDown for Port P01. More... | |
INLINE void | PORT_P01_PullUpDown_Dis (void) |
disables PullUpDown for Port P01. More... | |
INLINE void | PORT_P02_PullUpDown_En (void) |
enables PullUpDown for Port P02. More... | |
INLINE void | PORT_P02_PullUpDown_Dis (void) |
disables PullUpDown for Port P02. More... | |
INLINE void | PORT_P03_PullUpDown_En (void) |
enables PullUpDown for Port P03. More... | |
INLINE void | PORT_P03_PullUpDown_Dis (void) |
disables PullUpDown for Port P03. More... | |
INLINE void | PORT_P04_PullUpDown_En (void) |
enables PullUpDown for Port P04. More... | |
INLINE void | PORT_P04_PullUpDown_Dis (void) |
disables PullUpDown for Port P04. More... | |
INLINE void | PORT_P00_PullUp_Set (void) |
sets PullUp for Port P00. More... | |
INLINE void | PORT_P00_PullDown_Set (void) |
sets PullDown for Port P00. More... | |
INLINE void | PORT_P01_PullUp_Set (void) |
sets PullUp for Port P01. More... | |
INLINE void | PORT_P01_PullDown_Set (void) |
sets PullDown for Port P01. More... | |
INLINE void | PORT_P02_PullUp_Set (void) |
sets PullUp for Port P02. More... | |
INLINE void | PORT_P02_PullDown_Set (void) |
sets PullDown for Port P02. More... | |
INLINE void | PORT_P03_PullUp_Set (void) |
sets PullUp for Port P03. More... | |
INLINE void | PORT_P03_PullDown_Set (void) |
sets PullDown for Port P03. More... | |
INLINE void | PORT_P04_PullUp_Set (void) |
sets PullUp for Port P04. More... | |
INLINE void | PORT_P04_PullDown_Set (void) |
sets PullDown for Port P04. More... | |
INLINE void | PORT_P10_Output_Set (void) |
sets Port P10 to Output. More... | |
INLINE void | PORT_P10_Input_Set (void) |
sets Port P10 to Input. More... | |
INLINE void | PORT_P11_Output_Set (void) |
sets Port P11 to Output. More... | |
INLINE void | PORT_P11_Input_Set (void) |
sets Port P11 to Input. More... | |
INLINE void | PORT_P12_Output_Set (void) |
sets Port P12 to Output. More... | |
INLINE void | PORT_P12_Input_Set (void) |
sets Port P12 to Input. More... | |
INLINE void | PORT_P13_Output_Set (void) |
sets Port P13 to Output. More... | |
INLINE void | PORT_P13_Input_Set (void) |
sets Port P13 to Input. More... | |
INLINE void | PORT_P14_Output_Set (void) |
sets Port P14 to Output. More... | |
INLINE void | PORT_P14_Input_Set (void) |
sets Port P14 to Input. More... | |
INLINE void | PORT_P10_Output_High_Set (void) |
sets Port P10 to High Status. More... | |
INLINE void | PORT_P10_Output_Low_Set (void) |
sets Port P10 to Low Status. More... | |
INLINE void | PORT_P10_Output_Toggle_Set (void) |
sets Port P10 to Toggle Status. More... | |
INLINE void | PORT_P11_Output_High_Set (void) |
sets Port P11 to High Status. More... | |
INLINE void | PORT_P11_Output_Low_Set (void) |
sets Port P11 to Low Status. More... | |
INLINE void | PORT_P11_Output_Toggle_Set (void) |
sets Port P11 to Toggle Status. More... | |
INLINE void | PORT_P12_Output_High_Set (void) |
sets Port P12 to High Status. More... | |
INLINE void | PORT_P12_Output_Low_Set (void) |
sets Port P12 to Low Status. More... | |
INLINE void | PORT_P12_Output_Toggle_Set (void) |
sets Port P12 to Toggle Status. More... | |
INLINE void | PORT_P13_Output_High_Set (void) |
sets Port P13 to High Status. More... | |
INLINE void | PORT_P13_Output_Low_Set (void) |
sets Port P13 to Low Status. More... | |
INLINE void | PORT_P13_Output_Toggle_Set (void) |
sets Port P13 to Toggle Status. More... | |
INLINE void | PORT_P14_Output_High_Set (void) |
sets Port P14 to High Status. More... | |
INLINE void | PORT_P14_Output_Low_Set (void) |
sets Port P14 to Low Status. More... | |
INLINE void | PORT_P14_Output_Toggle_Set (void) |
sets Port P14 to Toggle Status. More... | |
INLINE uint8 | PORT_P10_Get (void) |
reads Port P10 Status. More... | |
INLINE uint8 | PORT_P11_Get (void) |
reads Port P11 Status. More... | |
INLINE uint8 | PORT_P12_Get (void) |
reads Port P12 Status. More... | |
INLINE uint8 | PORT_P13_Get (void) |
reads Port P13 Status. More... | |
INLINE uint8 | PORT_P14_Get (void) |
reads Port P14 Status. More... | |
INLINE void | PORT_P10_OpenDrain_En (void) |
enables Output OpenDrain for Port P10. More... | |
INLINE void | PORT_P10_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P10. More... | |
INLINE void | PORT_P11_OpenDrain_En (void) |
enables Output OpenDrain for Port P11. More... | |
INLINE void | PORT_P11_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P11. More... | |
INLINE void | PORT_P12_P13_OpenDrain_En (void) |
enables Output OpenDrain for Port P12/P13. More... | |
INLINE void | PORT_P12_P13_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P12/P13. More... | |
INLINE void | PORT_P14_OpenDrain_En (void) |
enables Output OpenDrain for Port P14. More... | |
INLINE void | PORT_P14_OpenDrain_Dis (void) |
disables Output OpenDrain for Port P14. More... | |
INLINE void | PORT_P10_PullUpDown_En (void) |
enables PullUpDown for Port P10. More... | |
INLINE void | PORT_P10_PullUpDown_Dis (void) |
disables PullUpDown for Port P10. More... | |
INLINE void | PORT_P11_PullUpDown_En (void) |
enables PullUpDown for Port P11. More... | |
INLINE void | PORT_P11_PullUpDown_Dis (void) |
disables PullUpDown for Port P11. More... | |
INLINE void | PORT_P12_PullUpDown_En (void) |
enables PullUpDown for Port P12. More... | |
INLINE void | PORT_P12_PullUpDown_Dis (void) |
disables PullUpDown for Port P12. More... | |
INLINE void | PORT_P13_PullUpDown_En (void) |
enables PullUpDown for Port P13. More... | |
INLINE void | PORT_P13_PullUpDown_Dis (void) |
disables PullUpDown for Port P13. More... | |
INLINE void | PORT_P14_PullUpDown_En (void) |
enables PullUpDown for Port P14. More... | |
INLINE void | PORT_P14_PullUpDown_Dis (void) |
disables PullUpDown for Port P14. More... | |
INLINE void | PORT_P10_PullUp_Set (void) |
sets PullUp for Port P10. More... | |
INLINE void | PORT_P10_PullDown_Set (void) |
sets PullDown for Port P10. More... | |
INLINE void | PORT_P11_PullUp_Set (void) |
sets PullUp for Port P11. More... | |
INLINE void | PORT_P11_PullDown_Set (void) |
sets PullDown for Port P11. More... | |
INLINE void | PORT_P12_PullUp_Set (void) |
sets PullUp for Port P12. More... | |
INLINE void | PORT_P12_PullDown_Set (void) |
sets PullDown for Port P12. More... | |
INLINE void | PORT_P13_PullUp_Set (void) |
sets PullUp for Port P13. More... | |
INLINE void | PORT_P13_PullDown_Set (void) |
sets PullDown for Port P13. More... | |
INLINE void | PORT_P14_PullUp_Set (void) |
sets PullUp for Port P14. More... | |
INLINE void | PORT_P14_PullDown_Set (void) |
sets PullDown for Port P14. More... | |
INLINE void | PORT_P20_Dis (void) |
sets Port P20 to Disable. More... | |
INLINE void | PORT_P20_Input_Set (void) |
sets Port P20 to Input. More... | |
INLINE void | PORT_P22_Dis (void) |
sets Port P22 to Disable. More... | |
INLINE void | PORT_P22_Input_Set (void) |
sets Port P22 to Input. More... | |
INLINE void | PORT_P23_Dis (void) |
sets Port P23 to Disable. More... | |
INLINE void | PORT_P23_Input_Set (void) |
sets Port P23 to Input. More... | |
INLINE void | PORT_P24_Dis (void) |
sets Port P24 to Disable. More... | |
INLINE void | PORT_P24_Input_Set (void) |
sets Port P24 to Input. More... | |
INLINE void | PORT_P25_Dis (void) |
sets Port P25 to Disable. More... | |
INLINE void | PORT_P25_Input_Set (void) |
sets Port P25 to Input. More... | |
INLINE uint8 | PORT_P20_Get (void) |
reads Port P20 Status. More... | |
INLINE uint8 | PORT_P22_Get (void) |
reads Port P22 Status. More... | |
INLINE uint8 | PORT_P23_Get (void) |
reads Port P23 Status. More... | |
INLINE uint8 | PORT_P24_Get (void) |
reads Port P24 Status. More... | |
INLINE uint8 | PORT_P25_Get (void) |
reads Port P25 Status. More... | |
INLINE void | PORT_P20_PullUpDown_En (void) |
enables PullUpDown for Port P20. More... | |
INLINE void | PORT_P20_PullUpDown_Dis (void) |
disables PullUpDown for Port P20. More... | |
INLINE void | PORT_P22_PullUpDown_En (void) |
enables PullUpDown for Port P22. More... | |
INLINE void | PORT_P22_PullUpDown_Dis (void) |
disables PullUpDown for Port P22. More... | |
INLINE void | PORT_P23_PullUpDown_En (void) |
enables PullUpDown for Port P23. More... | |
INLINE void | PORT_P23_PullUpDown_Dis (void) |
disables PullUpDown for Port P23. More... | |
INLINE void | PORT_P24_PullUpDown_En (void) |
enables PullUpDown for Port P24. More... | |
INLINE void | PORT_P24_PullUpDown_Dis (void) |
disables PullUpDown for Port P24. More... | |
INLINE void | PORT_P25_PullUpDown_En (void) |
enables PullUpDown for Port P25. More... | |
INLINE void | PORT_P25_PullUpDown_Dis (void) |
disables PullUpDown for Port P25. More... | |
INLINE void | PORT_P20_PullUp_Set (void) |
sets PullUp for Port P20. More... | |
INLINE void | PORT_P20_PullDown_Set (void) |
sets PullDown for Port P20. More... | |
INLINE void | PORT_P22_PullUp_Set (void) |
sets PullUp for Port P22. More... | |
INLINE void | PORT_P22_PullDown_Set (void) |
sets PullDown for Port P22. More... | |
INLINE void | PORT_P23_PullUp_Set (void) |
sets PullUp for Port P23. More... | |
INLINE void | PORT_P23_PullDown_Set (void) |
sets PullDown for Port P23. More... | |
INLINE void | PORT_P24_PullUp_Set (void) |
sets PullUp for Port P24. More... | |
INLINE void | PORT_P24_PullDown_Set (void) |
sets PullDown for Port P24. More... | |
INLINE void | PORT_P25_PullUp_Set (void) |
sets PullUp for Port P25. More... | |
INLINE void | PORT_P25_PullDown_Set (void) |
sets PullDown for Port P25. More... | |
void | PORT_Init (void) |
Initializes the PORT module based on the Config Wizard for MOTIX MCU configuration. More... | |
void | PORT_ChangePin (uint32 PortPin, uint32 Action) |
Sets/clears/toggles a port pin in a safe way, i.e. with interrupt disable. More... | |
uint8 | PORT_ReadPin (uint32 PortPin) |
Reads a port pin. More... | |
uint8 | PORT_ReadPort (uint32 Port) |
Reads a port. More... | |
void | PORT_ChangePinAlt (uint32 PortPin, uint8 AltSel) |
Change Alternate Settings. More... | |
#define PORT_ACTION_CLEAR (0U) |
Port actions, clear.
#define PORT_ACTION_INPUT (3U) |
Port actions, input.
#define PORT_ACTION_OUTPUT (4U) |
Port actions, output.
#define PORT_ACTION_SET (1U) |
Port actions, set.
#define PORT_ACTION_TOGGLE (2U) |
Port actions, toggle.
#define PORT_P0 (0U) |
Port indices, Port P0.
#define PORT_P1 (1U) |
Port indices, Port P1.
#define PORT_P2 (2U) |
Port indices, Port P2.
Sets/clears/toggles a port pin in a safe way, i.e. with interrupt disable.
PortPin | Port and pin to change, e.g 0x12U for P1.2 |
Action | PORT_ACTION_SET, PORT_ACTION_CLEAR or PORT_ACTION_TOGGLE |
Example
This example toggles the P1.2 .
Change Alternate Settings.
PortPin | pin to change AltSel, e.g. 0x01U for Port 0 Pin 1 |
AltSel | alternate function for the pin (combination of 0Us and 1Us) |
Example
This example sets the P1.2 to Output and configures it to Normal GPIO.
void PORT_Init | ( | void | ) |
Initializes the PORT module based on the Config Wizard for MOTIX MCU configuration.
reads Port P00 Status.
Example
This example configures P00 as input and reads the status.
INLINE void PORT_P00_Input_Set | ( | void | ) |
sets Port P00 to Input.
Example
This example configures P00 as input and reads the status.
INLINE void PORT_P00_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P00.
Example
This example configures P00 as output, Low and Normal Mode.
INLINE void PORT_P00_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P00.
Example
This example configures P00 as output, Low and Open-Drain.
INLINE void PORT_P00_Output_High_Set | ( | void | ) |
sets Port P00 to High Status.
Example
This example configures P00 as output, High and Open-Drain.
INLINE void PORT_P00_Output_Low_Set | ( | void | ) |
sets Port P00 to Low Status.
Example
This example configures P00 as output, Low and Open-Drain.
INLINE void PORT_P00_Output_Set | ( | void | ) |
sets Port P00 to Output.
Example
This example configures P00 as output, High and Open-Drain.
INLINE void PORT_P00_Output_Toggle_Set | ( | void | ) |
sets Port P00 to Toggle Status.
Example
This example configures P00 as output, Toggle and Open-Drain.
INLINE void PORT_P00_PullDown_Set | ( | void | ) |
sets PullDown for Port P00.
Example
This example sets PullDown for Port P00.
INLINE void PORT_P00_PullUp_Set | ( | void | ) |
sets PullUp for Port P00.
Example
This example sets PullUp for Port P00.
INLINE void PORT_P00_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P00.
Example
This example disables PullUpDown for Port P00.
INLINE void PORT_P00_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P00.
Example
This example enables PullUpDown for Port P00.
reads Port P01 Status.
Example
This example configures P01 as input and reads the status.
INLINE void PORT_P01_Input_Set | ( | void | ) |
sets Port P01 to Input.
Example
This example configures P01 as input and reads the status.
INLINE void PORT_P01_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P01.
Example
This example configures P01 as output, Low and Normal Mode.
INLINE void PORT_P01_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P01.
Example
This example configures P01 as output, Low and Open-Drain.
INLINE void PORT_P01_Output_High_Set | ( | void | ) |
sets Port P01 to High Status.
Example
This example configures P01 as output, High and Open-Drain.
INLINE void PORT_P01_Output_Low_Set | ( | void | ) |
sets Port P01 to Low Status.
Example
This example configures P01 as output, Low and Open-Drain.
INLINE void PORT_P01_Output_Set | ( | void | ) |
sets Port P01 to Output.
Example
This example configures P01 as output, High and Open-Drain.
INLINE void PORT_P01_Output_Toggle_Set | ( | void | ) |
sets Port P01 to Toggle Status.
Example
This example configures P01 as output, Toggle and Open-Drain.
INLINE void PORT_P01_PullDown_Set | ( | void | ) |
sets PullDown for Port P01.
Example
This example sets PullDown for Port P01.
INLINE void PORT_P01_PullUp_Set | ( | void | ) |
sets PullUp for Port P01.
Example
This example sets PullUp for Port P01.
INLINE void PORT_P01_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P01.
Example
This example disables PullUpDown for Port P01.
INLINE void PORT_P01_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P01.
Example
This example enables PullUpDown for Port P01.
reads Port P02 Status.
Example
This example configures P02 as input and reads the status.
INLINE void PORT_P02_Input_Set | ( | void | ) |
sets Port P02 to Input.
Example
This example configures P02 as input and reads the status.
INLINE void PORT_P02_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P02.
Example
This example configures P02 as output, Low and Normal Mode.
INLINE void PORT_P02_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P02.
Example
This example configures P02 as output, Low and Open-Drain.
INLINE void PORT_P02_Output_High_Set | ( | void | ) |
sets Port P02 to High Status.
Example
This example configures P02 as output, High and Open-Drain.
INLINE void PORT_P02_Output_Low_Set | ( | void | ) |
sets Port P02 to Low Status.
Example
This example configures P02 as output, Low and Open-Drain.
INLINE void PORT_P02_Output_Set | ( | void | ) |
sets Port P02 to Output.
Example
This example configures P02 as output, High and Open-Drain.
INLINE void PORT_P02_Output_Toggle_Set | ( | void | ) |
sets Port P02 to Toggle Status.
Example
This example configures P02 as output, Toggle and Open-Drain.
INLINE void PORT_P02_PullDown_Set | ( | void | ) |
sets PullDown for Port P02.
Example
This example sets PullDown for Port P02.
INLINE void PORT_P02_PullUp_Set | ( | void | ) |
sets PullUp for Port P02.
Example
This example sets PullUp for Port P02.
INLINE void PORT_P02_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P02.
Example
This example disables PullUpDown for Port P02.
INLINE void PORT_P02_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P02.
Example
This example enables PullUpDown for Port P02.
reads Port P03 Status.
Example
This example configures P03 as input and reads the status.
INLINE void PORT_P03_Input_Set | ( | void | ) |
sets Port P03 to Input.
Example
This example configures P03 as input and reads the status.
INLINE void PORT_P03_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P03.
Example
This example configures P03 as output, Low and Normal Mode.
INLINE void PORT_P03_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P03.
Example
This example configures P03 as output, Low and Open-Drain.
INLINE void PORT_P03_Output_High_Set | ( | void | ) |
sets Port P03 to High Status.
Example
This example configures P03 as output, High and Open-Drain.
INLINE void PORT_P03_Output_Low_Set | ( | void | ) |
sets Port P03 to Low Status.
Example
This example configures P03 as output, Low and Open-Drain.
INLINE void PORT_P03_Output_Set | ( | void | ) |
sets Port P03 to Output.
Example
This example configures P03 as output, High and Open-Drain.
INLINE void PORT_P03_Output_Toggle_Set | ( | void | ) |
sets Port P03 to Toggle Status.
Example
This example configures P03 as output, Toggle and Open-Drain.
INLINE void PORT_P03_PullDown_Set | ( | void | ) |
sets PullDown for Port P03.
Example
This example sets PullDown for Port P03.
INLINE void PORT_P03_PullUp_Set | ( | void | ) |
sets PullUp for Port P03.
Example
This example sets PullUp for Port P03.
INLINE void PORT_P03_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P03.
Example
This example disables PullUpDown for Port P03.
INLINE void PORT_P03_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P03.
Example
This example enables PullUpDown for Port P03.
reads Port P04 Status.
Example
This example configures P04 as input and reads the status.
INLINE void PORT_P04_Input_Set | ( | void | ) |
sets Port P04 to Input.
Example
This example configures P04 as input and reads the status.
INLINE void PORT_P04_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P04.
Example
This example configures P04 as output, Low and Normal Mode.
INLINE void PORT_P04_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P04.
Example
This example configures P04 as output, Low and Open-Drain.
INLINE void PORT_P04_Output_High_Set | ( | void | ) |
sets Port P04 to High Status.
Example
This example configures P04 as output, High and Open-Drain.
INLINE void PORT_P04_Output_Low_Set | ( | void | ) |
sets Port P04 to Low Status.
Example
This example configures P04 as output, Low and Open-Drain.
INLINE void PORT_P04_Output_Set | ( | void | ) |
sets Port P04 to Output.
Example
This example configures P04 as output, High and Open-Drain.
INLINE void PORT_P04_Output_Toggle_Set | ( | void | ) |
sets Port P04 to Toggle Status.
Example
This example configures P04 as output, Toggle and Open-Drain.
INLINE void PORT_P04_PullDown_Set | ( | void | ) |
sets PullDown for Port P04.
Example
This example sets PullDown for Port P04.
INLINE void PORT_P04_PullUp_Set | ( | void | ) |
sets PullUp for Port P04.
Example
This example sets PullUp for Port P04.
INLINE void PORT_P04_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P04.
Example
This example disables PullUpDown for Port P04.
INLINE void PORT_P04_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P04.
Example
This example enables PullUpDown for Port P04.
reads Port P10 Status.
Example
This example configures P10 as input and reads the status.
INLINE void PORT_P10_Input_Set | ( | void | ) |
sets Port P10 to Input.
Example
This example configures P10 as input and reads the status.
INLINE void PORT_P10_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P10.
Example
This example configures P10 as output, Low and Normal Mode.
INLINE void PORT_P10_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P10.
Example
This example configures P10 as output, Low and Open-Drain.
INLINE void PORT_P10_Output_High_Set | ( | void | ) |
sets Port P10 to High Status.
Example
This example configures P10 as output, High and Open-Drain.
INLINE void PORT_P10_Output_Low_Set | ( | void | ) |
sets Port P10 to Low Status.
Example
This example configures P10 as output, Low and Open-Drain.
INLINE void PORT_P10_Output_Set | ( | void | ) |
sets Port P10 to Output.
Example
This example configures P10 as output, High and Open-Drain.
INLINE void PORT_P10_Output_Toggle_Set | ( | void | ) |
sets Port P10 to Toggle Status.
Example
This example configures P10 as output, Toggle and Open-Drain.
INLINE void PORT_P10_PullDown_Set | ( | void | ) |
sets PullDown for Port P10.
Example
This example sets PullDown for Port P10.
INLINE void PORT_P10_PullUp_Set | ( | void | ) |
sets PullUp for Port P10.
Example
This example sets PullUp for Port P10.
INLINE void PORT_P10_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P10.
Example
This example disables PullUpDown for Port P10.
INLINE void PORT_P10_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P10.
Example
This example enables PullUpDown for Port P10.
reads Port P11 Status.
Example
This example configures P11 as input and reads the status.
INLINE void PORT_P11_Input_Set | ( | void | ) |
sets Port P11 to Input.
Example
This example configures P11 as input and reads the status.
INLINE void PORT_P11_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P11.
Example
This example configures P11 as output, Low and Normal Mode.
INLINE void PORT_P11_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P11.
Example
This example configures P11 as output, Low and Open-Drain.
INLINE void PORT_P11_Output_High_Set | ( | void | ) |
sets Port P11 to High Status.
Example
This example configures P11 as output, High and Open-Drain.
INLINE void PORT_P11_Output_Low_Set | ( | void | ) |
sets Port P11 to Low Status.
Example
This example configures P11 as output, Low and Open-Drain.
INLINE void PORT_P11_Output_Set | ( | void | ) |
sets Port P11 to Output.
Example
This example configures P11 as output, High and Open-Drain.
INLINE void PORT_P11_Output_Toggle_Set | ( | void | ) |
sets Port P11 to Toggle Status.
Example
This example configures P11 as output, Toggle and Open-Drain.
INLINE void PORT_P11_PullDown_Set | ( | void | ) |
sets PullDown for Port P11.
Example
This example sets PullDown for Port P11.
INLINE void PORT_P11_PullUp_Set | ( | void | ) |
sets PullUp for Port P11.
Example
This example sets PullUp for Port P11.
INLINE void PORT_P11_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P11.
Example
This example disables PullUpDown for Port P11.
INLINE void PORT_P11_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P11.
Example
This example enables PullUpDown for Port P11.
reads Port P12 Status.
Example
This example configures P12 as input and reads the status.
INLINE void PORT_P12_Input_Set | ( | void | ) |
sets Port P12 to Input.
Example
This example configures P12 as input and reads the status.
INLINE void PORT_P12_Output_High_Set | ( | void | ) |
sets Port P12 to High Status.
Example
This example configures P12 as output, High and Open-Drain.
INLINE void PORT_P12_Output_Low_Set | ( | void | ) |
sets Port P12 to Low Status.
Example
This example configures P12 as output, Low and Open-Drain.
INLINE void PORT_P12_Output_Set | ( | void | ) |
sets Port P12 to Output.
Example
This example configures P12 as output, High and Open-Drain.
INLINE void PORT_P12_Output_Toggle_Set | ( | void | ) |
sets Port P12 to Toggle Status.
Example
This example configures P12 as output, Toggle and Open-Drain.
INLINE void PORT_P12_P13_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P12/P13.
Example
This example configures P13 as output, Low and Normal Mode.
INLINE void PORT_P12_P13_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P12/P13.
Example
This example configures P12 as output, Low and Open-Drain.
INLINE void PORT_P12_PullDown_Set | ( | void | ) |
sets PullDown for Port P12.
Example
This example sets PullDown for Port P12.
INLINE void PORT_P12_PullUp_Set | ( | void | ) |
sets PullUp for Port P12.
Example
This example sets PullUp for Port P12.
INLINE void PORT_P12_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P12.
Example
This example disables PullUpDown for Port P12.
INLINE void PORT_P12_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P12.
Example
This example enables PullUpDown for Port P12.
reads Port P13 Status.
Example
This example configures P13 as input and reads the status.
INLINE void PORT_P13_Input_Set | ( | void | ) |
sets Port P13 to Input.
Example
This example configures P13 as input and reads the status.
INLINE void PORT_P13_Output_High_Set | ( | void | ) |
sets Port P13 to High Status.
Example
This example configures P13 as output, High and Open-Drain.
INLINE void PORT_P13_Output_Low_Set | ( | void | ) |
sets Port P13 to Low Status.
Example
This example configures P13 as output, Low and Open-Drain.
INLINE void PORT_P13_Output_Set | ( | void | ) |
sets Port P13 to Output.
Example
This example configures P13 as output, High and Open-Drain.
INLINE void PORT_P13_Output_Toggle_Set | ( | void | ) |
sets Port P13 to Toggle Status.
Example
This example configures P13 as output, Toggle and Open-Drain.
INLINE void PORT_P13_PullDown_Set | ( | void | ) |
sets PullDown for Port P13.
Example
This example sets PullDown for Port P13.
INLINE void PORT_P13_PullUp_Set | ( | void | ) |
sets PullUp for Port P13.
Example
This example sets PullUp for Port P13.
INLINE void PORT_P13_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P13.
Example
This example disables PullUpDown for Port P13.
INLINE void PORT_P13_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P13.
Example
This example enables PullUpDown for Port P13.
reads Port P14 Status.
Example
This example configures P14 as input and reads the status.
INLINE void PORT_P14_Input_Set | ( | void | ) |
sets Port P14 to Input.
Example
This example configures P14 as input and reads the status.
INLINE void PORT_P14_OpenDrain_Dis | ( | void | ) |
disables Output OpenDrain for Port P14.
Example
This example configures P14 as output, Low and Normal Mode.
INLINE void PORT_P14_OpenDrain_En | ( | void | ) |
enables Output OpenDrain for Port P14.
Example
This example configures P14 as output, Low and Open-Drain.
INLINE void PORT_P14_Output_High_Set | ( | void | ) |
sets Port P14 to High Status.
Example
This example configures P14 as output, High and Open-Drain.
INLINE void PORT_P14_Output_Low_Set | ( | void | ) |
sets Port P14 to Low Status.
Example
This example configures P14 as output, Low and Open-Drain.
INLINE void PORT_P14_Output_Set | ( | void | ) |
sets Port P14 to Output.
Example
This example configures P14 as output, High and Open-Drain.
INLINE void PORT_P14_Output_Toggle_Set | ( | void | ) |
sets Port P14 to Toggle Status.
Example
This example configures P14 as output, Toggle and Open-Drain.
INLINE void PORT_P14_PullDown_Set | ( | void | ) |
sets PullDown for Port P14.
Example
This example sets PullDown for Port P14.
INLINE void PORT_P14_PullUp_Set | ( | void | ) |
sets PullUp for Port P14.
Example
This example sets PullUp for Port P14.
INLINE void PORT_P14_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P14.
Example
This example disables PullUpDown for Port P14.
INLINE void PORT_P14_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P14.
Example
This example enables PullUpDown for Port P14.
INLINE void PORT_P20_Dis | ( | void | ) |
sets Port P20 to Disable.
Example
This example sets P20 to disable.
reads Port P20 Status.
Example
This example configures P20 as input and reads the status.
INLINE void PORT_P20_Input_Set | ( | void | ) |
sets Port P20 to Input.
Example
This example configures P20 as input and reads the status.
INLINE void PORT_P20_PullDown_Set | ( | void | ) |
sets PullDown for Port P20.
Example
This example sets PullDown for Port P20.
INLINE void PORT_P20_PullUp_Set | ( | void | ) |
sets PullUp for Port P20.
Example
This example sets PullUp for Port P20.
INLINE void PORT_P20_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P20.
Example
This example disables PullUpDown for Port P20.
INLINE void PORT_P20_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P20.
Example
This example enables PullUpDown for Port P20.
INLINE void PORT_P22_Dis | ( | void | ) |
sets Port P22 to Disable.
Example
This example sets P22 to disable.
reads Port P22 Status.
Example
This example configures P22 as input and reads the status.
INLINE void PORT_P22_Input_Set | ( | void | ) |
sets Port P22 to Input.
Example
This example configures P22 as input and reads the status.
INLINE void PORT_P22_PullDown_Set | ( | void | ) |
sets PullDown for Port P22.
Example
This example sets PullDown for Port P22.
INLINE void PORT_P22_PullUp_Set | ( | void | ) |
sets PullUp for Port P22.
Example
This example sets PullUp for Port P22.
INLINE void PORT_P22_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P22.
Example
This example disables PullUpDown for Port P22.
INLINE void PORT_P22_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P22.
Example
This example enables PullUpDown for Port P22.
INLINE void PORT_P23_Dis | ( | void | ) |
sets Port P23 to Disable.
Example
This example sets P23 to disable.
reads Port P23 Status.
Example
This example configures P23 as input and reads the status.
INLINE void PORT_P23_Input_Set | ( | void | ) |
sets Port P23 to Input.
Example
This example configures P23 as input and reads the status.
INLINE void PORT_P23_PullDown_Set | ( | void | ) |
sets PullDown for Port P23.
Example
This example sets PullDown for Port P23.
INLINE void PORT_P23_PullUp_Set | ( | void | ) |
sets PullUp for Port P23.
Example
This example sets PullUp for Port P23.
INLINE void PORT_P23_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P23.
Example
This example disables PullUpDown for Port P23.
INLINE void PORT_P23_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P23.
Example
This example enables PullUpDown for Port P23.
INLINE void PORT_P24_Dis | ( | void | ) |
sets Port P24 to Disable.
Example
This example sets P24 to disable.
reads Port P24 Status.
Example
This example configures P24 as input and reads the status.
INLINE void PORT_P24_Input_Set | ( | void | ) |
sets Port P24 to Input.
Example
This example configures P24 as input and reads the status.
INLINE void PORT_P24_PullDown_Set | ( | void | ) |
sets PullDown for Port P24.
Example
This example sets PullDown for Port P24.
INLINE void PORT_P24_PullUp_Set | ( | void | ) |
sets PullUp for Port P24.
Example
This example sets PullUp for Port P24.
INLINE void PORT_P24_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P24.
Example
This example disables PullUpDown for Port P24.
INLINE void PORT_P24_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P24.
Example
This example enables PullUpDown for Port P24.
INLINE void PORT_P25_Dis | ( | void | ) |
sets Port P25 to Disable.
Example
This example sets P25 to disable.
reads Port P25 Status.
Example
This example configures P25 as input and reads the status.
INLINE void PORT_P25_Input_Set | ( | void | ) |
sets Port P25 to Input.
Example
This example configures P25 as input and reads the status.
INLINE void PORT_P25_PullDown_Set | ( | void | ) |
sets PullDown for Port P25.
Example
This example sets PullDown for Port P25.
INLINE void PORT_P25_PullUp_Set | ( | void | ) |
sets PullUp for Port P25.
Example
This example sets PullUp for Port P25.
INLINE void PORT_P25_PullUpDown_Dis | ( | void | ) |
disables PullUpDown for Port P25.
Example
This example disables PullUpDown for Port P25.
INLINE void PORT_P25_PullUpDown_En | ( | void | ) |
enables PullUpDown for Port P25.
Example
This example enables PullUpDown for Port P25.
Reads a port pin.
PortPin | Port and pin to read, e.g 0x12U for P1.2 |
Example
This example reads the status of P1.2 .
Reads a port.
Port | Port to read, e.g. 2U for Port 2 |
Example
This example reads the status of Port2 .