![]() |
Infineon MOTIX™ MCU TLE985x 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 action. More... | |
#define | PORT_ACTION_SET (1U) |
Port actions, set action. More... | |
#define | PORT_ACTION_TOGGLE (2U) |
Port actions, toggle action. More... | |
#define | PORT_ACTION_INPUT (3U) |
Port actions, input mode. More... | |
#define | PORT_ACTION_OUTPUT (4U) |
Port actions, output mode. More... | |
#define | PORT_TCC_RANGE_1 (0U) |
Port Temperature Compensation Control, range 1: from -40°C to 0°C. More... | |
#define | PORT_TCC_RANGE_2 (1U) |
Port Temperature Compensation Control, range 2: from 0°C to 40°C. More... | |
#define | PORT_TCC_RANGE_3 (2U) |
Port Temperature Compensation Control, range 3: from 40°C to 80°C. More... | |
#define | PORT_TCC_RANGE_4 (3U) |
Port Temperature Compensation Control, range 4: from 80°C to 150°C. More... | |
Functions | |
void | PORT_Init (void) |
Initializes the ports. 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 Alternative Settings. More... | |
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_P05_Output_Set (void) |
Sets Port P05 to Output. More... | |
INLINE void | PORT_P05_Input_Set (void) |
Sets Port P05 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 void | PORT_P05_Output_High_Set (void) |
Sets Port P05 to High Status. More... | |
INLINE void | PORT_P05_Output_Low_Set (void) |
Sets Port P05 to Low Status. More... | |
INLINE void | PORT_P05_Output_Toggle_Set (void) |
Sets Port P05 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 uint8 | PORT_P05_Get (void) |
Reads Port P05 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_P05_OpenDrain_En (void) |
Enables Output OpenDrain for Port P05. More... | |
INLINE void | PORT_P05_OpenDrain_Dis (void) |
Disables Output OpenDrain for Port P05. 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_P05_PullUpDown_En (void) |
Enables PullUpDown for Port P05. More... | |
INLINE void | PORT_P05_PullUpDown_Dis (void) |
Disables PullUpDown for Port P05. 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_P05_PullUp_Set (void) |
Sets PullUp for Port P05. More... | |
INLINE void | PORT_P05_PullDown_Set (void) |
Sets PullDown for Port P05. More... | |
INLINE void | PORT_P00_Driver_Mode_Sel (uint8 mode) |
Selects P0.0 Port Driver Mode. More... | |
INLINE void | PORT_P01_Driver_Mode_Sel (uint8 mode) |
Selects P0.1 Port Driver Mode. More... | |
INLINE void | PORT_P02_Driver_Mode_Sel (uint8 mode) |
Selects P0.2 Port Driver Mode. More... | |
INLINE void | PORT_P03_Driver_Mode_Sel (uint8 mode) |
Selects P0.3 Port Driver Mode. More... | |
INLINE void | PORT_P04_Driver_Mode_Sel (uint8 mode) |
Selects P0.4 Port Driver Mode. More... | |
INLINE void | PORT_P05_Driver_Mode_Sel (uint8 mode) |
Selects P0.5 Port Driver Mode. 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_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_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_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_OpenDrain_En (void) |
Enables Output OpenDrain for Port P12. More... | |
INLINE void | PORT_P12_OpenDrain_Dis (void) |
Disables Output OpenDrain for Port P12. 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_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_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_P10_Driver_Mode_Sel (uint8 mode) |
Selects P1.0 Port Driver Mode. More... | |
INLINE void | PORT_P11_Driver_Mode_Sel (uint8 mode) |
Selects P1.1 Port Driver Mode. More... | |
INLINE void | PORT_P12_Driver_Mode_Sel (uint8 mode) |
Selects P1.2 Port Driver Mode. More... | |
INLINE void | PORT_P14_Driver_Mode_Sel (uint8 mode) |
Selects P1.4 Port Driver Mode. 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_P21_Dis (void) |
Sets Port P21 to Disable. More... | |
INLINE void | PORT_P21_Input_Set (void) |
Sets Port P21 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_P27_Dis (void) |
Sets Port P27 to Disable. More... | |
INLINE void | PORT_P27_Input_Set (void) |
Sets Port P27 to Input. More... | |
INLINE uint8 | PORT_P20_Get (void) |
Reads Port P20 Status. More... | |
INLINE uint8 | PORT_P21_Get (void) |
Reads Port P21 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_P27_Get (void) |
Reads Port P27 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_P21_PullUpDown_En (void) |
Enables PullUpDown for Port P21. More... | |
INLINE void | PORT_P21_PullUpDown_Dis (void) |
Disables PullUpDown for Port P21. 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_P27_PullUpDown_En (void) |
Enables PullUpDown for Port P27. More... | |
INLINE void | PORT_P27_PullUpDown_Dis (void) |
Disables PullUpDown for Port P27. 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_P21_PullUp_Set (void) |
Sets PullUp for Port P21. More... | |
INLINE void | PORT_P21_PullDown_Set (void) |
Sets PullDown for Port P21. 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_P27_PullUp_Set (void) |
Sets PullUp for Port P27. More... | |
INLINE void | PORT_P27_PullDown_Set (void) |
Sets PullDown for Port P27. More... | |
INLINE void | PORT_Temp_Comp_Sel (uint8 range) |
Selects Temperature Compensation range. More... | |
#define PORT_ACTION_CLEAR (0U) |
Port actions, clear action.
#define PORT_ACTION_INPUT (3U) |
Port actions, input mode.
#define PORT_ACTION_OUTPUT (4U) |
Port actions, output mode.
#define PORT_ACTION_SET (1U) |
Port actions, set action.
#define PORT_ACTION_TOGGLE (2U) |
Port actions, toggle action.
#define PORT_P0 (0U) |
Port indices, Port P0.
#define PORT_P1 (1U) |
Port indices, Port P1.
#define PORT_P2 (2U) |
Port indices, Port P2.
#define PORT_TCC_RANGE_1 (0U) |
Port Temperature Compensation Control, range 1: from -40°C to 0°C.
#define PORT_TCC_RANGE_2 (1U) |
Port Temperature Compensation Control, range 2: from 0°C to 40°C.
#define PORT_TCC_RANGE_3 (2U) |
Port Temperature Compensation Control, range 3: from 40°C to 80°C.
#define PORT_TCC_RANGE_4 (3U) |
Port Temperature Compensation Control, range 4: from 80°C to 150°C.
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 Alternative Settings.
PortPin | Port and pin to change, e.g 0x12U for P1.2 |
AltSel | Alternative Settings Select |
Example
This example sets the P1.2 to Output and configures it to Normal GPIO.
void PORT_Init | ( | void | ) |
Initializes the ports.
Selects P0.0 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P0.0 Port Driver Strong driver and soft edge mode.
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.
Selects P0.1 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P0.1 Port Driver Strong driver and soft edge mode.
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.
Selects P0.2 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P0.2 Port Driver Strong driver and soft edge mode.
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.
Selects P0.3 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P0.3 Port Driver Strong driver and soft edge mode.
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.
Selects P0.4 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P0.4 Port Driver Strong driver and soft edge mode.
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.
Selects P0.5 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P0.5 Port Driver Strong driver and soft edge mode.
Reads Port P05 Status.
Example
This example configures P05 as input and reads the status.
INLINE void PORT_P05_Input_Set | ( | void | ) |
Sets Port P05 to Input.
Example
This example configures P05 as input and reads the status.
INLINE void PORT_P05_OpenDrain_Dis | ( | void | ) |
Disables Output OpenDrain for Port P05.
Example
This example configures P05 as output, Low and Normal Mode.
INLINE void PORT_P05_OpenDrain_En | ( | void | ) |
Enables Output OpenDrain for Port P05.
Example
This example configures P05 as output, Low and Open-Drain.
INLINE void PORT_P05_Output_High_Set | ( | void | ) |
Sets Port P05 to High Status.
Example
This example configures P05 as output, High and Open-Drain.
INLINE void PORT_P05_Output_Low_Set | ( | void | ) |
Sets Port P05 to Low Status.
Example
This example configures P05 as output, Low and Open-Drain.
INLINE void PORT_P05_Output_Set | ( | void | ) |
Sets Port P05 to Output.
Example
This example configures P05 as output, High and Open-Drain.
INLINE void PORT_P05_Output_Toggle_Set | ( | void | ) |
Sets Port P05 to Toggle Status.
Example
This example configures P05 as output, Toggle and Open-Drain.
INLINE void PORT_P05_PullDown_Set | ( | void | ) |
Sets PullDown for Port P05.
Example
This example sets PullDown for Port P05.
INLINE void PORT_P05_PullUp_Set | ( | void | ) |
Sets PullUp for Port P05.
Example
This example sets PullUp for Port P05.
INLINE void PORT_P05_PullUpDown_Dis | ( | void | ) |
Disables PullUpDown for Port P05.
Example
This example disables PullUpDown for Port P05.
INLINE void PORT_P05_PullUpDown_En | ( | void | ) |
Enables PullUpDown for Port P05.
Example
This example enables PullUpDown for Port P05.
Selects P1.0 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P1.0 Port Driver Strong driver and soft edge mode.
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.
Selects P1.1 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P1.1 Port Driver Strong driver and soft edge mode.
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.
Selects P1.2 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P1.2 Port Driver Strong driver and soft edge mode.
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_OpenDrain_Dis | ( | void | ) |
Disables Output OpenDrain for Port P12.
Example
This example configures P12 as output, Low and Normal Mode.
INLINE void PORT_P12_OpenDrain_En | ( | void | ) |
Enables Output OpenDrain for Port P12.
Example
This example configures P12 as output, Low and Open-Drain.
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_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.
Selects P1.4 Port Driver Mode.
mode | Driver Mode |
Example
This example sets P1.4 Port Driver Strong driver and soft edge mode.
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_P21_Dis | ( | void | ) |
Sets Port P21 to Disable.
Example
This example sets P21 to disable.
Reads Port P21 Status.
Example
This example configures P21 as input and reads the status.
INLINE void PORT_P21_Input_Set | ( | void | ) |
Sets Port P21 to Input.
Example
This example configures P21 as input and reads the status.
INLINE void PORT_P21_PullDown_Set | ( | void | ) |
Sets PullDown for Port P21.
Example
This example sets PullDown for Port P21.
INLINE void PORT_P21_PullUp_Set | ( | void | ) |
Sets PullUp for Port P21.
Example
This example sets PullUp for Port P21.
INLINE void PORT_P21_PullUpDown_Dis | ( | void | ) |
Disables PullUpDown for Port P21.
Example
This example disables PullUpDown for Port P21.
INLINE void PORT_P21_PullUpDown_En | ( | void | ) |
Enables PullUpDown for Port P21.
Example
This example enables PullUpDown for Port P21.
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_P27_Dis | ( | void | ) |
Sets Port P27 to Disable.
Example
This example sets P27 to disable.
Reads Port P27 Status.
Example
This example configures P27 as input and reads the status.
INLINE void PORT_P27_Input_Set | ( | void | ) |
Sets Port P27 to Input.
Example
This example configures P27 as input and reads the status.
INLINE void PORT_P27_PullDown_Set | ( | void | ) |
Sets PullDown for Port P27.
Example
This example sets PullDown for Port P27.
INLINE void PORT_P27_PullUp_Set | ( | void | ) |
Sets PullUp for Port P27.
Example
This example sets PullUp for Port P27.
INLINE void PORT_P27_PullUpDown_Dis | ( | void | ) |
Disables PullUpDown for Port P27.
Example
This example disables PullUpDown for Port P27.
INLINE void PORT_P27_PullUpDown_En | ( | void | ) |
Enables PullUpDown for Port P27.
Example
This example enables PullUpDown for Port P27.
Reads a port pin.
PortPin | Port and pin to change, 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 .
Selects Temperature Compensation range.
range | Temperature Compensation range |
Example
This example sets Temperature Compensation to range 2 (from 0°C to 40°C).