Infineon MOTIX™ MCU TLE985x Device Family SDK
Macros | Functions
port.h File Reference

Go to the source code of this file.

Detailed Description

Port/GPIO low level access library.

Version
V0.2.4
Date
28. Aug 2023
Note
This file violates [MISRA 2012 Rule 11.1, required], [MISRA 2012 Rule 11.4, advisory], [MISRA 2012 Rule 11.6, required], [MISRA 2012 Rule 2.5, advisory], [MISRA 2012 Rule 8.7, advisory]

Include Graph

Include dependency graph for port.h:

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...
 

Macro Definition Documentation

◆ PORT_ACTION_CLEAR

#define PORT_ACTION_CLEAR   (0U)

Port actions, clear action.

◆ PORT_ACTION_INPUT

#define PORT_ACTION_INPUT   (3U)

Port actions, input mode.

◆ PORT_ACTION_OUTPUT

#define PORT_ACTION_OUTPUT   (4U)

Port actions, output mode.

◆ PORT_ACTION_SET

#define PORT_ACTION_SET   (1U)

Port actions, set action.

◆ PORT_ACTION_TOGGLE

#define PORT_ACTION_TOGGLE   (2U)

Port actions, toggle action.

◆ PORT_P0

#define PORT_P0   (0U)

Port indices, Port P0.

◆ PORT_P1

#define PORT_P1   (1U)

Port indices, Port P1.

◆ PORT_P2

#define PORT_P2   (2U)

Port indices, Port P2.

◆ PORT_TCC_RANGE_1

#define PORT_TCC_RANGE_1   (0U)

Port Temperature Compensation Control, range 1: from -40°C to 0°C.

◆ PORT_TCC_RANGE_2

#define PORT_TCC_RANGE_2   (1U)

Port Temperature Compensation Control, range 2: from 0°C to 40°C.

◆ PORT_TCC_RANGE_3

#define PORT_TCC_RANGE_3   (2U)

Port Temperature Compensation Control, range 3: from 40°C to 80°C.

◆ PORT_TCC_RANGE_4

#define PORT_TCC_RANGE_4   (3U)

Port Temperature Compensation Control, range 4: from 80°C to 150°C.

Function Documentation

◆ PORT_ChangePin()

void PORT_ChangePin ( uint32  PortPin,
uint32  Action 
)

Sets/clears/toggles a port pin in a safe way, i.e. with interrupt disable.

Parameters
PortPinPort and pin to change, e.g 0x12U for P1.2
ActionPORT_ACTION_SET, PORT_ACTION_CLEAR or PORT_ACTION_TOGGLE

Example

This example toggles the P1.2 .

void Example_Function(void)
{
}
#define PORT_ACTION_TOGGLE
Port actions, toggle action.
Definition: port.h:88
void PORT_ChangePin(uint32 PortPin, uint32 Action)
Sets/clears/toggles a port pin in a safe way, i.e. with interrupt disable.

◆ PORT_ChangePinAlt()

void PORT_ChangePinAlt ( uint32  PortPin,
uint8  AltSel 
)

Change Alternative Settings.

Parameters
PortPinPort and pin to change, e.g 0x12U for P1.2
AltSelAlternative Settings Select

Example

This example sets the P1.2 to Output and configures it to Normal GPIO.

void Example_Function(void)
{
PORT_ChangePinAlt(0x12, 0u);
}
INLINE void PORT_P12_Output_Set(void)
Sets Port P12 to Output.
Definition: port.h:3213
void PORT_ChangePinAlt(uint32 PortPin, uint8 AltSel)
Change Alternative Settings.

◆ PORT_Init()

void PORT_Init ( void  )

Initializes the ports.

◆ PORT_P00_Driver_Mode_Sel()

INLINE void PORT_P00_Driver_Mode_Sel ( uint8  mode)

Selects P0.0 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P0.0 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P00_Driver_Mode_Sel(uint8 mode)
Selects P0.0 Port Driver Mode.
Definition: port.h:3163

◆ PORT_P00_Get()

INLINE uint8 PORT_P00_Get ( void  )

Reads Port P00 Status.

Returns
P00 Status

Example

This example configures P00 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P00_Get();
}
INLINE void PORT_P00_Input_Set(void)
Sets Port P00 to Input.
Definition: port.h:2808
INLINE uint8 PORT_P00_Get(void)
Reads Port P00 Status.
Definition: port.h:2953
uint8_t uint8
8 bit unsigned value
Definition: types.h:153

◆ PORT_P00_Input_Set()

INLINE void PORT_P00_Input_Set ( void  )

Sets Port P00 to Input.

Example

This example configures P00 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P00_Get();
}

◆ PORT_P00_OpenDrain_Dis()

INLINE void PORT_P00_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P00.

Example

This example configures P00 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P00_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P00.
Definition: port.h:2988
INLINE void PORT_P00_Output_Set(void)
Sets Port P00 to Output.
Definition: port.h:2803
INLINE void PORT_P00_Output_Low_Set(void)
Sets Port P00 to Low Status.
Definition: port.h:2868

◆ PORT_P00_OpenDrain_En()

INLINE void PORT_P00_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P00.

Example

This example configures P00 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P00_OpenDrain_En(void)
Enables Output OpenDrain for Port P00.
Definition: port.h:2983

◆ PORT_P00_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P00_Output_High_Set(void)
Sets Port P00 to High Status.
Definition: port.h:2863

◆ PORT_P00_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P00_Output_Set()

INLINE void PORT_P00_Output_Set ( void  )

Sets Port P00 to Output.

Example

This example configures P00 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P00_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P00_Output_Toggle_Set(void)
Sets Port P00 to Toggle Status.
Definition: port.h:2873

◆ PORT_P00_PullDown_Set()

INLINE void PORT_P00_PullDown_Set ( void  )

Sets PullDown for Port P00.

Example

This example sets PullDown for Port P00.

void Example_Function(void)
{
}
INLINE void PORT_P00_PullDown_Set(void)
Sets PullDown for Port P00.
Definition: port.h:3108
INLINE void PORT_P00_PullUpDown_En(void)
Enables PullUpDown for Port P00.
Definition: port.h:3043

◆ PORT_P00_PullUp_Set()

INLINE void PORT_P00_PullUp_Set ( void  )

Sets PullUp for Port P00.

Example

This example sets PullUp for Port P00.

