Difference between revisions of "HANcoder/STM32/Blocks/UART Send"
From OpenMBD
(Created page with "{{HANcoder/block| info= This block transmits a byte on the UART communication interface. '''Inputs''' The input to this block is the byte to send |blockImage=UARTSend.p...") |
|||
Line 1: | Line 1: | ||
{{HANcoder/block| | {{HANcoder/block| | ||
info= | info= | ||
− | |||
This block transmits a byte on the UART communication interface. | This block transmits a byte on the UART communication interface. | ||
+ | |blockImage=UARTSend.png | ||
+ | |maskImage=UARTSendMask.png | ||
+ | }} | ||
+ | == Inputs (inports) == | ||
+ | The input to this block is the byte to send. | ||
− | + | == Outputs (outports) == | |
+ | When the status output is 0, the reception buffer was empty. | ||
− | + | == Block parameters == | |
− | + | {| class="wikitable" | |
− | + | |- | |
− | | | + | ! style="width:150px" | 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 == | |
− | | | + | [[HANcoder/Examples/??|??]] |
+ | {{HANcoder/BlockFooter| | ||
+ | |SeeAlso = [[HANcoder/UART_Init|UART Init]] {{!}} [[HANcoder/UART_Receive|UART Receive]] {{!}} [[HANcoder/UART_Receive_Buffer_Status|UART Receive buffer status]] | ||
}} | }} |
Revision as of 15:19, 28 April 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about UART Send
This block transmits a byte on the UART communication interface.
Block
Mask
Inputs (inports)
The input to this block is the byte to send.
Outputs (outports)
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. |