« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.20 - AsynchRX

Reads the oldest 32 bytes from the U6 UART RX buffer (received on receive terminal). The buffer holds 256 bytes.

Table 5.2.20-1. AsynchRX Command Response

Command:  
Byte  
0 Checksum8
1 0xF8
2 0x01
3 0x16
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 0x00
7 Flush
   
   
Response:  
Byte  
0 Checksum8
1 0xF8
2 0x11
3 0x16
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 Errorcode
7 NumAsynchBytesInRXBuffer
8 AsynchByte0
... ...
39 AsynchByte31
  • Flush: If nonzero, the entire 256-byte RX buffer is emptied. If there are more than 32 bytes in the buffer that data is lost.
  • NumAsynchBytesInRXBuffer: Returns the number of bytes in the buffer before this read.
  • AsynchByte#: Returns the 32 oldest bytes from the RX buffer.