On_kp_overflow Event

Top  Previous  Next

Function:

Indicates that the keypad buffer has overflown and some key events may have been lost.

Declaration:

on_kp_overflow

See Also:

Servicing Keypad Events

 


Details

The keypad buffer stores up to 16 keypad events. Each such event causes the on_kp generation. If your application is slow to process the keypad events, it is possible to overflow the keypad by pressing the keys in rapid succession. Once the buffer overflows, the keypad is disabled automatically (kp.enabled is set to 0- NO). You can re-enable the keypad by setting kp.enabled= 1- YES (this will clear the keypad buffer).