void Example_Function(void)
{
}
INLINE void PORT_P00_PullUp_Set(void)
Sets PullUp for Port P00.
Definition: port.h:3103

◆ PORT_P00_PullUpDown_Dis()

INLINE void PORT_P00_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P00.

Example

This example disables PullUpDown for Port P00.

void Example_Function(void)
{
}
INLINE void PORT_P00_PullUpDown_Dis(void)
Disables PullUpDown for Port P00.
Definition: port.h:3048

◆ PORT_P00_PullUpDown_En()

INLINE void PORT_P00_PullUpDown_En ( void  )

Enables PullUpDown for Port P00.

Example

This example enables PullUpDown for Port P00.

void Example_Function(void)
{
}

◆ PORT_P01_Driver_Mode_Sel()

INLINE void PORT_P01_Driver_Mode_Sel ( uint8  mode)

Selects P0.1 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P0.1 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P01_Driver_Mode_Sel(uint8 mode)
Selects P0.1 Port Driver Mode.
Definition: port.h:3168

◆ PORT_P01_Get()

INLINE uint8 PORT_P01_Get ( void  )

Reads Port P01 Status.

Returns
P01 Status

Example

This example configures P01 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P01_Get();
}
INLINE void PORT_P01_Input_Set(void)
Sets Port P01 to Input.
Definition: port.h:2818
INLINE uint8 PORT_P01_Get(void)
Reads Port P01 Status.
Definition: port.h:2958

◆ PORT_P01_Input_Set()

INLINE void PORT_P01_Input_Set ( void  )

Sets Port P01 to Input.

Example

This example configures P01 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P01_Get();
}

◆ PORT_P01_OpenDrain_Dis()

INLINE void PORT_P01_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P01.

Example

This example configures P01 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P01_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P01.
Definition: port.h:2998
INLINE void PORT_P01_Output_Set(void)
Sets Port P01 to Output.
Definition: port.h:2813
INLINE void PORT_P01_Output_Low_Set(void)
Sets Port P01 to Low Status.
Definition: port.h:2883

◆ PORT_P01_OpenDrain_En()

INLINE void PORT_P01_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P01.

Example

This example configures P01 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P01_OpenDrain_En(void)
Enables Output OpenDrain for Port P01.
Definition: port.h:2993

◆ PORT_P01_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P01_Output_High_Set(void)
Sets Port P01 to High Status.
Definition: port.h:2878

◆ PORT_P01_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P01_Output_Set()

INLINE void PORT_P01_Output_Set ( void  )

Sets Port P01 to Output.

Example

This example configures P01 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P01_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P01_Output_Toggle_Set(void)
Sets Port P01 to Toggle Status.
Definition: port.h:2888

◆ PORT_P01_PullDown_Set()

INLINE void PORT_P01_PullDown_Set ( void  )

Sets PullDown for Port P01.

Example

This example sets PullDown for Port P01.

void Example_Function(void)
{
}
INLINE void PORT_P01_PullDown_Set(void)
Sets PullDown for Port P01.
Definition: port.h:3118
INLINE void PORT_P01_PullUpDown_En(void)
Enables PullUpDown for Port P01.
Definition: port.h:3053

◆ PORT_P01_PullUp_Set()

INLINE void PORT_P01_PullUp_Set ( void  )

Sets PullUp for Port P01.

Example

This example sets PullUp for Port P01.

void Example_Function(void)
{
}
INLINE void PORT_P01_PullUp_Set(void)
Sets PullUp for Port P01.
Definition: port.h:3113

◆ PORT_P01_PullUpDown_Dis()

INLINE void PORT_P01_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P01.

Example

This example disables PullUpDown for Port P01.

void Example_Function(void)
{
}
INLINE void PORT_P01_PullUpDown_Dis(void)
Disables PullUpDown for Port P01.
Definition: port.h:3058

◆ PORT_P01_PullUpDown_En()

INLINE void PORT_P01_PullUpDown_En ( void  )

Enables PullUpDown for Port P01.

Example

This example enables PullUpDown for Port P01.

void Example_Function(void)
{
}

◆ PORT_P02_Driver_Mode_Sel()

INLINE void PORT_P02_Driver_Mode_Sel ( uint8  mode)

Selects P0.2 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P0.2 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P02_Driver_Mode_Sel(uint8 mode)
Selects P0.2 Port Driver Mode.
Definition: port.h:3173

◆ PORT_P02_Get()

INLINE uint8 PORT_P02_Get ( void  )

Reads Port P02 Status.

Returns
P02 Status

Example

This example configures P02 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P02_Get();
}
INLINE uint8 PORT_P02_Get(void)
Reads Port P02 Status.
Definition: port.h:2963
INLINE void PORT_P02_Input_Set(void)
Sets Port P02 to Input.
Definition: port.h:2828

◆ PORT_P02_Input_Set()

INLINE void PORT_P02_Input_Set ( void  )

Sets Port P02 to Input.

Example

This example configures P02 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P02_Get();
}

◆ PORT_P02_OpenDrain_Dis()

INLINE void PORT_P02_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P02.

Example

This example configures P02 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P02_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P02.
Definition: port.h:3008
INLINE void PORT_P02_Output_Low_Set(void)
Sets Port P02 to Low Status.
Definition: port.h:2898
INLINE void PORT_P02_Output_Set(void)
Sets Port P02 to Output.
Definition: port.h:2823

◆ PORT_P02_OpenDrain_En()

INLINE void PORT_P02_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P02.

Example

This example configures P02 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P02_OpenDrain_En(void)
Enables Output OpenDrain for Port P02.
Definition: port.h:3003

◆ PORT_P02_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P02_Output_High_Set(void)
Sets Port P02 to High Status.
Definition: port.h:2893

◆ PORT_P02_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P02_Output_Set()

INLINE void PORT_P02_Output_Set ( void  )

Sets Port P02 to Output.

Example

This example configures P02 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P02_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P02_Output_Toggle_Set(void)
Sets Port P02 to Toggle Status.
Definition: port.h:2903

◆ PORT_P02_PullDown_Set()

INLINE void PORT_P02_PullDown_Set ( void  )

Sets PullDown for Port P02.

Example

This example sets PullDown for Port P02.

void Example_Function(void)
{
}
INLINE void PORT_P02_PullDown_Set(void)
Sets PullDown for Port P02.
Definition: port.h:3128
INLINE void PORT_P02_PullUpDown_En(void)
Enables PullUpDown for Port P02.
Definition: port.h:3063

