Introduction

The GPIO bus model is one of the standard bus models available in T-EMU. The bus model maintains the values of 64 GPIO pins, and a notification list where pin updates can be forwarded to an arbitrary number of models when pin values have changed.

This does place a limitation, in that a model must know which pin it is connected to, which may not be ideal. The recommended approach is to ensure that the model maintains its own user configurable mask for filtering out the relevant bits.

Configuration

The GpioBus model can be configured by connecting GPIO clients to the Clients property. No other configuration capabilities are provided.

Attributes

Properties

Name Type Description

Bits

uint64_t

Clients

irefarray

object.timeSource

object

Time source object (a cpu or machine object)

Interfaces

Name Type Description

GpioBusIface

GpioBusIface

Ports

Prop Iface Description

-

-

-

Limitations

The primary limitation of the GPIO bus model is that pin updates using the GpioBusIface will be distributed to all GpioClients that have been connected to the GPIO bus. If requested the bus model can be augmented with direct distribution properties for forwarding individual pin changes to predetermined objects. This has not been implemented yet though, contact us if you need support for this.