USART_read

Description

Read data byte via USART (interrupt driven version)

Definition

int USART_read()

Library

LIB/usart_int_lib.bas

Usage

On entry:
There are no parameters
On exit:
Return the next data byte received (in order of recipt). If no new data has been received since the last byte read the value -1 will be returned. Valid data will always be in the range 0..255, the value -1 is outside this range.