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 |
void * | uartDmaHandle |
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
void* UART_Object::uartDmaHandle |
Pointer to current transaction struct