iLLD_TC27xD
1.0
|
Functions | |
IFX_EXTERN void | IfxAsclin_enableAscErrorFlags (Ifx_ASCLIN *asclin, boolean parEnable, boolean rfoEnable) |
Enables the ASC error interrupt Flags. More... | |
IFX_EXTERN void | IfxAsclin_enableModule (Ifx_ASCLIN *asclin) |
Enables the module. More... | |
IFX_EXTERN sint32 | IfxAsclin_getIndex (Ifx_ASCLIN *asclin) |
Returns the module Index. More... | |
IFX_EXTERN volatile Ifx_SRC_SRCR * | IfxAsclin_getSrcPointerEr (Ifx_ASCLIN *asclin) |
Returns the SRC pointer for ERR. More... | |
IFX_EXTERN volatile Ifx_SRC_SRCR * | IfxAsclin_getSrcPointerRx (Ifx_ASCLIN *asclin) |
Returns the SRC pointer for Rx. More... | |
IFX_EXTERN volatile Ifx_SRC_SRCR * | IfxAsclin_getSrcPointerTx (Ifx_ASCLIN *asclin) |
Returns the SRC pointer for Tx. More... | |
IFX_EXTERN uint32 | IfxAsclin_read16 (Ifx_ASCLIN *asclin, uint16 *data, uint32 count) |
Reads data up to 16 bits. More... | |
IFX_EXTERN uint32 | IfxAsclin_read32 (Ifx_ASCLIN *asclin, uint32 *data, uint32 count) |
Reads data up to 32 bits. More... | |
IFX_EXTERN uint32 | IfxAsclin_read8 (Ifx_ASCLIN *asclin, uint8 *data, uint32 count) |
Reads data up to 8 bits. More... | |
IFX_EXTERN void | IfxAsclin_setBaudrateBitFields (Ifx_ASCLIN *asclin, uint16 prescaler, uint16 numerator, uint16 denominator, IfxAsclin_OversamplingFactor oversampling) |
Sets the baudrate bit fields. More... | |
IFX_EXTERN void | IfxAsclin_setClockSource (Ifx_ASCLIN *asclin, IfxAsclin_ClockSource clockSource) |
Sets the clock source. More... | |
IFX_EXTERN uint32 | IfxAsclin_write16 (Ifx_ASCLIN *asclin, uint16 *data, uint32 count) |
Writes data up to 16 bits. More... | |
IFX_EXTERN uint32 | IfxAsclin_write32 (Ifx_ASCLIN *asclin, uint32 *data, uint32 count) |
Writes data up to 32 bits. More... | |
IFX_EXTERN uint32 | IfxAsclin_write8 (Ifx_ASCLIN *asclin, uint8 *data, uint32 count) |
Writes data up to 8 bits. More... | |
IFX_EXTERN void IfxAsclin_enableAscErrorFlags | ( | Ifx_ASCLIN * | asclin, |
boolean | parEnable, | ||
boolean | rfoEnable | ||
) |
Enables the ASC error interrupt Flags.
asclin | pointer to ASCLIN registers |
parEnable | parity error |
rfoEnable | Rx FIFO overflow error |
Definition at line 35 of file IfxAsclin.c.
IFX_EXTERN void IfxAsclin_enableModule | ( | Ifx_ASCLIN * | asclin) |
Enables the module.
asclin | pointer to ASCLIN registers |
Definition at line 42 of file IfxAsclin.c.
Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Lin_initModule(), and IfxAsclin_Spi_initModule().
IFX_EXTERN sint32 IfxAsclin_getIndex | ( | Ifx_ASCLIN * | asclin) |
Returns the module Index.
asclin | pointer to ASCLIN registers |
Definition at line 85 of file IfxAsclin.c.
Referenced by IfxAsclin_getSrcPointerEr(), IfxAsclin_getSrcPointerRx(), and IfxAsclin_getSrcPointerTx().
IFX_EXTERN volatile Ifx_SRC_SRCR* IfxAsclin_getSrcPointerEr | ( | Ifx_ASCLIN * | asclin) |
Returns the SRC pointer for ERR.
asclin | pointer to ASCLIN registers |
Definition at line 113 of file IfxAsclin.c.
Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().
IFX_EXTERN volatile Ifx_SRC_SRCR* IfxAsclin_getSrcPointerRx | ( | Ifx_ASCLIN * | asclin) |
Returns the SRC pointer for Rx.
asclin | pointer to ASCLIN registers |
Definition at line 119 of file IfxAsclin.c.
Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().
IFX_EXTERN volatile Ifx_SRC_SRCR* IfxAsclin_getSrcPointerTx | ( | Ifx_ASCLIN * | asclin) |
Returns the SRC pointer for Tx.
asclin | pointer to ASCLIN registers |
Definition at line 125 of file IfxAsclin.c.
Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().
IFX_EXTERN uint32 IfxAsclin_read16 | ( | Ifx_ASCLIN * | asclin, |
uint16 * | data, | ||
uint32 | count | ||
) |
Reads data up to 16 bits.
asclin | pointer to ASCLIN registers |
data | Array where the read data shall be stored |
count | number of items to read |
Definition at line 131 of file IfxAsclin.c.
Referenced by IfxAsclin_Spi_read().
IFX_EXTERN uint32 IfxAsclin_read32 | ( | Ifx_ASCLIN * | asclin, |
uint32 * | data, | ||
uint32 | count | ||
) |
Reads data up to 32 bits.
asclin | pointer to ASCLIN registers |
data | Array where the read data shall be stored |
count | number of items to read |
Definition at line 145 of file IfxAsclin.c.
IFX_EXTERN uint32 IfxAsclin_read8 | ( | Ifx_ASCLIN * | asclin, |
uint8 * | data, | ||
uint32 | count | ||
) |
Reads data up to 8 bits.
asclin | pointer to ASCLIN registers |
data | Array where the read data shall be stored |
count | number of items to read |
Definition at line 159 of file IfxAsclin.c.
Referenced by IfxAsclin_Asc_isrReceive(), IfxAsclin_Lin_receiveHeader(), IfxAsclin_Lin_receiveResponse(), and IfxAsclin_Spi_read().
IFX_EXTERN void IfxAsclin_setBaudrateBitFields | ( | Ifx_ASCLIN * | asclin, |
uint16 | prescaler, | ||
uint16 | numerator, | ||
uint16 | denominator, | ||
IfxAsclin_OversamplingFactor | oversampling | ||
) |
Sets the baudrate bit fields.
asclin | pointer to ASCLIN registers |
prescaler | division ratio of the predivider |
numerator | numerator of the fractional divider |
denominator | denominator of the fractional divider |
oversampling | division ratio of the baudrate postdivider |
Definition at line 173 of file IfxAsclin.c.
IFX_EXTERN void IfxAsclin_setClockSource | ( | Ifx_ASCLIN * | asclin, |
IfxAsclin_ClockSource | clockSource | ||
) |
Sets the clock source.
asclin | pointer to ASCLIN registers |
clockSource | clock source selection |
Definition at line 270 of file IfxAsclin.c.
Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Lin_initModule(), IfxAsclin_setBaudrateBitFields(), IfxAsclin_setBitTiming(), and IfxAsclin_Spi_initModule().
IFX_EXTERN uint32 IfxAsclin_write16 | ( | Ifx_ASCLIN * | asclin, |
uint16 * | data, | ||
uint32 | count | ||
) |
Writes data up to 16 bits.
asclin | pointer to ASCLIN registers |
data | Array of data to be send |
count | number of items to be send |
Definition at line 288 of file IfxAsclin.c.
Referenced by IfxAsclin_Spi_write().
IFX_EXTERN uint32 IfxAsclin_write32 | ( | Ifx_ASCLIN * | asclin, |
uint32 * | data, | ||
uint32 | count | ||
) |
Writes data up to 32 bits.
asclin | pointer to ASCLIN registers |
data | Array of data to be send |
count | number of items to be send |
Definition at line 302 of file IfxAsclin.c.
IFX_EXTERN uint32 IfxAsclin_write8 | ( | Ifx_ASCLIN * | asclin, |
uint8 * | data, | ||
uint32 | count | ||
) |
Writes data up to 8 bits.
asclin | pointer to ASCLIN registers |
data | Array of data to be send |
count | number of items to be send |
Definition at line 316 of file IfxAsclin.c.
Referenced by IfxAsclin_Asc_initiateTransmission(), IfxAsclin_Asc_isrTransmit(), IfxAsclin_Lin_sendHeader(), IfxAsclin_Lin_sendResponse(), and IfxAsclin_Spi_write().