Serial - Write HW FIFO v2
Serial - Write HW FIFO v2 — The Serial Write HW FIFO
driver block configures the data that will be sent to a serial
receiver.
Library
Simulink Real-Time - Speedgoat

Description
The Serial Write HW FIFO v2 driver block can write up to 4 KB of data present in
the I/O module hardware buffer.
Ports
Inputs
-
Number of Bytes to Write
A scalar which defines how many bytes will be written to the Serial HW
FIFO.
-
Data
A vector of 4096 elements which represents the Serial HW FIFO. Only
elements from 1 to Number of Bytes to
Write will be placed in the hardware FIFO, subsquent
values are ignored.
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.