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

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
(Created page with "{{HANcoder/block| info= Obtains the number of received bytes that are currently stored in the reception buffer. '''Outport''' This block outputs the number of bytes curren...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{HANcoder/block|
 
{{HANcoder/block|
 
info=
 
info=
 
 
Obtains the number of received bytes that are currently stored in the  
 
Obtains the number of received bytes that are currently stored in the  
 
reception buffer.
 
reception buffer.
 
'''Outport'''
 
 
This block outputs the number of bytes currently stored in the reception buffer.
 
 
 
  
 
|blockImage=UARTReceiveBufferStatus.png
 
|blockImage=UARTReceiveBufferStatus.png
 +
|maskImage=UARTReceiveBufferStatusMask.png
 +
}}
 +
== Outputs (outports) ==
 +
The number of bytes currently stored in the reception buffer.
  
 +
== Block parameters ==
 +
{| class="wikitable"
 +
|-
 +
! style="width:150px" | Parameter
 +
! Description
 +
|-
 +
| Channel
 +
| Select channel for UART communication
 +
|-
 +
| 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.
 +
|}
  
|maskImage=UARTReceiveBufferStatusMask.png
+
== Examples ==
 
+
[[HANcoder/STM32/Examples/ZigBee|ZigBee communication]]
|Channel= Selected Channel
 
  
 +
{{HANcoder/BlockFooter|
 +
|SeeAlso = [[HANcoder/STM32/Blocks/UART_Init|UART Init]] {{!}} [[HANcoder/STM32/Blocks/UART_Receive|UART Receive]] {{!}} [[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 Buffer Status

Obtains the number of received bytes that are currently stored in the reception buffer.

Block

UARTReceiveBufferStatus.png

Mask

UARTReceiveBufferStatusMask.png

Outputs (outports)

The number of bytes currently stored in the reception buffer.

Block parameters

Parameter Description
Channel Select channel for UART communication
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 | UART Send