iLLD_TC27xD
1.0
|
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_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.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin for which the emergency stop function should be disabled. |
Coding example: /code if( !IfxPort_disableEmergencyStop(&MODULE_P33, 0) ) { // failed to disable emergency stop for P33.0 } /endcode
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.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin for which the emergency stop function should be enabled. |
Coding example:
IFX_INLINE boolean IfxPort_getPinState | ( | Ifx_P * | port, |
uint8 | pinIndex | ||
) |
Return the port state.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin for which the state should be returned. |
Coding example:
IFX_INLINE void IfxPort_setPinHigh | ( | Ifx_P * | port, |
uint8 | pinIndex | ||
) |
Set the port output.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin to be set. |
Coding example:
IFX_INLINE void IfxPort_setPinLow | ( | Ifx_P * | port, |
uint8 | pinIndex | ||
) |
Reset the port output.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin to be reset. |
Coding example:
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.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin to be configured. |
mode | Specifies the port pin mode. |
Coding example:
Definition at line 236 of file IfxPort.c.
Referenced by IfxPort_Io_initModule(), IfxPort_setPinModeInput(), and IfxPort_setPinModeOutput().
IFX_INLINE void IfxPort_setPinModeInput | ( | Ifx_P * | port, |
uint8 | pinIndex, | ||
IfxPort_InputMode | mode | ||
) |
Configure the port input / output mode.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin to be configured. |
mode | Specifies the port pin mode. |
Coding example:
Definition at line 554 of file IfxPort.h.
Referenced by IfxAsclin_initCtsPin(), IfxAsclin_initRxPin(), IfxCcu6_initCc60InPin(), IfxCcu6_initCc61InPin(), IfxCcu6_initCc62InPin(), IfxCcu6_initCcpos0Pin(), IfxCcu6_initCcpos1Pin(), IfxCcu6_initCcpos2Pin(), IfxCcu6_initCtrapPin(), IfxCcu6_initT12hrPin(), IfxCcu6_initT13hrPin(), IfxCif_Cam_initPortPins(), IfxDsadc_initCinPin(), IfxDsadc_initDinPin(), IfxDsadc_initDsnPin(), IfxDsadc_initDspPin(), IfxDsadc_initItrPin(), IfxDsadc_initSgPin(), IfxEray_initRxPin(), IfxEth_setupMiiInputPins(), IfxEth_setupRmiiInputPins(), IfxGpt12_initCapInPin(), IfxGpt12_initTxEudInPin(), IfxGpt12_initTxInPin(), IfxGtm_PinMap_setTimTin(), IfxHssl_Hssl_initHsctModule(), IfxMsc_initInjPin(), IfxMsc_initSdiPin(), IfxMultican_Node_initRxPin(), IfxPsi5_initRxPin(), IfxPsi5s_initRxPin(), IfxQspi_initMrstInPin(), IfxQspi_initMtsrInPin(), IfxQspi_initSclkInPin(), IfxQspi_initSlsi(), IfxScuEru_initReqPin(), and IfxSent_initSentPin().
IFX_INLINE void IfxPort_setPinModeOutput | ( | Ifx_P * | port, |
uint8 | pinIndex, | ||
IfxPort_OutputMode | mode, | ||
IfxPort_OutputIdx | index | ||
) |
Configure the port input / output mode.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin to be configured. |
mode | Specifies the port pin mode. |
index | Specifies the alternate (or general purpose) output channel. |
Coding example:
Definition at line 560 of file IfxPort.h.
Referenced by IfxAsclin_initRtsPin(), IfxAsclin_initSclkPin(), IfxAsclin_initSlsoPin(), IfxAsclin_initTxPin(), IfxCcu6_initCc60OutPin(), IfxCcu6_initCc61OutPin(), IfxCcu6_initCc62OutPin(), IfxCcu6_initCout60Pin(), IfxCcu6_initCout61Pin(), IfxCcu6_initCout62Pin(), IfxCcu6_initCout63Pin(), IfxDsadc_initCgPwmPin(), IfxDsadc_initCoutPin(), IfxEray_initTxEnPin(), IfxEray_initTxPin(), IfxEth_setupMiiOutputPins(), IfxEth_setupRmiiOutputPins(), IfxGpt12_initTxOutPin(), IfxGtm_PinMap_setAtomTout(), IfxGtm_PinMap_setTomTout(), IfxHssl_Hssl_initHsctModule(), IfxI2c_initSclSdaPin(), IfxMsc_initEnPin(), IfxMsc_initFclnPin(), IfxMsc_initFclpPin(), IfxMsc_initSonPin(), IfxMsc_initSopPin(), IfxMultican_Node_initTxPin(), IfxPsi5_initTxPin(), IfxPsi5s_initClkPin(), IfxPsi5s_initTxPin(), IfxQspi_initMrstOutPin(), IfxQspi_initMtsrOutPin(), IfxQspi_initSclkOutPin(), IfxQspi_initSlso(), IfxSent_initSpcPin(), IfxVadc_initEmuxPin(), and IfxVadc_initGxBflPin().
IFX_EXTERN void IfxPort_setPinPadDriver | ( | Ifx_P * | port, |
uint8 | pinIndex, | ||
IfxPort_PadDriver | padDriver | ||
) |
Configure the pad driver mode.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin for which the mode will be set. |
padDriver | Specifies the driver mode. |
Coding example:
Definition at line 254 of file IfxPort.c.
Referenced by IfxAsclin_initRtsPin(), IfxAsclin_initSclkPin(), IfxAsclin_initSlsoPin(), IfxAsclin_initTxPin(), IfxCcu6_initCc60OutPin(), IfxCcu6_initCc61OutPin(), IfxCcu6_initCc62OutPin(), IfxCcu6_initCout60Pin(), IfxCcu6_initCout61Pin(), IfxCcu6_initCout62Pin(), IfxCcu6_initCout63Pin(), IfxDsadc_initCgPwmPin(), IfxDsadc_initCoutPin(), IfxEray_initTxEnPin(), IfxEray_initTxPin(), IfxEth_setupMiiInputPins(), IfxEth_setupMiiOutputPins(), IfxEth_setupRmiiInputPins(), IfxEth_setupRmiiOutputPins(), IfxGpt12_initTxOutPin(), IfxGtm_PinMap_setAtomTout(), IfxGtm_PinMap_setTomTout(), IfxHssl_Hssl_initHsctModule(), IfxI2c_initSclSdaPin(), IfxMsc_initEnPin(), IfxMsc_initFclnPin(), IfxMsc_initFclpPin(), IfxMsc_initSonPin(), IfxMsc_initSopPin(), IfxMultican_Node_initTxPin(), IfxPort_Io_initModule(), IfxPsi5_initTxPin(), IfxPsi5s_initClkPin(), IfxPsi5s_initTxPin(), IfxQspi_initMrstOutPin(), IfxQspi_initMtsrOutPin(), IfxQspi_initSclkOutPin(), IfxQspi_initSlso(), IfxSent_initSpcPin(), IfxVadc_initEmuxPin(), and IfxVadc_initGxBflPin().
IFX_INLINE void IfxPort_setPinState | ( | Ifx_P * | port, |
uint8 | pinIndex, | ||
IfxPort_State | action | ||
) |
Set / Resets / Toggle the port output.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin to modify. |
action | Specifies the action: set, reset, toggle. |
Coding example:
Definition at line 566 of file IfxPort.h.
Referenced by IfxGtm_Tom_PwmHl_init(), IfxPort_setPinHigh(), IfxPort_setPinLow(), and IfxPort_togglePin().
IFX_INLINE void IfxPort_togglePin | ( | Ifx_P * | port, |
uint8 | pinIndex | ||
) |
Toggle the port output.
port | Pointer to the port which should be accessed. |
pinIndex | Specifies the pin to be toggled. |
Coding example: