Introduction

The APBUART is part of the GRLIB device library from Gaisler. The ApbUart model supports both infinite speed UARTs (where bytes are sent when the register is written) and the emulation of FIFOs and send times based on the scaler.

Attributes

Properties

Name Type Description

config.clockDivider

uint32_t

config.fifoSize

uint8_t

config.infiniteUartSpeed

uint8_t

config.interrupt

uint8_t

control

uint32_t

data

uint32_t

fifo_debug

uint32_t

irqCtrl

iref

object.timeSource

object

Time source object (a cpu or machine object)

pnp.bar

uint32_t

pnp.config

uint32_t

rxFifo.data

[32 x uint8_t]

rxFifo.size

uint8_t

rxFifo.start

uint8_t

rxFifo.usage

uint8_t

scaler

uint32_t

status

uint32_t

tx

iref

txFifo.data

[32 x uint8_t]

txFifo.size

uint8_t

txFifo.start

uint8_t

txFifo.usage

uint8_t

txShift

uint8_t

Interfaces

Name Type Description

ApbIface

ApbIface

DeviceIface

DeviceIface

MemAccessIface

MemAccessIface

ResetIface

ResetIface

UartIface

SerialIface

Ports

Prop Iface Description

tx

UartIface

serial port

Limitations

  • Loop back mode is not presently supported.

  • Control flow (cts) is not supported