web log free
This website is no more updated ! New Website

Fast Prototyping tool for 16 bits PIC

 
home home » Embedded Target for dsPIC » Blocks description » RX Input BackForward

 

Rx Input

Input driver UART device

Description

The Rx Input block receive one byte (uint8 scalar) at each step.
If several bytes have been received during the previous time step, only the first one will be available in the current step execution time.
If no bytes have been received, the is set to the output default value.
The block can be a blocking function : stop the step execution until one byte is received ( not recommended due to possible step violation).

Dialog Box

n° UART
 

UART Used

Sample Time

-1 for inherited

Blocking Function

if checked, the block will stop execution of others blocks until one byte is received

Output Default

If no data has been received, the block will output the value defined here.

Received Output Flag

if checked, one logical output appears. Its value is
- 1 if one byte has been received,
- 0 if no data has been received ; the output value is the "Output Default" value.

The Microchip name PIC, dsPIC, and MPLAB are registered trademarks of Microchip Technology Inc.
MATLAB, Simulink, and Real-Time Workshop are registered trademarks of The MathWorks, Inc.

Lubin Kerhuel 's Website
Contact : [adresse e-mail retirée]