Documentation search search close
CONTENTS
https://www.speedgoat.com/help/slrt/page/icon_documentation.jpg
v10.0.1.x for R2026a
View other versions

Serial - Read HW FIFO v2

Serial - Read HW FIFO v2 — The Serial Read HW FIFO driver block allows data to be read from a serial transceiver

Library

Simulink Real-Time - Speedgoat

Description

The Serial Read HW FIFO v2 driver block can read up to 4 KB of data present in the I/O module hardware buffer.

Ports

Outputs
Number of Bytes Read

A scalar which indicates how many bytes were extracted from the HW FIFO.

Data

A vector of 4096 elements which represents the Serial HW FIFO.

Parameters

Configurable I/O Module ID

This parameter associates a code module block with a configurable I/O module setup block. Set this value to match the Module ID defined in the setup block of the required configurable I/O module.

Channel

The number of the channel which this driver block entity will access. Only one channel per driver block can be addressed. You can specify channels in the range 1-N (N = the number of channels implemented in your specific configuration file defined in the Setup block).

Sample Time

Defines the base sample time at which this driver block gets its sample hit. This parameter can also be set to -1 for inherited sample time. The units are in seconds.