Functions

advanced functions More...

Functions

uint8_t serinp0_read (uint8_t offset)
 Reads one byte from the UART0 ring buffer without removing it. More...
 
uint8_t serinp1_read (uint8_t offset)
 Reads one byte from the UART1 ring buffer without removing it. More...
 

Detailed Description

advanced functions

Function Documentation

◆ serinp0_read()

uint8_t serinp0_read ( uint8_t  offset)

Reads one byte from the UART0 ring buffer without removing it.

Any unreturned byte within the ring buffer can be read. If the byte does not exist or is already returned by serinp0(), 0x00 will be the result.

Parameters
offsetRelative offset to current read position within ring buffer.
If 0 is used, the same byte as for serinp0() will be read.
Returns
8-bit unsigned integer
See also
serinp0()

◆ serinp1_read()

uint8_t serinp1_read ( uint8_t  offset)

Reads one byte from the UART1 ring buffer without removing it.

Any unreturned byte within the ring buffer can be read. If the byte does not exist or is already returned by serinp1(), 0x00 will be the result.

Parameters
offsetRelative offset to current read position within ring buffer.
If 0 is used, the same byte as for serinp1() will be read.
Returns
8-bit unsigned integer
See also
serinp1()