UART driver object.
Data Fields | |
| UART_Handle | handle |
| UART_Params | prms |
| const void * | writeBuf |
| uint32_t | writeCount |
| uint32_t | writeSizeRemaining |
| void * | readBuf |
| uint32_t | readCount |
| uint32_t | readSizeRemaining |
| uint32_t | rxTimeoutCnt |
| uint32_t | readErrorCnt |
| UART_Transaction * | readTrans |
| UART_Transaction * | writeTrans |
| uint32_t | isOpen |
| void * | lock |
| SemaphoreP_Object | lockObj |
| void * | readTransferSem |
| SemaphoreP_Object | readTransferSemObj |
| void * | writeTransferSem |
| SemaphoreP_Object | writeTransferSemObj |
| void * | hwiHandle |
| HwiP_Object | hwiObj |
| UART_EdmaParams | rxEdmaParams |
| UART_EdmaParams | txEdmaParams |
| EDMA_Handle | uartEdmaHandle |
| CSL_sciRegs * | pSCIRegs |
| uint8_t | shiftJustification |
| UART_Handle UART_Object::handle |
Instance handle to which this object belongs
| UART_Params UART_Object::prms |
Open parameter as provided by user
| const void* UART_Object::writeBuf |
Buffer data pointer
| uint32_t UART_Object::writeCount |
Number of Chars sent
| uint32_t UART_Object::writeSizeRemaining |
Chars remaining in buffer
| void* UART_Object::readBuf |
Buffer data pointer
| uint32_t UART_Object::readCount |
Number of Chars read
| uint32_t UART_Object::readSizeRemaining |
Chars remaining in buffer
| uint32_t UART_Object::rxTimeoutCnt |
Receive timeout error count
| uint32_t UART_Object::readErrorCnt |
Line status error count
| UART_Transaction* UART_Object::readTrans |
Pointer to the current read transaction
| UART_Transaction* UART_Object::writeTrans |
Pointer to the current write transaction
| uint32_t UART_Object::isOpen |
Flag to indicate whether the instance is opened already
| void* UART_Object::lock |
Instance lock - to protect across transfers
| SemaphoreP_Object UART_Object::lockObj |
Driver lock object
| void* UART_Object::readTransferSem |
Read Transfer Sync Sempahore - to sync between transfer completion ISR and task
| SemaphoreP_Object UART_Object::readTransferSemObj |
Read Transfer Sync Sempahore object
| void* UART_Object::writeTransferSem |
Write Transfer Sync Sempahore - to sync between transfer completion ISR and task
| SemaphoreP_Object UART_Object::writeTransferSemObj |
Write Transfer Sync Sempahore object
| void* UART_Object::hwiHandle |
Interrupt handle for controller ISR
| HwiP_Object UART_Object::hwiObj |
Interrupt object
| UART_EdmaParams UART_Object::rxEdmaParams |
EDMA parameters for the UART Rx
| UART_EdmaParams UART_Object::txEdmaParams |
EDMA parameters for the UART Tx
| EDMA_Handle UART_Object::uartEdmaHandle |
| CSL_sciRegs* UART_Object::pSCIRegs |
Pointer to register overlay
| uint8_t UART_Object::shiftJustification |
This is the number of bits the read data needs to be shifted. This is calculated using the data length. When data of fewer than eight bits in length is received, it is left-justified in SCIRD and padded with trailing zeros. Data read from the SCIRD should be shifted by software to make the received data rightjustified.