UART send

Block to send a byte via the UART interface

Description

The block can be used to transmit a byte via the UART interface. Optionally, a status output can be enabled.

Parameters
Channel
Select the UART channel
Use status output
Enables/disables the status output port of the block.
Sample time
Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model.
Input

Connect the byte value to transmit
The used datatype is of 8-bit unsigned.

Output

If this output has a value of 0, the byte could not be transmitted. This happens if the transmit buffer was configured too small.
The used datatype is boolean.