Introduction

The ApbUart model is available in the ApbUart plugin. That plugin is part of the GRLIB device library feature. The ApbUart model supports both FIFO simualtion and infinite speed UARTs. In infinite speed mode bytes are sent directly when they are written to the data register.

Loading the Plugin

import ApbUart

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 / <unknown>

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 / <unknown>

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