Difference between revisions of "HANcoder/STM32/Blocks/UART Receive"
From OpenMBD
Line 30: | Line 30: | ||
{{HANcoder/BlockFooter| | {{HANcoder/BlockFooter| | ||
− | |SeeAlso = [[HANcoder/STM32/Blocks/UART_Init|UART Init]] {{!}} [[HANcoder | + | |SeeAlso = [[HANcoder/STM32/Blocks/UART_Init|UART Init]] {{!}} [[HANcoder/STM32/Blocks/UART_Receive_Buffer_Status|UART Receive buffer status]] {{!}} [[HANcoder/STM32/Blocks/UART_Send|UART Send]] |
}} | }} |
Latest revision as of 10:33, 5 May 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about UART Receive
Reads a byte from the UART reception buffer.
Block
Mask
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. |