Used to read out data from a queue on a SAM device.
The printf queue sampler reads available bytes from the read pointer and sends data to the host computer.
Field | Size | Description |
---|---|---|
DATA_SAMPLER | 1 byte | 0x8A |
SAMPLE_PRINTF_QUEUE | 1 byte | 0x04 |
ENABLE | 1 byte |
0x00: disable 0x01: enable |
ADDRESS | 4 byte | Start address of queue structure to poll, MSB first |
FLAGS | 4 byte |
Bits 1:0: destination:
|
Response:
Field | Size | Description |
---|---|---|
DATA_SAMPLER | 1 byte | 0x8A |
SAMPLE_PRINTF_QUEUE | 1 byte | 0x04 |
Status | 1 byte |
Status code 0x00: OK 0xFF: Error |