◆ PORT_P02_PullUp_Set()

INLINE void PORT_P02_PullUp_Set ( void  )

Sets PullUp for Port P02.

Example

This example sets PullUp for Port P02.

void Example_Function(void)
{
}
INLINE void PORT_P02_PullUp_Set(void)
Sets PullUp for Port P02.
Definition: port.h:3123

◆ PORT_P02_PullUpDown_Dis()

INLINE void PORT_P02_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P02.

Example

This example disables PullUpDown for Port P02.

void Example_Function(void)
{
}
INLINE void PORT_P02_PullUpDown_Dis(void)
Disables PullUpDown for Port P02.
Definition: port.h:3068

◆ PORT_P02_PullUpDown_En()

INLINE void PORT_P02_PullUpDown_En ( void  )

Enables PullUpDown for Port P02.

Example

This example enables PullUpDown for Port P02.

void Example_Function(void)
{
}

◆ PORT_P03_Driver_Mode_Sel()

INLINE void PORT_P03_Driver_Mode_Sel ( uint8  mode)

Selects P0.3 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P0.3 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P03_Driver_Mode_Sel(uint8 mode)
Selects P0.3 Port Driver Mode.
Definition: port.h:3178

◆ PORT_P03_Get()

INLINE uint8 PORT_P03_Get ( void  )

Reads Port P03 Status.

Returns
P03 Status

Example

This example configures P03 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P03_Get();
}
INLINE void PORT_P03_Input_Set(void)
Sets Port P03 to Input.
Definition: port.h:2838
INLINE uint8 PORT_P03_Get(void)
Reads Port P03 Status.
Definition: port.h:2968

◆ PORT_P03_Input_Set()

INLINE void PORT_P03_Input_Set ( void  )

Sets Port P03 to Input.

Example

This example configures P03 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P03_Get();
}

◆ PORT_P03_OpenDrain_Dis()

INLINE void PORT_P03_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P03.

Example

This example configures P03 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P03_Output_Set(void)
Sets Port P03 to Output.
Definition: port.h:2833
INLINE void PORT_P03_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P03.
Definition: port.h:3018
INLINE void PORT_P03_Output_Low_Set(void)
Sets Port P03 to Low Status.
Definition: port.h:2913

◆ PORT_P03_OpenDrain_En()

INLINE void PORT_P03_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P03.

Example

This example configures P03 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P03_OpenDrain_En(void)
Enables Output OpenDrain for Port P03.
Definition: port.h:3013

◆ PORT_P03_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P03_Output_High_Set(void)
Sets Port P03 to High Status.
Definition: port.h:2908

◆ PORT_P03_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P03_Output_Set()

INLINE void PORT_P03_Output_Set ( void  )

Sets Port P03 to Output.

Example

This example configures P03 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P03_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P03_Output_Toggle_Set(void)
Sets Port P03 to Toggle Status.
Definition: port.h:2918

◆ PORT_P03_PullDown_Set()

INLINE void PORT_P03_PullDown_Set ( void  )

Sets PullDown for Port P03.

Example

This example sets PullDown for Port P03.

void Example_Function(void)
{
}
INLINE void PORT_P03_PullDown_Set(void)
Sets PullDown for Port P03.
Definition: port.h:3138
INLINE void PORT_P03_PullUpDown_En(void)
Enables PullUpDown for Port P03.
Definition: port.h:3073

◆ PORT_P03_PullUp_Set()

INLINE void PORT_P03_PullUp_Set ( void  )

Sets PullUp for Port P03.

Example

This example sets PullUp for Port P03.

void Example_Function(void)
{
}
INLINE void PORT_P03_PullUp_Set(void)
Sets PullUp for Port P03.
Definition: port.h:3133

◆ PORT_P03_PullUpDown_Dis()

INLINE void PORT_P03_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P03.

Example

This example disables PullUpDown for Port P03.

void Example_Function(void)
{
}
INLINE void PORT_P03_PullUpDown_Dis(void)
Disables PullUpDown for Port P03.
Definition: port.h:3078

◆ PORT_P03_PullUpDown_En()

INLINE void PORT_P03_PullUpDown_En ( void  )

Enables PullUpDown for Port P03.

Example

This example enables PullUpDown for Port P03.

void Example_Function(void)
{
}

◆ PORT_P04_Driver_Mode_Sel()

INLINE void PORT_P04_Driver_Mode_Sel ( uint8  mode)

Selects P0.4 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P0.4 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P04_Driver_Mode_Sel(uint8 mode)
Selects P0.4 Port Driver Mode.
Definition: port.h:3183

◆ PORT_P04_Get()

INLINE uint8 PORT_P04_Get ( void  )

Reads Port P04 Status.

Returns
P04 Status

Example

This example configures P04 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P04_Get();
}
INLINE void PORT_P04_Input_Set(void)
Sets Port P04 to Input.
Definition: port.h:2848
INLINE uint8 PORT_P04_Get(void)
Reads Port P04 Status.
Definition: port.h:2973

◆ PORT_P04_Input_Set()

INLINE void PORT_P04_Input_Set ( void  )

Sets Port P04 to Input.

Example

This example configures P04 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P04_Get();
}

◆ PORT_P04_OpenDrain_Dis()

INLINE void PORT_P04_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P04.

Example

This example configures P04 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P04_Output_Low_Set(void)
Sets Port P04 to Low Status.
Definition: port.h:2928
INLINE void PORT_P04_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P04.
Definition: port.h:3028
INLINE void PORT_P04_Output_Set(void)
Sets Port P04 to Output.
Definition: port.h:2843

◆ PORT_P04_OpenDrain_En()

INLINE void PORT_P04_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P04.

Example

This example configures P04 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P04_OpenDrain_En(void)
Enables Output OpenDrain for Port P04.
Definition: port.h:3023

◆ PORT_P04_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P04_Output_High_Set(void)
Sets Port P04 to High Status.
Definition: port.h:2923

◆ PORT_P04_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P04_Output_Set()

INLINE void PORT_P04_Output_Set ( void  )

Sets Port P04 to Output.

Example

This example configures P04 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P04_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P04_Output_Toggle_Set(void)
Sets Port P04 to Toggle Status.
Definition: port.h:2933

◆ PORT_P04_PullDown_Set()

