iLLD_TC27xD
1.0
|
Data Structures | |
struct | IfxAsclin_Spi_Baudrate |
Structure for Baudrate Generation. More... | |
struct | IfxAsclin_Spi_BitSamplingControl |
Structure for Bit Sampling. More... | |
struct | IfxAsclin_Spi_ErrorFlags |
Structure for Error Flags. More... | |
struct | IfxAsclin_Spi_FifoControl |
Structure for FIFO Control. More... | |
struct | IfxAsclin_Spi_FrameControl |
Structure for Frame Control. More... | |
struct | IfxAsclin_Spi_InputOutputControl |
Structure for input output control. More... | |
struct | IfxAsclin_Spi_InterruptConfig |
Structure for interrupt configuration. More... | |
struct | IfxAsclin_Spi_Job |
Structure for data transfer jobs. More... | |
struct | IfxAsclin_Spi_Pins |
Structure for SPI pin configuration. More... | |
struct | IfxAsclin_Spi |
Module handle. More... | |
struct | IfxAsclin_Spi_Config |
Configuration structure of the module. More... | |
struct IfxAsclin_Spi_Baudrate |
Structure for Baudrate Generation.
Definition at line 227 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
float32 | baudrate | value of the required baudrate |
IfxAsclin_OversamplingFactor | oversampling | BITCON.OVERSAMPLING, postdivider, used for oversampling. |
uint16 | prescaler | BITCON.PRESCALER, predivider to generate the baud rate. |
struct IfxAsclin_Spi_BitSamplingControl |
Structure for Bit Sampling.
Definition at line 236 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
IfxAsclin_SamplesPerBit | medianFilter | BITCON.SM, no. of samples per bit 1 or 3. |
struct IfxAsclin_Spi_ErrorFlags |
struct IfxAsclin_Spi_FifoControl |
Structure for FIFO Control.
Definition at line 253 of file IfxAsclin_Spi.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. |
IfxAsclin_RxFifoInterruptLevel | rxFifoInterruptLevel | RXFIFOCON.INTLEVEL, Rx FIFO interrupt level. |
IfxAsclin_TxFifoInterruptLevel | txFifoInterruptLevel | TXFIFOCON.INTLEVEL, Tx FIFO interrupt level. |
struct IfxAsclin_Spi_FrameControl |
Structure for Frame Control.
Definition at line 264 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
IfxAsclin_IdleDelay | idleDelay | FRAMECON.IDLE, idle delay. |
IfxAsclin_LeadDelay | leadDelay | FRAMECON.LEAD, lead delay. |
IfxAsclin_ShiftDirection | shiftDir | FRAMECON.MSB, shift direction. |
IfxAsclin_StopBit | stopBit | FRAMECON.STOP, number of stop bits. |
struct IfxAsclin_Spi_InputOutputControl |
Structure for input output control.
Definition at line 274 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
IfxAsclin_RxInputSelect | alti | IOCR.ALTI, Rx input (alternate input) pin selection. |
IfxAsclin_ClockPolarity | cpol | IOCR.CPOL clock polarity selection. |
boolean | loopBack | IOCR.LB, loop back mode selection, 0 for disable, 1 for enable. |
IfxAsclin_SlavePolarity | spol | IOCR.SPOL slave polarity selection. |
struct IfxAsclin_Spi_InterruptConfig |
Structure for interrupt configuration.
Definition at line 284 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
uint16 | erPriority | error interrupt priority |
uint16 | rxPriority | receive interrupt priority |
uint16 | txPriority | transmit interrupt priority |
IfxSrc_Tos | typeOfService | type of interrupt service |
struct IfxAsclin_Spi_Job |
Structure for data transfer jobs.
Definition at line 294 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
void * | data | pointer to user data |
uint32 | pending | job remaining (count of the data) |
struct IfxAsclin_Spi_Pins |
Structure for SPI pin configuration.
Definition at line 302 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
IfxPort_PadDriver | pinDriver | pad driver |
const IfxAsclin_Rx_In * | rx | SPI Rx pin. |
IfxPort_InputMode | rxMode | rx pin as input |
const IfxAsclin_Sclk_Out * | sclk | SPI clock select pin. |
IfxPort_OutputMode | sclkMode | sclk as output |
const IfxAsclin_Slso_Out * | slso | SPI slave select pin. |
IfxPort_OutputMode | slsoMode | slso as output |
const IfxAsclin_Tx_Out * | tx | SPI Tx pin. |
IfxPort_OutputMode | txMode | tx as output |
struct IfxAsclin_Spi |
Module handle.
Definition at line 321 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
Ifx_ASCLIN * | asclin | pointer to ASCLIN registers |
uint8 | dataWidth | width of the data in bytes |
IfxAsclin_Spi_ErrorFlags | errorFlags | structure for error flags status |
IfxAsclin_Spi_Job | rxJob | structure for Rx job |
uint32 | sending | sending in progress status |
boolean | transferInProgress | status of the transfer In progress |
IfxAsclin_Spi_Job | txJob | structure for Tx job |
struct IfxAsclin_Spi_Config |
Configuration structure of the module.
Definition at line 334 of file IfxAsclin_Spi.h.
Data Fields | ||
---|---|---|
Ifx_ASCLIN * | asclin | pointer to ASCLIN registers |
IfxAsclin_Spi_Baudrate | baudrate | structure for baudrate |
IfxAsclin_Spi_BitSamplingControl | bitSampling | structure for bit sampling |
IfxAsclin_ClockSource | clockSource | CSR.CLKSEL, clock source selection. |
IfxAsclin_DataLength | dataLength | DATCON.DATALENGTH, data length, number of bits per transfer. |
IfxAsclin_Spi_FifoControl | fifo | structure for FIFO control |
IfxAsclin_Spi_FrameControl | frame | structure for frame control |
IfxAsclin_FrameMode | frameMode | FRAMECON.MODE, mode of operation of the module (ASC, SPI, LIN) |
IfxAsclin_Spi_InputOutputControl | inputOutput | structure for input output control |
IfxAsclin_Spi_InterruptConfig | interrupt | structure for interrupt configuration |
const IfxAsclin_Spi_Pins * | pins | structure for SPI pins |