iLLD_TC27xD
1.0
|
Functions | |
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_INLINE uint32 IfxPort_getGroupState | ( | Ifx_P * | port, |
uint8 | pinIndex, | ||
uint16 | mask | ||
) |
Return the port group state.
port | Pointer to the port which should be accessed. |
pinIndex | start at the given pin |
mask | selects the pins which should be read (starting from pinIndex) |
Coding example:
IFX_EXTERN sint32 IfxPort_getIndex | ( | Ifx_P * | port) |
Return port index within IfxModule_IndexMap (defined in IfxPort_cfg.c)
port | Pointer to the port for which the index number in IfxModule_IndexMap should be retrieved. |
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.
port | Pointer to the port which should be accessed. |
pinIndex | start at the given pin |
mask | selects the pins which should be modified (starting from pinIndex) |
mode | Specifies the port pin mode. |
Coding example:
Definition at line 116 of file IfxPort.c.
Referenced by IfxCif_Cam_initPortPins().
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.
port | Pointer to the port which should be accessed. |
pinIndex | start at the given pin |
mask | selects the pins which should be modified (starting from pinIndex) |
mode | Specifies the port pin mode. |
index | Specifies the alternate (or general purpose) output channel. |
Coding example:
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.
port | Pointer to the port which should be accessed. |
pinIndex | start at the given pin |
mask | selects the pins which should be modified (starting from pinIndex) |
padDriver | Specifies the pad driver strength. |
Coding example:
Definition at line 192 of file IfxPort.c.
Referenced by IfxCif_Cam_initPortPins().
IFX_INLINE void IfxPort_setGroupState | ( | Ifx_P * | port, |
uint8 | pinIndex, | ||
uint16 | mask, | ||
uint16 | data | ||
) |
Set the port group state.
port | Pointer to the port which should be accessed. |
pinIndex | start at the given pin |
mask | selects the pins which should be modified (starting from pinIndex) |
data | specifies the value which should be set |
Coding example:
IFX_EXTERN void IfxPort_setPinModeLvdsHigh | ( | Ifx_P * | port, |
uint8 | pinIndex, | ||
IfxPort_Mode | mode, | ||
IfxPort_ControlledBy | enablePortControlled | ||
) |
IFX_EXTERN void IfxPort_setPinModeLvdsMedium | ( | Ifx_P * | port, |
uint8 | pinIndex, | ||
IfxPort_PadDriver | lvdsPadDriver, | ||
IfxPort_PadSupply | padSupply | ||
) |