iLLD_TC29x
1.0
|
PORT basic functionality. More...
Go to the source code of this file.
Data Structures | |
struct | IfxPort_Pin |
Defines a pin. More... | |
struct | IfxPort_Pin_Config |
To configure pins. More... | |
Functions | |
IFX_INLINE boolean | IfxPort_getPinState (Ifx_P *port, uint8 pinIndex) |
Return the port state. More... | |
IFX_INLINE void | IfxPort_setPinHigh (Ifx_P *port, uint8 pinIndex) |
Set the port output. More... | |
IFX_INLINE void | IfxPort_setPinLow (Ifx_P *port, uint8 pinIndex) |
Reset the port output. More... | |
IFX_INLINE void | IfxPort_setPinModeInput (Ifx_P *port, uint8 pinIndex, IfxPort_InputMode mode) |
Configure the port input / output mode. More... | |
IFX_INLINE void | IfxPort_setPinModeOutput (Ifx_P *port, uint8 pinIndex, IfxPort_OutputMode mode, IfxPort_OutputIdx index) |
Configure the port input / output mode. More... | |
IFX_INLINE void | IfxPort_setPinState (Ifx_P *port, uint8 pinIndex, IfxPort_State action) |
Set / Resets / Toggle the port output. More... | |
IFX_INLINE void | IfxPort_togglePin (Ifx_P *port, uint8 pinIndex) |
Toggle the port output. More... | |
IFX_EXTERN boolean | IfxPort_disableEmergencyStop (Ifx_P *port, uint8 pinIndex) |
Disable the emergency stop function. This function disables the emergency stop function. A check is done on port functionality. More... | |
IFX_EXTERN boolean | IfxPort_enableEmergencyStop (Ifx_P *port, uint8 pinIndex) |
Enable the emergency stop function. This function enables the emergency stop function. A check is done on port functionality. More... | |
IFX_EXTERN void | IfxPort_setPinMode (Ifx_P *port, uint8 pinIndex, IfxPort_Mode mode) |
Configure the port input / output mode. Also Configures the P40/P41 Port for digital functionality which bydefault support analog functionality. More... | |
IFX_EXTERN void | IfxPort_setPinPadDriver (Ifx_P *port, uint8 pinIndex, IfxPort_PadDriver padDriver) |
Configure the pad driver mode. More... | |
IFX_INLINE uint32 | IfxPort_getGroupState (Ifx_P *port, uint8 pinIndex, uint16 mask) |
Return the port group state. More... | |
IFX_INLINE void | IfxPort_setGroupState (Ifx_P *port, uint8 pinIndex, uint16 mask, uint16 data) |
Set the port group state. More... | |
IFX_EXTERN sint32 | IfxPort_getIndex (Ifx_P *port) |
Return port index within IfxModule_IndexMap (defined in IfxPort_cfg.c) More... | |
IFX_EXTERN void | IfxPort_setGroupModeInput (Ifx_P *port, uint8 pinIndex, uint16 mask, IfxPort_InputMode mode) |
Set pin modes to input at the pin location specified by '1' by the mask. More... | |
IFX_EXTERN void | IfxPort_setGroupModeOutput (Ifx_P *port, uint8 pinIndex, uint16 mask, IfxPort_OutputMode mode, IfxPort_OutputIdx index) |
Set pin modes to output at the pin location specified by '1' by the mask starting at pinIndex. More... | |
IFX_EXTERN void | IfxPort_setGroupPadDriver (Ifx_P *port, uint8 pinIndex, uint16 mask, IfxPort_PadDriver padDriver) |
Set pad driver strength at the pin location specified by '1' by the mask. More... | |
IFX_EXTERN void | IfxPort_setPinModeLvdsMedium (Ifx_P *port, uint8 pinIndex, IfxPort_PadDriver lvdsPadDriver, IfxPort_PadSupply padSupply) |
set LVDSM mode More... | |
IFX_EXTERN void | IfxPort_setPinModeLvdsHigh (Ifx_P *port, uint8 pinIndex, IfxPort_Mode mode, IfxPort_ControlledBy enablePortControlled) |
set LVDSH mode (configured for Port21) More... | |
IFX_EXTERN void | IfxPort_resetESR (Ifx_P *port, uint8 pinIndex) |
Disable the emergency stop function. This function disables the emergency stop function. No check is done on port functionality. More... | |
IFX_EXTERN void | IfxPort_setESR (Ifx_P *port, uint8 pinIndex) |
Enable the emergency stop function. This function enables the emergency stop function. No check is done on port functionality. More... | |
PORT basic functionality.
IMPORTANT NOTICE
Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
Definition in file IfxPort.h.
IFX_EXTERN void IfxPort_resetESR | ( | Ifx_P * | port, |
uint8 | pinIndex | ||
) |
Disable the emergency stop function. This function disables the emergency stop function. No check is done on port functionality.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin for which the emergency stop function should be disabled. |
Definition at line 96 of file IfxPort.c.
Referenced by IfxPort_disableEmergencyStop().
IFX_EXTERN void IfxPort_setESR | ( | Ifx_P * | port, |
uint8 | pinIndex | ||
) |
Enable the emergency stop function. This function enables the emergency stop function. No check is done on port functionality.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin for which the emergency stop function should be enabled. |
Definition at line 106 of file IfxPort.c.
Referenced by IfxPort_enableEmergencyStop().