iLLD_TC27xD
1.0
|
Data Structures | |
struct | IfxAsclin_Lin_AcknowledgementFlags |
Structure for Acknowledgement Flags. More... | |
struct | IfxAsclin_Lin_BaudrateDetection |
Structure for Baudrate Detection. More... | |
struct | IfxAsclin_Lin_BaudrateGeneration |
Structure for Baudrate Generation. More... | |
struct | IfxAsclin_Lin_BitSamplingControl |
Structure for Bit Sampling. More... | |
struct | IfxAsclin_Lin_BitTimingControl |
Structure for Bit Timing. More... | |
struct | IfxAsclin_Lin_DataControl |
Structure for Data Control. More... | |
struct | IfxAsclin_Lin_ErrorFlags |
Structure for Error Flags. More... | |
struct | IfxAsclin_Lin_FifoControl |
Structure for FIFO Control. More... | |
struct | IfxAsclin_Lin_FrameControl |
Structure for Frame Control. More... | |
struct | IfxAsclin_Lin_LinControl |
Structure for lin Control. More... | |
struct | IfxAsclin_Lin_Pins |
Structure for LIN pin configuration. More... | |
struct | IfxAsclin_Lin |
struct | IfxAsclin_Lin_Config |
Configuration structure of the module. More... | |
struct IfxAsclin_Lin_AcknowledgementFlags |
struct IfxAsclin_Lin_BaudrateDetection |
Structure for Baudrate Detection.
Definition at line 207 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
boolean | abd | LINCON.ABD, autobaud detection enable. |
uint8 | lowerLimit | BRD.LOWERLIMIT, auto baudrate detection lowerlimit. |
uint8 | measured | BRD.MEASURED, measured time interval between the first and the fifth falling edge of the sync byte. |
uint8 | upperLimit | BRD.UPPERLIMIT, auto baudrate detection upperlimit. |
struct IfxAsclin_Lin_BaudrateGeneration |
Structure for Baudrate Generation.
Definition at line 218 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
float32 | baudrate | value of the required baudrate |
uint16 | denominator | BRG.DENOMINATOR, defines the denominator of fractional divider. |
uint16 | numerator | BRG.NUMERATOR, defines the numerator of fractional divider. |
struct IfxAsclin_Lin_BitSamplingControl |
Structure for Bit Sampling.
Definition at line 227 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
uint8 | filterDepth | IOCR.DEPTH, digital glitch filter depth. |
IfxAsclin_SamplesPerBit | medianFilter | BITCON.SM, no. of samples per bit 1 or 3. |
IfxAsclin_SamplePointPosition | samplePointPosition | BITCON.SAMPLEPOINT, sample point position. |
struct IfxAsclin_Lin_BitTimingControl |
Structure for Bit Timing.
Definition at line 236 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
IfxAsclin_OversamplingFactor | oversampling | BITCON.OVERSAMPLING, postdivider, used for oversampling. |
uint16 | prescaler | BITCON.PRESCALER, predivider to generate the baud rate. |
struct IfxAsclin_Lin_DataControl |
Structure for Data Control.
Definition at line 244 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
IfxAsclin_Checksum | checksum | DATCON.CSM, checksum mode (classic or enhanced) |
IfxAsclin_DataLength | dataLength | DATCON.DATALENGTH, data length, number of bits per transfer. |
IfxAsclin_HeaderResponseSelect | headerOnly | DATCON.HO, Lin frame with header and response or header only. |
uint16 | responseTimeout | DATCON.RESPONSE, timeout limit. |
IfxAsclin_LinResponseTimeoutMode | responseTimeoutMode | DATCON.RM, response mode (response or frame timeout threshold) |
struct IfxAsclin_Lin_ErrorFlags |
Structure for Error Flags.
Definition at line 255 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
uint8 | breakDetected: 1 | break detected |
uint8 | collisionDetectionError: 1 | collision detection error |
uint8 | frameError: 1 | frame error |
uint8 | headerTimeout: 1 | header timeout |
uint8 | linAutobaudDetectionError: 1 | lin autobaud detection error |
uint8 | linChecksumError: 1 | lin checksum error |
uint8 | linParityError: 1 | lin parity error |
uint8 | responseTimeout: 1 | response timeout |
uint8 | rxFifoOverflow: 1 | receive FIFO overflow error |
uint8 | txFifoOverflow: 1 | transmit FIFO overflow error |
struct IfxAsclin_Lin_FifoControl |
Structure for FIFO Control.
Definition at line 271 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
IfxAsclin_ReceiveBufferMode | buffMode | RXFIFOCON.BUF, receive buffer mode (RXFIFO or RXBuffer) |
IfxAsclin_TxFifoInletWidth | inWidth | TXFIFOCON.INW, transmit FIFO inlet width. |
IfxAsclin_RxFifoOutletWidth | outWidth | RXFIFOCON.OTW, receive FIFO oulet width. |
struct IfxAsclin_Lin_FrameControl |
Structure for Frame Control.
Definition at line 280 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
boolean | collisionDetectionEnable | FRAMECON.CEN, collision detection enable. |
IfxAsclin_IdleDelay | idleDelay | FRAMECON.IDLE, idle delay. |
IfxAsclin_LeadDelay | leadDelay | FRAMECON.LEAD, lead delay. |
boolean | parityEnable | FRAMECON.PEN, parity enable. |
IfxAsclin_ParityType | parityType | FRAMECON.ODD, parity type (even or odd) |
IfxAsclin_ShiftDirection | shiftDir | FRAMECON.MSB, shift direction. |
IfxAsclin_StopBit | stopBit | FRAMECON.STOP, number of stop bits. |
struct IfxAsclin_Lin_LinControl |
Structure for lin Control.
Definition at line 293 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
uint8 | breakLength | LINBTIMER.BREAK, break pulse generation and detection length. |
boolean | csEnable | LINCON.CSEN, hardware checksum generation and checking. |
IfxAsclin_ChecksumInjection | csi | LINCON.CSI, checksum injection (not written or written) into RxFIFO. |
uint8 | headerTimeout | LINHTIMER.HEADER, header timeout threshold value. |
struct IfxAsclin_Lin_Pins |
Structure for LIN pin configuration.
Definition at line 303 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
IfxPort_PadDriver | pinDriver | pad driver |
const IfxAsclin_Rx_In * | rx | LIN Rx pin. |
IfxPort_InputMode | rxMode | rx pin as input |
const IfxAsclin_Tx_Out * | tx | LIN Tx pin. |
IfxPort_OutputMode | txMode | tx as output |
struct IfxAsclin_Lin |
Definition at line 316 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
IfxAsclin_Lin_AcknowledgementFlags | acknowledgmentFlags | structure for acknowledgement flags |
Ifx_ASCLIN * | asclin | pointer to ASCLIN registers |
IfxAsclin_Lin_ErrorFlags | errorFlagsStatus | structure for error flags status |
IfxAsclin_LinMode | linMode | LINCON.MS, lin mode of operation (master or slave) |
boolean | receiveIdEnable | setting to receive Id in Rx Fifo after sending it |
struct IfxAsclin_Lin_Config |
Configuration structure of the module.
Definition at line 327 of file IfxAsclin_Lin.h.
Data Fields | ||
---|---|---|
IfxAsclin_RxInputSelect | alti | IOCR.ALTI, Rx input (alternate input) pin selection. |
Ifx_ASCLIN * | asclin | pointer to ASCLIN registers |
IfxAsclin_Lin_BaudrateDetection | brd | structure for baudrate detection |
IfxAsclin_Lin_BaudrateGeneration | brg | structure for baudrate generation |
IfxAsclin_Lin_BitSamplingControl | bsc | structure for bit sampling |
IfxAsclin_Lin_BitTimingControl | btc | structure for bit timings |
IfxAsclin_ClockSource | clockSource | CSR.CLKSEL, clock source selection. |
IfxAsclin_Lin_DataControl | data | structure for data control |
IfxAsclin_Lin_FifoControl | fifo | structure for FIFO control |
IfxAsclin_Lin_FrameControl | frame | structure for frame control |
IfxAsclin_FrameMode | frameMode | FRAMECON.MODE, mode of operation of the module (ASC, SPI, LIN) |
IfxAsclin_Lin_LinControl | lin | structure for lin control |
IfxAsclin_LinMode | linMode | LINCON.MS, lin mode of operation (master or slave) |
const IfxAsclin_Lin_Pins * | pins | structure for LIN pins |
boolean | receiveIdEnable | setting to receive Id in Rx Fifo after sending it |