UART Receive

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about UART Receive

Reads a byte from the UART reception buffer.

Block

UARTReceive.png

Mask

UARTReceiveMask.png

Outputs (outports)

Output 1: The value of the receive byte.
Output 2 (optional): When the status output is 0, the reception buffer was empty.

Block parameters

Parameter Description
Channel Select channel for UART communication
Use status output When this checkbox is ticked an extra output appears which show the status of the reception buffer.
Sample time The block execution time, the amount of time between consecutive executions of the block. 0.1 means the the block will be executed at 10 Hz.

Examples

ZigBee communication

See Also

UART Init | UART Receive buffer status | UART Send