INLINE void PORT_P04_PullDown_Set ( void  )

Sets PullDown for Port P04.

Example

This example sets PullDown for Port P04.

void Example_Function(void)
{
}
INLINE void PORT_P04_PullUpDown_En(void)
Enables PullUpDown for Port P04.
Definition: port.h:3083
INLINE void PORT_P04_PullDown_Set(void)
Sets PullDown for Port P04.
Definition: port.h:3148

◆ PORT_P04_PullUp_Set()

INLINE void PORT_P04_PullUp_Set ( void  )

Sets PullUp for Port P04.

Example

This example sets PullUp for Port P04.

void Example_Function(void)
{
}
INLINE void PORT_P04_PullUp_Set(void)
Sets PullUp for Port P04.
Definition: port.h:3143

◆ PORT_P04_PullUpDown_Dis()

INLINE void PORT_P04_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P04.

Example

This example disables PullUpDown for Port P04.

void Example_Function(void)
{
}
INLINE void PORT_P04_PullUpDown_Dis(void)
Disables PullUpDown for Port P04.
Definition: port.h:3088

◆ PORT_P04_PullUpDown_En()

INLINE void PORT_P04_PullUpDown_En ( void  )

Enables PullUpDown for Port P04.

Example

This example enables PullUpDown for Port P04.

void Example_Function(void)
{
}

◆ PORT_P05_Driver_Mode_Sel()

INLINE void PORT_P05_Driver_Mode_Sel ( uint8  mode)

Selects P0.5 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P0.5 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P05_Driver_Mode_Sel(uint8 mode)
Selects P0.5 Port Driver Mode.
Definition: port.h:3188

◆ PORT_P05_Get()

INLINE uint8 PORT_P05_Get ( void  )

Reads Port P05 Status.

Returns
P05 Status

Example

This example configures P05 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P05_Get();
}
INLINE uint8 PORT_P05_Get(void)
Reads Port P05 Status.
Definition: port.h:2978
INLINE void PORT_P05_Input_Set(void)
Sets Port P05 to Input.
Definition: port.h:2858

◆ PORT_P05_Input_Set()

INLINE void PORT_P05_Input_Set ( void  )

Sets Port P05 to Input.

Example

This example configures P05 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P05_Get();
}

◆ PORT_P05_OpenDrain_Dis()

INLINE void PORT_P05_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P05.

Example

This example configures P05 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P05_Output_Set(void)
Sets Port P05 to Output.
Definition: port.h:2853
INLINE void PORT_P05_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P05.
Definition: port.h:3038
INLINE void PORT_P05_Output_Low_Set(void)
Sets Port P05 to Low Status.
Definition: port.h:2943

◆ PORT_P05_OpenDrain_En()

INLINE void PORT_P05_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P05.

Example

This example configures P05 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P05_OpenDrain_En(void)
Enables Output OpenDrain for Port P05.
Definition: port.h:3033

◆ PORT_P05_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P05_Output_High_Set(void)
Sets Port P05 to High Status.
Definition: port.h:2938

◆ PORT_P05_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P05_Output_Set()

INLINE void PORT_P05_Output_Set ( void  )

Sets Port P05 to Output.

Example

This example configures P05 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P05_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P05_Output_Toggle_Set(void)
Sets Port P05 to Toggle Status.
Definition: port.h:2948

◆ PORT_P05_PullDown_Set()

INLINE void PORT_P05_PullDown_Set ( void  )

Sets PullDown for Port P05.

Example

This example sets PullDown for Port P05.

void Example_Function(void)
{
}
INLINE void PORT_P05_PullUpDown_En(void)
Enables PullUpDown for Port P05.
Definition: port.h:3093
INLINE void PORT_P05_PullDown_Set(void)
Sets PullDown for Port P05.
Definition: port.h:3158

◆ PORT_P05_PullUp_Set()

INLINE void PORT_P05_PullUp_Set ( void  )

Sets PullUp for Port P05.

Example

This example sets PullUp for Port P05.

void Example_Function(void)
{
}
INLINE void PORT_P05_PullUp_Set(void)
Sets PullUp for Port P05.
Definition: port.h:3153

◆ PORT_P05_PullUpDown_Dis()

INLINE void PORT_P05_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P05.

Example

This example disables PullUpDown for Port P05.

void Example_Function(void)
{
}
INLINE void PORT_P05_PullUpDown_Dis(void)
Disables PullUpDown for Port P05.
Definition: port.h:3098

◆ PORT_P05_PullUpDown_En()

INLINE void PORT_P05_PullUpDown_En ( void  )

Enables PullUpDown for Port P05.

Example

This example enables PullUpDown for Port P05.

void Example_Function(void)
{
}

◆ PORT_P10_Driver_Mode_Sel()

INLINE void PORT_P10_Driver_Mode_Sel ( uint8  mode)

Selects P1.0 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P1.0 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P10_Driver_Mode_Sel(uint8 mode)
Selects P1.0 Port Driver Mode.
Definition: port.h:3433

◆ PORT_P10_Get()

INLINE uint8 PORT_P10_Get ( void  )

Reads Port P10 Status.

Returns
P10 Status

Example

This example configures P10 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P10_Get();
}
INLINE void PORT_P10_Input_Set(void)
Sets Port P10 to Input.
Definition: port.h:3198
INLINE uint8 PORT_P10_Get(void)
Reads Port P10 Status.
Definition: port.h:3293

◆ PORT_P10_Input_Set()

INLINE void PORT_P10_Input_Set ( void  )

Sets Port P10 to Input.

Example

This example configures P10 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P10_Get();
}

◆ PORT_P10_OpenDrain_Dis()

INLINE void PORT_P10_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P10.

Example

This example configures P10 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P10_Output_Set(void)
Sets Port P10 to Output.
Definition: port.h:3193
INLINE void PORT_P10_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P10.
Definition: port.h:3318
INLINE void PORT_P10_Output_Low_Set(void)
Sets Port P10 to Low Status.
Definition: port.h:3238

◆ PORT_P10_OpenDrain_En()

INLINE void PORT_P10_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P10.

Example

This example configures P10 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P10_OpenDrain_En(void)
Enables Output OpenDrain for Port P10.
Definition: port.h:3313

◆ PORT_P10_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P10_Output_High_Set(void)
Sets Port P10 to High Status.
Definition: port.h:3233

