Difference between revisions of "HANcoder/STM32/Blocks/UART Receive"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
m (Jasonvankolfschoten moved page HANcoder/UART Receive to HANcoder/STM32/Blocks/UART Receive without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 27: Line 27:
  
 
== Examples ==
 
== Examples ==
[[HANcoder/Examples/??|??]]
+
[[HANcoder/STM32/Examples/ZigBee|ZigBee communication]]
  
 
{{HANcoder/BlockFooter|  
 
{{HANcoder/BlockFooter|  
|SeeAlso = [[HANcoder/UART_Init|UART Init]] {{!}} [[HANcoder/UART_Receive_Buffer_Status|UART Receive buffer status]] {{!}} [[HANcoder/UART_Send|UART Send]]
+
|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

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