SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
To facilitate debugging, each state of the state-machine is coded in a register that indicates the current state of the machine. Table 28-10 lists the corresponding codes.
| KBD_STATEMACHINE[3:0] Value | Description |
|---|---|
| 0x0 | Idle |
| 0x1 | Scanning |
| 0x2 | Load timer debouncing |
| 0x3 | Test timer debouncing |
| 0x4 | Generated interrupt event |
| 0x6 | Load timer long key |
| 0x7 | Test timer long key |
| 0x8 | Generated interrupt long key |
| 0x9 | Load timer time-out |
| 0xA | Test timer time-out |
| 0xB | Generated interrupt time-out |
| 0xF | Other |