uartlite
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
XUartLite_Buffer Struct Reference

Buffer descriptor for send and receive operations. More...

#include <xuartlite.h>

Data Fields

u8 * NextBytePtr
 Pointer to the next byte to send or receive. More...
 
unsigned int RequestedBytes
 Total number of bytes requested. More...
 
unsigned int RemainingBytes
 Number of bytes still to be processed. More...
 

Detailed Description

Buffer descriptor for send and receive operations.

The following data type is used to manage the buffers that are handled when sending and receiving data in the interrupt mode. It is intended for internal use only.

Field Documentation

u8* XUartLite_Buffer::NextBytePtr

Pointer to the next byte to send or receive.

Referenced by XUartLite_CfgInitialize(), XUartLite_ReceiveBuffer(), XUartLite_Recv(), XUartLite_Send(), and XUartLite_SendBuffer().

unsigned int XUartLite_Buffer::RemainingBytes
unsigned int XUartLite_Buffer::RequestedBytes

Total number of bytes requested.

Referenced by XUartLite_CfgInitialize(), XUartLite_InterruptHandler(), XUartLite_Recv(), and XUartLite_Send().