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

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
(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.
  
'''Inputs'''
+
== Outputs (outports) ==
 +
When the status output is 0, the reception buffer was empty.
  
The input to this block is the byte to send
+
== Block parameters ==
 
+
{| class="wikitable"
 
+
|-
|blockImage=UARTSend.png
+
! style="width:150px" | Parameter
 
+
! Description
 
+
|-
|maskImage=UARTSendMask.png
+
| 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.
 +
|}
  
|Channel= Selected Channel
+
== Examples ==
|OutputPort= Select if the status output should be enabled
+
[[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

General information about UART Send

This block transmits a byte on the UART communication interface.

Block

UARTSend.png

Mask

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

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

??

See Also

UART Init | UART Receive | UART Receive buffer status