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... | |
advanced functions
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.
offset | Relative offset to current read position within ring buffer. If 0 is used, the same byte as for serinp0() will be 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.
offset | Relative offset to current read position within ring buffer. If 0 is used, the same byte as for serinp1() will be read. |