1.2.4 Get Event Bytes
Description
The SPI command “Get Event Bytes” returns the actual events.system, events.events, events.power and events.config bytes to the host. After the SPI command “Get Event Bytes”, the event bytes events.system, event.events and events.power are cleared. The event byte events.config is not cleared as it contains the configuration of the currently loaded service/channel configuration.
Command Frame
Host |
0x04 |
0x00 |
0x00 |
0x00 |
ATA8510/15 |
events.system |
events.events |
events.power |
events.config |
Parameters
- 0x04 – Command ID
- 0x00 – Dummy byte (no information)
- 0x00 – Dummy byte (no information)
- 0x00 – Dummy byte (no information)
Return Values
- events.system – Event byte for system events
- events.events – Event byte for event events
- events.power – Event byte for power events
- events.config – Event byte for config events
Register/Variable
Event Bytes | ||||||||
system (R15) |
SYS_ERR |
CMD_RDY |
SYS_RDY |
AVCCLOW |
LOWBATT |
SFIFO |
DFIFO_RX |
DFIFO_TX |
events (R14) |
IDCHKA |
WCOKA |
SOTA |
EOTA |
IDCHKB |
WCOKB |
SOTB |
EOTB |
power (R13) |
PWRON | — |
NPWRON6 |
NPWRON5 |
NPWRON4 |
NPWRON3 |
NPWRON2 |
NPWRON1 |
config (R12) |
PathB |
PathA |
ch[1:0] | — |
ser[2:0] |