Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_PL011_UART Struct Reference

#include <pl011.h>

Data Fields

UART_DEVICE uart
uint32_t irq
SPIN_HANDLE lock
 Device lock (Differs from lock in UART device) (Spin lock due to use by interrupt handler).
uint32_t clockrate
 Device clock rate.
PL011_UART_REGISTERSregisters
 Device registers.
uint32_t start
 Index of first available buffer entry.
uint32_t count
 Number of available entries in the buffer.
uint16_t buffer [PL011_UART_RX_BUFFER_SIZE]
 Buffer for received data (Includes data and status).
uint32_t interruptcount
 Number of interrupt requests received by the device.

Field Documentation

◆ uart

◆ irq

uint32_t irq

◆ lock

Device lock (Differs from lock in UART device) (Spin lock due to use by interrupt handler).

◆ clockrate

uint32_t clockrate

Device clock rate.

◆ registers

Device registers.

◆ start

uint32_t start

Index of first available buffer entry.

◆ count

uint32_t count

Number of available entries in the buffer.

◆ buffer

uint16_t buffer[PL011_UART_RX_BUFFER_SIZE]

Buffer for received data (Includes data and status).

◆ interruptcount

uint32_t interruptcount

Number of interrupt requests received by the device.


The documentation for this struct was generated from the following file: