iLLD_TC27xD  1.0
IfxPort.c File Reference

PORT basic functionality. More...

#include "IfxPort.h"

Go to the source code of this file.

Functions

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...
 
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...
 
sint32 IfxPort_getIndex (Ifx_P *port)
 Return port index within IfxModule_IndexMap (defined in IfxPort_cfg.c) More...
 
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...
 
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...
 
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...
 
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...
 
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...
 
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...
 
void IfxPort_setPinPadDriver (Ifx_P *port, uint8 pinIndex, IfxPort_PadDriver padDriver)
 Configure the pad driver mode. More...
 
void IfxPort_setPinModeLvdsMedium (Ifx_P *port, uint8 pinIndex, IfxPort_PadDriver lvdsPadDriver, IfxPort_PadSupply padSupply)
 set LVDSM mode More...
 
void IfxPort_setPinModeLvdsHigh (Ifx_P *port, uint8 pinIndex, IfxPort_Mode mode, IfxPort_ControlledBy enablePortControlled)
 set LVDSH mode (configured for Port21) More...
 

Detailed Description

PORT basic functionality.

Version
iLLD_1_0_0_11_0
                            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.c.

Function Documentation

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.

Parameters
portPointer to the port which should be accessed.
pinIndexSpecifies the pin for which the emergency stop function should be disabled.
Returns
None
See Also
IfxPort_disableEmergencyStop()

Definition at line 96 of file IfxPort.c.

Referenced by IfxPort_disableEmergencyStop().

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.

Parameters
portPointer to the port which should be accessed.
pinIndexSpecifies the pin for which the emergency stop function should be enabled.
Returns
None
See Also
IfxPort_enableEmergencyStop()

Definition at line 106 of file IfxPort.c.

Referenced by IfxPort_enableEmergencyStop().