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...") |
|||
(3 intermediate revisions by the same user not shown) | |||
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 transmit has failed. | ||
− | + | == 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/STM32/Examples/ZigBee|ZigBee communication]] |
+ | {{HANcoder/BlockFooter| | ||
+ | |SeeAlso = [[HANcoder/STM32/Blocks/UART_Init|UART Init]] {{!}} [[HANcoder/STM32/Blocks/UART_Receive|UART Receive]] {{!}} [[HANcoder/STM32/Blocks/UART_Receive_Buffer_Status|UART Receive buffer status]] | ||
}} | }} |
Latest revision as of 10:34, 5 May 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 transmit has failed.
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. |