◆ PORT_P10_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P10_Output_Set()

INLINE void PORT_P10_Output_Set ( void  )

Sets Port P10 to Output.

Example

This example configures P10 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P10_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P10_Output_Toggle_Set(void)
Sets Port P10 to Toggle Status.
Definition: port.h:3243

◆ PORT_P10_PullDown_Set()

INLINE void PORT_P10_PullDown_Set ( void  )

Sets PullDown for Port P10.

Example

This example sets PullDown for Port P10.

void Example_Function(void)
{
}
INLINE void PORT_P10_PullUpDown_En(void)
Enables PullUpDown for Port P10.
Definition: port.h:3353
INLINE void PORT_P10_PullDown_Set(void)
Sets PullDown for Port P10.
Definition: port.h:3398

◆ PORT_P10_PullUp_Set()

INLINE void PORT_P10_PullUp_Set ( void  )

Sets PullUp for Port P10.

Example

This example sets PullUp for Port P10.

void Example_Function(void)
{
}
INLINE void PORT_P10_PullUp_Set(void)
Sets PullUp for Port P10.
Definition: port.h:3393

◆ PORT_P10_PullUpDown_Dis()

INLINE void PORT_P10_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P10.

Example

This example disables PullUpDown for Port P10.

void Example_Function(void)
{
}
INLINE void PORT_P10_PullUpDown_Dis(void)
Disables PullUpDown for Port P10.
Definition: port.h:3358

◆ PORT_P10_PullUpDown_En()

INLINE void PORT_P10_PullUpDown_En ( void  )

Enables PullUpDown for Port P10.

Example

This example enables PullUpDown for Port P10.

void Example_Function(void)
{
}

◆ PORT_P11_Driver_Mode_Sel()

INLINE void PORT_P11_Driver_Mode_Sel ( uint8  mode)

Selects P1.1 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P1.1 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P11_Driver_Mode_Sel(uint8 mode)
Selects P1.1 Port Driver Mode.
Definition: port.h:3438

◆ PORT_P11_Get()

INLINE uint8 PORT_P11_Get ( void  )

Reads Port P11 Status.

Returns
P11 Status

Example

This example configures P11 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P11_Get();
}
INLINE void PORT_P11_Input_Set(void)
Sets Port P11 to Input.
Definition: port.h:3208
INLINE uint8 PORT_P11_Get(void)
Reads Port P11 Status.
Definition: port.h:3298

◆ PORT_P11_Input_Set()

INLINE void PORT_P11_Input_Set ( void  )

Sets Port P11 to Input.

Example

This example configures P11 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P11_Get();
}

◆ PORT_P11_OpenDrain_Dis()

INLINE void PORT_P11_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P11.

Example

This example configures P11 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P11_Output_Low_Set(void)
Sets Port P11 to Low Status.
Definition: port.h:3253
INLINE void PORT_P11_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P11.
Definition: port.h:3328
INLINE void PORT_P11_Output_Set(void)
Sets Port P11 to Output.
Definition: port.h:3203

◆ PORT_P11_OpenDrain_En()

INLINE void PORT_P11_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P11.

Example

This example configures P11 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P11_OpenDrain_En(void)
Enables Output OpenDrain for Port P11.
Definition: port.h:3323

◆ PORT_P11_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P11_Output_High_Set(void)
Sets Port P11 to High Status.
Definition: port.h:3248

◆ PORT_P11_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P11_Output_Set()

INLINE void PORT_P11_Output_Set ( void  )

Sets Port P11 to Output.

Example

This example configures P11 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P11_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P11_Output_Toggle_Set(void)
Sets Port P11 to Toggle Status.
Definition: port.h:3258

◆ PORT_P11_PullDown_Set()

INLINE void PORT_P11_PullDown_Set ( void  )

Sets PullDown for Port P11.

Example

This example sets PullDown for Port P11.

void Example_Function(void)
{
}
INLINE void PORT_P11_PullUpDown_En(void)
Enables PullUpDown for Port P11.
Definition: port.h:3363
INLINE void PORT_P11_PullDown_Set(void)
Sets PullDown for Port P11.
Definition: port.h:3408

◆ PORT_P11_PullUp_Set()

INLINE void PORT_P11_PullUp_Set ( void  )

Sets PullUp for Port P11.

Example

This example sets PullUp for Port P11.

void Example_Function(void)
{
}
INLINE void PORT_P11_PullUp_Set(void)
Sets PullUp for Port P11.
Definition: port.h:3403

◆ PORT_P11_PullUpDown_Dis()

INLINE void PORT_P11_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P11.

Example

This example disables PullUpDown for Port P11.

void Example_Function(void)
{
}
INLINE void PORT_P11_PullUpDown_Dis(void)
Disables PullUpDown for Port P11.
Definition: port.h:3368

◆ PORT_P11_PullUpDown_En()

INLINE void PORT_P11_PullUpDown_En ( void  )

Enables PullUpDown for Port P11.

Example

This example enables PullUpDown for Port P11.

void Example_Function(void)
{
}

◆ PORT_P12_Driver_Mode_Sel()

INLINE void PORT_P12_Driver_Mode_Sel ( uint8  mode)

Selects P1.2 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P1.2 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P12_Driver_Mode_Sel(uint8 mode)
Selects P1.2 Port Driver Mode.
Definition: port.h:3443

◆ PORT_P12_Get()

INLINE uint8 PORT_P12_Get ( void  )

Reads Port P12 Status.

Example

This example configures P12 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P12_Get();
}
INLINE void PORT_P12_Input_Set(void)
Sets Port P12 to Input.
Definition: port.h:3218
INLINE uint8 PORT_P12_Get(void)
Reads Port P12 Status.
Definition: port.h:3303

◆ PORT_P12_Input_Set()

INLINE void PORT_P12_Input_Set ( void  )

Sets Port P12 to Input.

Example

This example configures P12 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P12_Get();
}

◆ PORT_P12_OpenDrain_Dis()

INLINE void PORT_P12_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P12.

Example

This example configures P12 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P12_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P12.
Definition: port.h:3338
INLINE void PORT_P12_Output_Low_Set(void)
Sets Port P12 to Low Status.
Definition: port.h:3268

◆ PORT_P12_OpenDrain_En()

INLINE void PORT_P12_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P12.

Example

This example configures P12 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P12_OpenDrain_En(void)
Enables Output OpenDrain for Port P12.
Definition: port.h:3333

