2.10 Event Handling
This section describes the event handling used in the ATA8510/15. The event handling is used to provide internal status information to an external host controller. For a flexible usage of this mechanism, a configurable trigger signal is implemented on pin 28 (EVENT). The polarity of this EVENT pin is adjustable to HIGH-active or LOW-active according to the configuration in the eepEventConf.sysEventConf.IRQ_POL EEPROM variable.
Address | Name | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|---|---|
0x0095 | sysEventConf | SYS_ERR | — | SYS_RDY | AVCCLOW | LOWBATT | RX_ACTIVE_EN | RX_ACTIVE_POL | IRQ_POL |
The EVENT pin is set if an internal event occurs, and the corresponding event flag mask is set. The EVENT pin is cleared as soon as the event flags are read out by the “Get Event Bytes” SPI command.