AM263Px MCU+ SDK  10.01.00
UARTLLD_Object Struct Reference

Detailed Description

UART driver object.

Data Fields

uint32_t baseAddr
 
UARTLLD_InitHandle hUartInit
 
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 currIntMask
 
uint32_t state
 
void * readTransferMutex
 
void * writeTransferMutex
 
void * args
 
uint64_t lineStatusTimeout
 

Field Documentation

◆ baseAddr

uint32_t UARTLLD_Object::baseAddr

Peripheral base address

◆ hUartInit

UARTLLD_InitHandle UARTLLD_Object::hUartInit

[IN] Initialization parameters of UART instance

◆ writeBuf

const void* UARTLLD_Object::writeBuf

Buffer data pointer

◆ writeCount

uint32_t UARTLLD_Object::writeCount

Number of Chars sent

◆ writeSizeRemaining

uint32_t UARTLLD_Object::writeSizeRemaining

Chars remaining in buffer

◆ readBuf

void* UARTLLD_Object::readBuf

Buffer data pointer

◆ readCount

uint32_t UARTLLD_Object::readCount

Number of Chars read

◆ readSizeRemaining

uint32_t UARTLLD_Object::readSizeRemaining

Chars remaining in buffer

◆ rxTimeoutCnt

uint32_t UARTLLD_Object::rxTimeoutCnt

Receive timeout error count

◆ readErrorCnt

uint32_t UARTLLD_Object::readErrorCnt

Line status error count

◆ readTrans

UART_Transaction UARTLLD_Object::readTrans

Pointer to the current read transaction

◆ writeTrans

UART_Transaction UARTLLD_Object::writeTrans

Pointer to the current write transaction

◆ currIntMask

uint32_t UARTLLD_Object::currIntMask

◆ state

uint32_t UARTLLD_Object::state

Flag to indicate whether the instance is opened already

◆ readTransferMutex

void* UARTLLD_Object::readTransferMutex

Read Transfer Sync Sempahore - to signal transfer completion

◆ writeTransferMutex

void* UARTLLD_Object::writeTransferMutex

Write Transfer Sync Sempahore - to signal transfer completion

◆ args

void* UARTLLD_Object::args

Pointer to be used by application to store miscellaneous data.

◆ lineStatusTimeout

uint64_t UARTLLD_Object::lineStatusTimeout

Variable to hold the line status timeout in ticks