◆ PORT_P12_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P12_Output_High_Set(void)
Sets Port P12 to High Status.
Definition: port.h:3263

◆ PORT_P12_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P12_Output_Set()

INLINE void PORT_P12_Output_Set ( void  )

Sets Port P12 to Output.

Example

This example configures P12 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P12_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P12_Output_Toggle_Set(void)
Sets Port P12 to Toggle Status.
Definition: port.h:3273

◆ PORT_P12_PullDown_Set()

INLINE void PORT_P12_PullDown_Set ( void  )

Sets PullDown for Port P12.

Example

This example sets PullDown for Port P12.

void Example_Function(void)
{
}
INLINE void PORT_P12_PullDown_Set(void)
Sets PullDown for Port P12.
Definition: port.h:3418
INLINE void PORT_P12_PullUpDown_En(void)
Enables PullUpDown for Port P12.
Definition: port.h:3373

◆ PORT_P12_PullUp_Set()

INLINE void PORT_P12_PullUp_Set ( void  )

Sets PullUp for Port P12.

Example

This example sets PullUp for Port P12.

void Example_Function(void)
{
}
INLINE void PORT_P12_PullUp_Set(void)
Sets PullUp for Port P12.
Definition: port.h:3413

◆ PORT_P12_PullUpDown_Dis()

INLINE void PORT_P12_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P12.

Example

This example disables PullUpDown for Port P12.

void Example_Function(void)
{
}
INLINE void PORT_P12_PullUpDown_Dis(void)
Disables PullUpDown for Port P12.
Definition: port.h:3378

◆ PORT_P12_PullUpDown_En()

INLINE void PORT_P12_PullUpDown_En ( void  )

Enables PullUpDown for Port P12.

Example

This example enables PullUpDown for Port P12.

void Example_Function(void)
{
}

◆ PORT_P14_Driver_Mode_Sel()

INLINE void PORT_P14_Driver_Mode_Sel ( uint8  mode)

Selects P1.4 Port Driver Mode.

Parameters
modeDriver Mode

Example

This example sets P1.4 Port Driver Strong driver and soft edge mode.

void Example_Function(void)
{
}
INLINE void PORT_P14_Driver_Mode_Sel(uint8 mode)
Selects P1.4 Port Driver Mode.
Definition: port.h:3448

◆ PORT_P14_Get()

INLINE uint8 PORT_P14_Get ( void  )

Reads Port P14 Status.

Example

This example configures P14 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P14_Get();
}
INLINE void PORT_P14_Input_Set(void)
Sets Port P14 to Input.
Definition: port.h:3228
INLINE uint8 PORT_P14_Get(void)
Reads Port P14 Status.
Definition: port.h:3308

◆ PORT_P14_Input_Set()

INLINE void PORT_P14_Input_Set ( void  )

Sets Port P14 to Input.

Example

This example configures P14 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P14_Get();
}

◆ PORT_P14_OpenDrain_Dis()

INLINE void PORT_P14_OpenDrain_Dis ( void  )

Disables Output OpenDrain for Port P14.

Example

This example configures P14 as output, Low and Normal Mode.

void Example_Function(void)
{
}
INLINE void PORT_P14_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P14.
Definition: port.h:3348
INLINE void PORT_P14_Output_Set(void)
Sets Port P14 to Output.
Definition: port.h:3223
INLINE void PORT_P14_Output_Low_Set(void)
Sets Port P14 to Low Status.
Definition: port.h:3283

◆ PORT_P14_OpenDrain_En()

INLINE void PORT_P14_OpenDrain_En ( void  )

Enables Output OpenDrain for Port P14.

Example

This example configures P14 as output, Low and Open-Drain.

void Example_Function(void)
{
}
INLINE void PORT_P14_OpenDrain_En(void)
Enables Output OpenDrain for Port P14.
Definition: port.h:3343

◆ PORT_P14_Output_High_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P14_Output_High_Set(void)
Sets Port P14 to High Status.
Definition: port.h:3278

◆ PORT_P14_Output_Low_Set()

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.

void Example_Function(void)
{
}

◆ PORT_P14_Output_Set()

INLINE void PORT_P14_Output_Set ( void  )

Sets Port P14 to Output.

Example

This example configures P14 as output, High and Open-Drain.

void Example_Function(void)
{
}

◆ PORT_P14_Output_Toggle_Set()

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.

void Example_Function(void)
{
}
INLINE void PORT_P14_Output_Toggle_Set(void)
Sets Port P14 to Toggle Status.
Definition: port.h:3288

◆ PORT_P14_PullDown_Set()

INLINE void PORT_P14_PullDown_Set ( void  )

Sets PullDown for Port P14.

Example

This example sets PullDown for Port P14.

void Example_Function(void)
{
}
INLINE void PORT_P14_PullUpDown_En(void)
Enables PullUpDown for Port P14.
Definition: port.h:3383
INLINE void PORT_P14_PullDown_Set(void)
Sets PullDown for Port P14.
Definition: port.h:3428

◆ PORT_P14_PullUp_Set()

INLINE void PORT_P14_PullUp_Set ( void  )

Sets PullUp for Port P14.

Example

This example sets PullUp for Port P14.

void Example_Function(void)
{
}
INLINE void PORT_P14_PullUp_Set(void)
Sets PullUp for Port P14.
Definition: port.h:3423

◆ PORT_P14_PullUpDown_Dis()

INLINE void PORT_P14_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P14.

Example

This example disables PullUpDown for Port P14.

void Example_Function(void)
{
}
INLINE void PORT_P14_PullUpDown_Dis(void)
Disables PullUpDown for Port P14.
Definition: port.h:3388

◆ PORT_P14_PullUpDown_En()

INLINE void PORT_P14_PullUpDown_En ( void  )

Enables PullUpDown for Port P14.

Example

This example enables PullUpDown for Port P14.

void Example_Function(void)
{
}

◆ PORT_P20_Dis()

INLINE void PORT_P20_Dis ( void  )

Sets Port P20 to Disable.

Example

This example sets P20 to disable.

void Example_Function(void)
{
}
INLINE void PORT_P20_Dis(void)
Sets Port P20 to Disable.
Definition: port.h:3453

◆ PORT_P20_Get()

INLINE uint8 PORT_P20_Get ( void  )

Reads Port P20 Status.

