Difference between revisions of "HANcoder/STM32/Blocks/UART Receive Buffer Status"
From OpenMBD
(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. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|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. | ||
+ | |} | ||
− | + | == 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_Send|UART Send]] | ||
}} | }} |
Latest revision as of 10:33, 5 May 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about UART Receive Buffer Status
Obtains the number of received bytes that are currently stored in the reception buffer.
Block
Mask
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. |