To RECEIVE an AVR event from the EDBG, an AVR_EVT packet must be sent (i.e.: polling for events) in the same manner as described for responses.
Field | Size | Description |
---|---|---|
AVR_EVT | 1 byte | 0x82 |
The response to this send is:
Field | Size | Description |
---|---|---|
AVR_EVT | 1 byte | 0x82 |
Size | 2 byte, MSB first | Number of event bytes |
Event | N bytes | Enveloped AVR event |
Size of 0x0000 indicates that no event data is available, and the rest of the packet is ignored.