Returns
P20 Status

Example

This example configures P20 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P20_Get();
}
INLINE void PORT_P20_Input_Set(void)
Sets Port P20 to Input.
Definition: port.h:3458
INLINE uint8 PORT_P20_Get(void)
Reads Port P20 Status.
Definition: port.h:3503

◆ PORT_P20_Input_Set()

INLINE void PORT_P20_Input_Set ( void  )

Sets Port P20 to Input.

Example

This example configures P20 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P20_Get();
}

◆ PORT_P20_PullDown_Set()

INLINE void PORT_P20_PullDown_Set ( void  )

Sets PullDown for Port P20.

Example

This example sets PullDown for Port P20.

void Example_Function(void)
{
}
INLINE void PORT_P20_PullUpDown_En(void)
Enables PullUpDown for Port P20.
Definition: port.h:3528
INLINE void PORT_P20_PullDown_Set(void)
Sets PullDown for Port P20.
Definition: port.h:3583

◆ PORT_P20_PullUp_Set()

INLINE void PORT_P20_PullUp_Set ( void  )

Sets PullUp for Port P20.

Example

This example sets PullUp for Port P20.

void Example_Function(void)
{
}
INLINE void PORT_P20_PullUp_Set(void)
Sets PullUp for Port P20.
Definition: port.h:3578

◆ PORT_P20_PullUpDown_Dis()

INLINE void PORT_P20_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P20.

Example

This example disables PullUpDown for Port P20.

void Example_Function(void)
{
}
INLINE void PORT_P20_PullUpDown_Dis(void)
Disables PullUpDown for Port P20.
Definition: port.h:3533

◆ PORT_P20_PullUpDown_En()

INLINE void PORT_P20_PullUpDown_En ( void  )

Enables PullUpDown for Port P20.

Example

This example enables PullUpDown for Port P20.

void Example_Function(void)
{
}

◆ PORT_P21_Dis()

INLINE void PORT_P21_Dis ( void  )

Sets Port P21 to Disable.

Example

This example sets P21 to disable.

void Example_Function(void)
{
}
INLINE void PORT_P21_Dis(void)
Sets Port P21 to Disable.
Definition: port.h:3463

◆ PORT_P21_Get()

INLINE uint8 PORT_P21_Get ( void  )

Reads Port P21 Status.

Returns
P21 Status

Example

This example configures P21 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P21_Get();
}
INLINE uint8 PORT_P21_Get(void)
Reads Port P21 Status.
Definition: port.h:3508
INLINE void PORT_P21_Input_Set(void)
Sets Port P21 to Input.
Definition: port.h:3468

◆ PORT_P21_Input_Set()

INLINE void PORT_P21_Input_Set ( void  )

Sets Port P21 to Input.

Example

This example configures P21 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P21_Get();
}

◆ PORT_P21_PullDown_Set()

INLINE void PORT_P21_PullDown_Set ( void  )

Sets PullDown for Port P21.

Example

This example sets PullDown for Port P21.

void Example_Function(void)
{
}
INLINE void PORT_P21_PullDown_Set(void)
Sets PullDown for Port P21.
Definition: port.h:3593
INLINE void PORT_P21_PullUpDown_En(void)
Enables PullUpDown for Port P21.
Definition: port.h:3538

◆ PORT_P21_PullUp_Set()

INLINE void PORT_P21_PullUp_Set ( void  )

Sets PullUp for Port P21.

Example

This example sets PullUp for Port P21.

void Example_Function(void)
{
}
INLINE void PORT_P21_PullUp_Set(void)
Sets PullUp for Port P21.
Definition: port.h:3588

◆ PORT_P21_PullUpDown_Dis()

INLINE void PORT_P21_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P21.

Example

This example disables PullUpDown for Port P21.

void Example_Function(void)
{
}
INLINE void PORT_P21_PullUpDown_Dis(void)
Disables PullUpDown for Port P21.
Definition: port.h:3543

◆ PORT_P21_PullUpDown_En()

INLINE void PORT_P21_PullUpDown_En ( void  )

Enables PullUpDown for Port P21.

Example

This example enables PullUpDown for Port P21.

void Example_Function(void)
{
}

◆ PORT_P22_Dis()

INLINE void PORT_P22_Dis ( void  )

Sets Port P22 to Disable.

Example

This example sets P22 to disable.

void Example_Function(void)
{
}
INLINE void PORT_P22_Dis(void)
Sets Port P22 to Disable.
Definition: port.h:3473

◆ PORT_P22_Get()

INLINE uint8 PORT_P22_Get ( void  )

Reads Port P22 Status.

Returns
P22 Status

Example

This example configures P22 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P22_Get();
}
INLINE void PORT_P22_Input_Set(void)
Sets Port P22 to Input.
Definition: port.h:3478
INLINE uint8 PORT_P22_Get(void)
Reads Port P22 Status.
Definition: port.h:3513

◆ PORT_P22_Input_Set()

INLINE void PORT_P22_Input_Set ( void  )

Sets Port P22 to Input.

Example

This example configures P22 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P22_Get();
}

◆ PORT_P22_PullDown_Set()

INLINE void PORT_P22_PullDown_Set ( void  )

Sets PullDown for Port P22.

Example

This example sets PullDown for Port P22.

void Example_Function(void)
{
}
INLINE void PORT_P22_PullUpDown_En(void)
Enables PullUpDown for Port P22.
Definition: port.h:3548
INLINE void PORT_P22_PullDown_Set(void)
Sets PullDown for Port P22.
Definition: port.h:3603

◆ PORT_P22_PullUp_Set()

INLINE void PORT_P22_PullUp_Set ( void  )

Sets PullUp for Port P22.

Example

This example sets PullUp for Port P22.

void Example_Function(void)
{
}
INLINE void PORT_P22_PullUp_Set(void)
Sets PullUp for Port P22.
Definition: port.h:3598

◆ PORT_P22_PullUpDown_Dis()

INLINE void PORT_P22_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P22.

Example

This example disables PullUpDown for Port P22.

void Example_Function(void)
{
}
INLINE void PORT_P22_PullUpDown_Dis(void)
Disables PullUpDown for Port P22.
Definition: port.h:3553

◆ PORT_P22_PullUpDown_En()

INLINE void PORT_P22_PullUpDown_En ( void  )

Enables PullUpDown for Port P22.

Example

