iLLD_TC29x
1.0
|
ASCLIN basic functionality. More...
#include "_Impl/IfxAsclin_cfg.h"
#include "Scu/Std/IfxScuCcu.h"
#include "Scu/Std/IfxScuWdt.h"
#include "Cpu/Std/IfxCpu_Intrinsics.h"
#include "IfxAsclin_reg.h"
#include "Src/Std/IfxSrc.h"
#include "_PinMap/IfxAsclin_PinMap.h"
Go to the source code of this file.
Functions | |
IFX_INLINE void | IfxAsclin_clearAllFlags (Ifx_ASCLIN *asclin) |
clears all the flags More... | |
IFX_INLINE void | IfxAsclin_clearBreakDetectedFlag (Ifx_ASCLIN *asclin) |
Clears the break detected flag. More... | |
IFX_INLINE void | IfxAsclin_clearCollisionDetectionErrorFlag (Ifx_ASCLIN *asclin) |
Clears the collision detection error flag. More... | |
IFX_INLINE void | IfxAsclin_clearFallingEdgeDetectedFlag (Ifx_ASCLIN *asclin) |
Clears the falling edge detected flag. More... | |
IFX_INLINE void | IfxAsclin_clearFrameErrorFlag (Ifx_ASCLIN *asclin) |
Clears the frame error flag. More... | |
IFX_INLINE void | IfxAsclin_clearHeaderTimeoutFlag (Ifx_ASCLIN *asclin) |
Clears the header timeout flag. More... | |
IFX_INLINE void | IfxAsclin_clearKernelResetStatus (Ifx_ASCLIN *asclin) |
Clears the kernel reset status. More... | |
IFX_INLINE void | IfxAsclin_clearLinAutoBaudDetectionErrorFlag (Ifx_ASCLIN *asclin) |
Clears the auto baudrate detection error flag. More... | |
IFX_INLINE void | IfxAsclin_clearLinChecksumErrorFlag (Ifx_ASCLIN *asclin) |
Clears the LIN checksum error flag. More... | |
IFX_INLINE void | IfxAsclin_clearLinParityErrorFlag (Ifx_ASCLIN *asclin) |
Clears the LIN parity error flag. More... | |
IFX_INLINE void | IfxAsclin_clearParityErrorFlag (Ifx_ASCLIN *asclin) |
Clears the parity error flag. More... | |
IFX_INLINE void | IfxAsclin_clearRaisingEdgeDetectedFlag (Ifx_ASCLIN *asclin) |
Clears the raising edge detected flag. More... | |
IFX_INLINE void | IfxAsclin_clearResponseTimeoutFlag (Ifx_ASCLIN *asclin) |
Clears the response timeout flag. More... | |
IFX_INLINE void | IfxAsclin_clearRxFifoFillLevelFlag (Ifx_ASCLIN *asclin) |
Clears the Rx FIFO level flag. More... | |
IFX_INLINE void | IfxAsclin_clearRxFifoOverflowFlag (Ifx_ASCLIN *asclin) |
Clears the Rx FIFO overflow flag. More... | |
IFX_INLINE void | IfxAsclin_clearRxFifoUnderflowFlag (Ifx_ASCLIN *asclin) |
Clears the Rx FIFO underflow flag. More... | |
IFX_INLINE void | IfxAsclin_clearRxHeaderEndFlag (Ifx_ASCLIN *asclin) |
Clears the receive header end flag. More... | |
IFX_INLINE void | IfxAsclin_clearRxResponseEndFlag (Ifx_ASCLIN *asclin) |
Clears the receive response end flag. More... | |
IFX_INLINE void | IfxAsclin_clearTransmissionCompletedFlag (Ifx_ASCLIN *asclin) |
Clears the transmission pending flag. More... | |
IFX_INLINE void | IfxAsclin_clearTxFifoFillLevelFlag (Ifx_ASCLIN *asclin) |
Clears the Tx FIFO level flag. More... | |
IFX_INLINE void | IfxAsclin_clearTxFifoOverflowFlag (Ifx_ASCLIN *asclin) |
Clears the Tx FIFO overflow flag. More... | |
IFX_INLINE void | IfxAsclin_clearTxHeaderEndFlag (Ifx_ASCLIN *asclin) |
Clears the transmit header end flag. More... | |
IFX_INLINE void | IfxAsclin_clearTxResponseEndFlag (Ifx_ASCLIN *asclin) |
Clears the transmit response end flag. More... | |
IFX_INLINE void | IfxAsclin_flushRxFifo (Ifx_ASCLIN *asclin) |
Flushes (empties) the Rx FIFO. More... | |
IFX_INLINE void | IfxAsclin_flushTxFifo (Ifx_ASCLIN *asclin) |
Flushes (empties) the Tx FIFO. More... | |
IFX_INLINE void | IfxAsclin_setBrdLowerlimt (Ifx_ASCLIN *asclin, uint8 limit) |
Sets the baudrate detection's lower limit. More... | |
IFX_INLINE void | IfxAsclin_setBrdUpperlimt (Ifx_ASCLIN *asclin, uint8 limit) |
Sets the baudrate detection's upper limit. More... | |
IFX_INLINE void | IfxAsclin_setChecksumInjection (Ifx_ASCLIN *asclin, IfxAsclin_ChecksumInjection csi) |
Sets the checksum injection. More... | |
IFX_INLINE void | IfxAsclin_setChecksumMode (Ifx_ASCLIN *asclin, IfxAsclin_Checksum mode) |
Sets the checksum mode. More... | |
IFX_INLINE void | IfxAsclin_setDataLength (Ifx_ASCLIN *asclin, IfxAsclin_DataLength length) |
Sets the data length (number of bits per transfer) More... | |
IFX_INLINE void | IfxAsclin_setDenominator (Ifx_ASCLIN *asclin, uint16 denominator) |
Sets the denominator of the fractional divider. More... | |
IFX_INLINE void | IfxAsclin_setDisableModuleRequest (Ifx_ASCLIN *asclin) |
Sets the disable module request. More... | |
IFX_INLINE void | IfxAsclin_setEnableModuleRequest (Ifx_ASCLIN *asclin) |
Sets the enable module request. More... | |
IFX_INLINE void | IfxAsclin_setFilterDepth (Ifx_ASCLIN *asclin, uint8 depth) |
Sets digital glitch filter depth. More... | |
IFX_INLINE void | IfxAsclin_setHeaderResponseSelect (Ifx_ASCLIN *asclin, IfxAsclin_HeaderResponseSelect type) |
Sets the header response selection. More... | |
IFX_INLINE void | IfxAsclin_setIdleDelay (Ifx_ASCLIN *asclin, IfxAsclin_IdleDelay delay) |
Sets the idle delay. More... | |
IFX_INLINE void | IfxAsclin_setKernelResetOne (Ifx_ASCLIN *asclin) |
Sets the kernal reset of the KRST1. More... | |
IFX_INLINE void | IfxAsclin_setKernelResetZero (Ifx_ASCLIN *asclin) |
Sets the kernel reset of the KRST0. More... | |
IFX_INLINE void | IfxAsclin_setLeadDelay (Ifx_ASCLIN *asclin, IfxAsclin_LeadDelay delay) |
Sets the lead delay. More... | |
IFX_INLINE void | IfxAsclin_setLinBreakLength (Ifx_ASCLIN *asclin, uint8 length) |
Sets the LIN break length. More... | |
IFX_INLINE void | IfxAsclin_setLinHeaderTimeout (Ifx_ASCLIN *asclin, uint8 timeout) |
Sets the LIN header timeout. More... | |
IFX_INLINE void | IfxAsclin_setLinMode (Ifx_ASCLIN *asclin, IfxAsclin_LinMode mode) |
Sets the LIN mode of operation. More... | |
IFX_INLINE void | IfxAsclin_setLinResponseTimeoutMode (Ifx_ASCLIN *asclin, IfxAsclin_LinResponseTimeoutMode mode) |
Sets the LIN response timeout mode. More... | |
IFX_INLINE void | IfxAsclin_setLinResponseTimeoutThreshold (Ifx_ASCLIN *asclin, uint16 threshold) |
Sets the LIN response timeout threshold. More... | |
IFX_INLINE void | IfxAsclin_setNumerator (Ifx_ASCLIN *asclin, uint16 numerator) |
Sets the numerator of the fractional divider. More... | |
IFX_INLINE void | IfxAsclin_setOversampling (Ifx_ASCLIN *asclin, IfxAsclin_OversamplingFactor ovsFactor) |
Sets the division ratio of the baudrate post divider. More... | |
IFX_INLINE void | IfxAsclin_setParityType (Ifx_ASCLIN *asclin, IfxAsclin_ParityType type) |
Sets the parity type. More... | |
IFX_INLINE void | IfxAsclin_setPrescaler (Ifx_ASCLIN *asclin, uint16 prescaler) |
Sets the division ratio of the predivider (prescaler) More... | |
IFX_INLINE void | IfxAsclin_setRxBufferMode (Ifx_ASCLIN *asclin, IfxAsclin_ReceiveBufferMode mode) |
Sets the receive buffer mode. More... | |
IFX_INLINE void | IfxAsclin_setRxFifoInterruptLevel (Ifx_ASCLIN *asclin, IfxAsclin_RxFifoInterruptLevel level) |
Sets the Tx FIFO interrupt level. More... | |
IFX_INLINE void | IfxAsclin_setRxFifoOutletWidth (Ifx_ASCLIN *asclin, IfxAsclin_RxFifoOutletWidth width) |
Sets the receive FIFO outlet width. More... | |
IFX_INLINE void | IfxAsclin_setSampleMode (Ifx_ASCLIN *asclin, IfxAsclin_SamplesPerBit medianFilter) |
Sets the sample mode (number of samples per bit / median filter) More... | |
IFX_INLINE void | IfxAsclin_setSamplePointPosition (Ifx_ASCLIN *asclin, IfxAsclin_SamplePointPosition spPosition) |
Sets the sampling point position. More... | |
IFX_INLINE void | IfxAsclin_setShiftDirection (Ifx_ASCLIN *asclin, IfxAsclin_ShiftDirection dir) |
Sets the shift direction. More... | |
IFX_INLINE void | IfxAsclin_setStopBit (Ifx_ASCLIN *asclin, IfxAsclin_StopBit stopBit) |
Sets the number of stop bits. More... | |
IFX_INLINE void | IfxAsclin_setTransmitHeaderRequestFlag (Ifx_ASCLIN *asclin) |
Sets the transmit header request flag. More... | |
IFX_INLINE void | IfxAsclin_setTransmitResponseRequestFlag (Ifx_ASCLIN *asclin) |
Sets the transmit response request flag. More... | |
IFX_INLINE void | IfxAsclin_setTransmitWakeRequestFlag (Ifx_ASCLIN *asclin) |
Sets the transmission wake request flag. More... | |
IFX_INLINE void | IfxAsclin_setTxFifoInletWidth (Ifx_ASCLIN *asclin, IfxAsclin_TxFifoInletWidth width) |
Sets the transmit FIFO inlet width. More... | |
IFX_INLINE void | IfxAsclin_setTxFifoInterruptLevel (Ifx_ASCLIN *asclin, IfxAsclin_TxFifoInterruptLevel level) |
Sets the Tx FIFO interrupt level. More... | |
IFX_INLINE boolean | IfxAsclin_getBreakDetectedFlagStatus (Ifx_ASCLIN *asclin) |
Returns the break detected flag status. More... | |
IFX_INLINE uint8 | IfxAsclin_getClockSource (Ifx_ASCLIN *asclin) |
Returns the clock source. More... | |
IFX_INLINE boolean | IfxAsclin_getClockStatus (Ifx_ASCLIN *asclin) |
Returns the clock status. More... | |
IFX_INLINE boolean | IfxAsclin_getCollisionDetectionErrorFlagStatus (Ifx_ASCLIN *asclin) |
Returns the collision detection error flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getFallingEdgeDetectedFlagStatus (Ifx_ASCLIN *asclin) |
Returns the falling edge detected flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getFrameErrorFlagStatus (Ifx_ASCLIN *asclin) |
Returns the frame error flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getHeaderTimeoutFlagStatus (Ifx_ASCLIN *asclin) |
Returns the header timeout flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getKernelResetStatus (Ifx_ASCLIN *asclin) |
Returns the kernel reset status. More... | |
IFX_INLINE boolean | IfxAsclin_getLinAutoBaudDetectionErrorFlagStatus (Ifx_ASCLIN *asclin) |
Returns the LIN auto baudrate detection error flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getLinChecksumErrorFlagStatus (Ifx_ASCLIN *asclin) |
Returns the LIN checksum error flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getLinParityErrorFlagStatus (Ifx_ASCLIN *asclin) |
Returns the LIN parity error flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getModuleStatus (Ifx_ASCLIN *asclin) |
Returns the module status. More... | |
IFX_INLINE boolean | IfxAsclin_getParityErrorFlagStatus (Ifx_ASCLIN *asclin) |
Returns the parity error flag status. More... | |
IFX_INLINE uint16 | IfxAsclin_getPrescaler (Ifx_ASCLIN *asclin) |
Returns the division ratio of the predivider (prescaler) More... | |
IFX_INLINE boolean | IfxAsclin_getRaisingEdgeDetectedFlagStatus (Ifx_ASCLIN *asclin) |
Returns the raising edge detected flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getReceiveSignalStatus (Ifx_ASCLIN *asclin) |
Returns the received signal status. More... | |
IFX_INLINE boolean | IfxAsclin_getResponseTimeoutFlagStatus (Ifx_ASCLIN *asclin) |
Returns the response timeout flag status. More... | |
IFX_INLINE uint8 | IfxAsclin_getRxFifoFillLevel (Ifx_ASCLIN *asclin) |
Returns the current filling level of Tx FIFO. More... | |
IFX_INLINE boolean | IfxAsclin_getRxFifoFillLevelFlagStatus (Ifx_ASCLIN *asclin) |
Returns the Rx FIFO level flag status. More... | |
IFX_INLINE uint8 | IfxAsclin_getRxFifoOutletWidth (Ifx_ASCLIN *asclin) |
Returns the receive FIFO inlet width. More... | |
IFX_INLINE boolean | IfxAsclin_getRxFifoOverflowFlagStatus (Ifx_ASCLIN *asclin) |
Returns the Rx FIFO overflow flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getRxFifoUnderflowFlagStatus (Ifx_ASCLIN *asclin) |
Returns the Rx FIFO underflow flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getRxHeaderEndFlagStatus (Ifx_ASCLIN *asclin) |
Returns the receive header end flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getRxResponseEndFlagStatus (Ifx_ASCLIN *asclin) |
Returns the receive response end flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getTransmissionCompletedFlagStatus (Ifx_ASCLIN *asclin) |
Returns the transmission pending flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getTransmitSignalStatus (Ifx_ASCLIN *asclin) |
Returns the transmit signal status. More... | |
IFX_INLINE uint8 | IfxAsclin_getTxFifoFillLevel (Ifx_ASCLIN *asclin) |
Returns the current filling level of Tx FIFO. More... | |
IFX_INLINE boolean | IfxAsclin_getTxFifoFillLevelFlagStatus (Ifx_ASCLIN *asclin) |
Returns the Tx FIFO level flag status. More... | |
IFX_INLINE uint8 | IfxAsclin_getTxFifoInletWidth (Ifx_ASCLIN *asclin) |
Returns the transmit FIFO inlet width. More... | |
IFX_INLINE boolean | IfxAsclin_getTxFifoOverflowFlagStatus (Ifx_ASCLIN *asclin) |
Returns the Tx FIFO overflow flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getTxHeaderEndFlagStatus (Ifx_ASCLIN *asclin) |
Returns the transmit header end flag status. More... | |
IFX_INLINE boolean | IfxAsclin_getTxResponseEndFlagStatus (Ifx_ASCLIN *asclin) |
Returns the transmit response end flag status. More... | |
IFX_INLINE void | IfxAsclin_setSleepMode (Ifx_ASCLIN *asclin, IfxAsclin_SleepMode mode) |
Sets the sensitivity of the module to sleep signal. More... | |
IFX_EXTERN float32 | IfxAsclin_getFaFrequency (Ifx_ASCLIN *asclin) |
Returns the ASCLIN module FA frequency in Hz. More... | |
IFX_EXTERN float32 | IfxAsclin_getOvsFrequency (Ifx_ASCLIN *asclin) |
Returns the OVS frequency. More... | |
IFX_EXTERN float32 | IfxAsclin_getPdFrequency (Ifx_ASCLIN *asclin) |
Returns the PD frequency. More... | |
IFX_EXTERN float32 | IfxAsclin_getShiftFrequency (Ifx_ASCLIN *asclin) |
Returns the SHIFT frequency. More... | |
IFX_EXTERN void | IfxAsclin_resetModule (Ifx_ASCLIN *asclin) |
resets Asclin kernel More... | |
IFX_INLINE void | IfxAsclin_disableAllFlags (Ifx_ASCLIN *asclin) |
disables all flags More... | |
IFX_INLINE void | IfxAsclin_enableAutoBaudrateDetection (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables the auto baudrate detection. More... | |
IFX_INLINE void | IfxAsclin_enableBreakDetectedFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables break detected flag. More... | |
IFX_INLINE void | IfxAsclin_enableCollisionDetection (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables the collision detection. More... | |
IFX_INLINE void | IfxAsclin_enableCollisionDetectionErrorFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables LIN collision detection error flag. More... | |
IFX_INLINE void | IfxAsclin_enableCts (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables CTS. More... | |
IFX_INLINE void | IfxAsclin_enableFallingEdgeDetectedFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables falling edge detected flag. More... | |
IFX_INLINE void | IfxAsclin_enableFrameErrorFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables frame error flag. More... | |
IFX_INLINE void | IfxAsclin_enableHardwareChecksum (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables the hardware checksum. More... | |
IFX_INLINE void | IfxAsclin_enableHeaderTimeoutFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables header timeout flag. More... | |
IFX_INLINE void | IfxAsclin_enableLinAutoBaudDetectionErrorFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables LIN auto baudrate detection error flag. More... | |
IFX_INLINE void | IfxAsclin_enableLinChecksumErrorFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables LIN checksum error flag. More... | |
IFX_INLINE void | IfxAsclin_enableLinParityErrorFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables LIN parity error flag. More... | |
IFX_INLINE void | IfxAsclin_enableLoopBackMode (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables the loop back mode. More... | |
IFX_INLINE void | IfxAsclin_enableParity (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables the parity bit attachment to tha data bits. More... | |
IFX_INLINE void | IfxAsclin_enableParityErrorFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables parity error flag. More... | |
IFX_INLINE void | IfxAsclin_enableRaisingEdgeDetectedFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables raising edge detected flag. More... | |
IFX_INLINE void | IfxAsclin_enableResponseTimeoutFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables response timeout flag. More... | |
IFX_INLINE void | IfxAsclin_enableRxFifoFillLevelFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables Rx FIFO level flag. More... | |
IFX_INLINE void | IfxAsclin_enableRxFifoInlet (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables the receive FIFO outlet to allow filling of Rx FIFO through shift register. More... | |
IFX_INLINE void | IfxAsclin_enableRxFifoOverflowFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables Rx FIFO overflow flag. More... | |
IFX_INLINE void | IfxAsclin_enableRxFifoUnderflowFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables Rx FIFO underflow flag. More... | |
IFX_INLINE void | IfxAsclin_enableRxHeaderEndFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables receive header end flag. More... | |
IFX_INLINE void | IfxAsclin_enableRxResponseEndFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables receive response end flag. More... | |
IFX_INLINE void | IfxAsclin_enableTransmissionCompletedFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables transmission completed flag. More... | |
IFX_INLINE void | IfxAsclin_enableTxFifoFillLevelFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables Tx FIFO level flag. More... | |
IFX_INLINE void | IfxAsclin_enableTxFifoOutlet (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables the transmit FIFO outlet to allow transmission. More... | |
IFX_INLINE void | IfxAsclin_enableTxFifoOverflowFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables Tx FIFO overflow flag. More... | |
IFX_INLINE void | IfxAsclin_enableTxHeaderEndFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables transmit header end flag. More... | |
IFX_INLINE void | IfxAsclin_enableTxResponseEndFlag (Ifx_ASCLIN *asclin, boolean enable) |
Enables/disables transmit response end flag. More... | |
IFX_INLINE void | IfxAsclin_setClockPolarity (Ifx_ASCLIN *asclin, IfxAsclin_ClockPolarity cpol) |
Selects the clock polarity. More... | |
IFX_INLINE void | IfxAsclin_setCtsInput (Ifx_ASCLIN *asclin, IfxAsclin_CtsInputSelect ctsi) |
Selects the CTS input pin. More... | |
IFX_INLINE void | IfxAsclin_setFrameMode (Ifx_ASCLIN *asclin, IfxAsclin_FrameMode mode) |
Selects the module's mode of operation. More... | |
IFX_INLINE void | IfxAsclin_setRtsCtsPolarity (Ifx_ASCLIN *asclin, IfxAsclin_RtsCtsPolarity rcpol) |
Selects the RTS/CTS polarity. More... | |
IFX_INLINE void | IfxAsclin_setRxInput (Ifx_ASCLIN *asclin, IfxAsclin_RxInputSelect alti) |
Selects the alternate input for Rx signal. More... | |
IFX_INLINE void | IfxAsclin_setSlavePolarity (Ifx_ASCLIN *asclin, IfxAsclin_SlavePolarity spol) |
Selects the slave polarity. More... | |
IFX_EXTERN boolean | IfxAsclin_setBitTiming (Ifx_ASCLIN *asclin, float32 baudrate, IfxAsclin_OversamplingFactor oversampling, IfxAsclin_SamplePointPosition samplepoint, IfxAsclin_SamplesPerBit medianFilter) |
Set the bit timing. More... | |
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_INLINE void | IfxAsclin_initCtsPin (const IfxAsclin_Cts_In *cts, IfxPort_InputMode inputMode) |
Initializes a CTS input. More... | |
IFX_INLINE void | IfxAsclin_initRtsPin (const IfxAsclin_Rts_Out *rts, IfxPort_OutputMode outputMode, IfxPort_PadDriver padDriver) |
Initializes a RTS output. More... | |
IFX_INLINE void | IfxAsclin_initRxPin (const IfxAsclin_Rx_In *rx, IfxPort_InputMode inputMode) |
Initializes a RX input. More... | |
IFX_INLINE void | IfxAsclin_initSclkPin (const IfxAsclin_Sclk_Out *sclk, IfxPort_OutputMode outputMode, IfxPort_PadDriver padDriver) |
Initializes a SCLK output. More... | |
IFX_INLINE void | IfxAsclin_initSlsoPin (const IfxAsclin_Slso_Out *slso, IfxPort_OutputMode outputMode, IfxPort_PadDriver padDriver) |
Initializes a SLSO output. More... | |
IFX_INLINE void | IfxAsclin_initTxPin (const IfxAsclin_Tx_Out *tx, IfxPort_OutputMode outputMode, IfxPort_PadDriver padDriver) |
Initializes a TX output. More... | |
IFX_INLINE uint32 | IfxAsclin_readRxData (Ifx_ASCLIN *asclin) |
IFX_INLINE void | IfxAsclin_writeTxData (Ifx_ASCLIN *asclin, uint32 data) |
ASCLIN 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 IfxAsclin.h.
IFX_INLINE uint32 IfxAsclin_readRxData | ( | Ifx_ASCLIN * | asclin) |
asclin | pointer to ASCLIN registers |
Definition at line 2097 of file IfxAsclin.h.
Referenced by IfxAsclin_Spi_read().
IFX_INLINE void IfxAsclin_writeTxData | ( | Ifx_ASCLIN * | asclin, |
uint32 | data | ||
) |
asclin | pointer to ASCLIN registers |
data | data to be written |
Definition at line 2358 of file IfxAsclin.h.
Referenced by IfxAsclin_Spi_write().