Register Ak2 !!install!! Jun 2026
Do not attempt to unregister AK2. Do not name what moves inside it.
| Bit | Name | Function | R/W | |-----|----------|--------------------------------------------------------------------------|------| | 7 | AK2EN | Master enable for AK2 function (1 = enabled, 0 = disabled) | R/W | | 6 | MODE | Operating mode (0 = scan mode, 1 = direct I/O) | R/W | | 5 | IRQ_EN | Interrupt generation enable for key press | R/W | | 4 | DEB_EN | Debounce filter enable (removes mechanical switch chatter) | R/W | | 3-2 | SCAN_SPD | Scan speed: 00=10ms, 01=20ms, 10=40ms, 11=80ms | R/W | | 1-0 | KEY_DATA | Last detected key code (read-only) | R | register ak2
A key feature of the AK2 register: when IRQ_EN is set and the chip enters deep sleep, pressing any key generates an interrupt that wakes the CPU. This is critical for battery-powered remote controls. Do not attempt to unregister AK2