This example enables PullUpDown for Port P22.

void Example_Function(void)
{
}

◆ PORT_P23_Dis()

INLINE void PORT_P23_Dis ( void  )

Sets Port P23 to Disable.

Example

This example sets P23 to disable.

void Example_Function(void)
{
}
INLINE void PORT_P23_Dis(void)
Sets Port P23 to Disable.
Definition: port.h:3483

◆ PORT_P23_Get()

INLINE uint8 PORT_P23_Get ( void  )

Reads Port P23 Status.

Returns
P23 Status

Example

This example configures P23 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P23_Get();
}
INLINE uint8 PORT_P23_Get(void)
Reads Port P23 Status.
Definition: port.h:3518
INLINE void PORT_P23_Input_Set(void)
Sets Port P23 to Input.
Definition: port.h:3488

◆ PORT_P23_Input_Set()

INLINE void PORT_P23_Input_Set ( void  )

Sets Port P23 to Input.

Example

This example configures P23 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P23_Get();
}

◆ PORT_P23_PullDown_Set()

INLINE void PORT_P23_PullDown_Set ( void  )

Sets PullDown for Port P23.

Example

This example sets PullDown for Port P23.

void Example_Function(void)
{
}
INLINE void PORT_P23_PullDown_Set(void)
Sets PullDown for Port P23.
Definition: port.h:3613
INLINE void PORT_P23_PullUpDown_En(void)
Enables PullUpDown for Port P23.
Definition: port.h:3558

◆ PORT_P23_PullUp_Set()

INLINE void PORT_P23_PullUp_Set ( void  )

Sets PullUp for Port P23.

Example

This example sets PullUp for Port P23.

void Example_Function(void)
{
}
INLINE void PORT_P23_PullUp_Set(void)
Sets PullUp for Port P23.
Definition: port.h:3608

◆ PORT_P23_PullUpDown_Dis()

INLINE void PORT_P23_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P23.

Example

This example disables PullUpDown for Port P23.

void Example_Function(void)
{
}
INLINE void PORT_P23_PullUpDown_Dis(void)
Disables PullUpDown for Port P23.
Definition: port.h:3563

◆ PORT_P23_PullUpDown_En()

INLINE void PORT_P23_PullUpDown_En ( void  )

Enables PullUpDown for Port P23.

Example

This example enables PullUpDown for Port P23.

void Example_Function(void)
{
}

◆ PORT_P27_Dis()

INLINE void PORT_P27_Dis ( void  )

Sets Port P27 to Disable.

Example

This example sets P27 to disable.

void Example_Function(void)
{
}
INLINE void PORT_P27_Dis(void)
Sets Port P27 to Disable.
Definition: port.h:3493

◆ PORT_P27_Get()

INLINE uint8 PORT_P27_Get ( void  )

Reads Port P27 Status.

Returns
P27 Status

Example

This example configures P27 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P27_Get();
}
INLINE void PORT_P27_Input_Set(void)
Sets Port P27 to Input.
Definition: port.h:3498
INLINE uint8 PORT_P27_Get(void)
Reads Port P27 Status.
Definition: port.h:3523

◆ PORT_P27_Input_Set()

INLINE void PORT_P27_Input_Set ( void  )

Sets Port P27 to Input.

Example

This example configures P27 as input and reads the status.

void Example_Function(void)
{
uint8 sts;
sts = PORT_P27_Get();
}

◆ PORT_P27_PullDown_Set()

INLINE void PORT_P27_PullDown_Set ( void  )

Sets PullDown for Port P27.

Example

This example sets PullDown for Port P27.

void Example_Function(void)
{
}
INLINE void PORT_P27_PullDown_Set(void)
Sets PullDown for Port P27.
Definition: port.h:3623
INLINE void PORT_P27_PullUpDown_En(void)
Enables PullUpDown for Port P27.
Definition: port.h:3568

◆ PORT_P27_PullUp_Set()

INLINE void PORT_P27_PullUp_Set ( void  )

Sets PullUp for Port P27.

Example

This example sets PullUp for Port P27.

void Example_Function(void)
{
}
INLINE void PORT_P27_PullUp_Set(void)
Sets PullUp for Port P27.
Definition: port.h:3618

◆ PORT_P27_PullUpDown_Dis()

INLINE void PORT_P27_PullUpDown_Dis ( void  )

Disables PullUpDown for Port P27.

Example

This example disables PullUpDown for Port P27.

void Example_Function(void)
{
}
INLINE void PORT_P27_PullUpDown_Dis(void)
Disables PullUpDown for Port P27.
Definition: port.h:3573

◆ PORT_P27_PullUpDown_En()

INLINE void PORT_P27_PullUpDown_En ( void  )

Enables PullUpDown for Port P27.

Example

This example enables PullUpDown for Port P27.

void Example_Function(void)
{
}

◆ PORT_ReadPin()

uint8 PORT_ReadPin ( uint32  PortPin)

Reads a port pin.

Parameters
PortPinPort and pin to change, e.g 0x12U for P1.2
Returns
Port pin level (0U or 1U)

Example

This example reads the status of P1.2 .

void Example_Function(void)
{
uint32 sts;
sts = PORT_ReadPin(0x12);
}
uint8 PORT_ReadPin(uint32 PortPin)
Reads a port pin.
uint32_t uint32
32 bit unsigned value
Definition: types.h:155

◆ PORT_ReadPort()

uint8 PORT_ReadPort ( uint32  Port)

Reads a port.

Parameters
PortPort to read, e.g. 2U for Port 2
Returns
Port data (combination of 0Us and 1Us)

Example

This example reads the status of Port2 .

void Example_Function(void)
{
uint32 sts;
sts = PORT_ReadPort(0x2);
}
uint8 PORT_ReadPort(uint32 Port)
Reads a port.

◆ PORT_Temp_Comp_Sel()

INLINE void PORT_Temp_Comp_Sel ( uint8  range)

Selects Temperature Compensation range.

Parameters
rangeTemperature Compensation range

Example

This example sets Temperature Compensation to range 2 (from 0°C to 40°C).

void Example_Function(void)
{
}
#define PORT_TCC_RANGE_2
Port Temperature Compensation Control, range 2: from 0°C to 40°C.
Definition: port.h:97
INLINE void PORT_Temp_Comp_Sel(uint8 range)
Selects Temperature Compensation range.
Definition: port.h:3628