ST ST7 KEYPAD DECODING TECHNIQUES Application Note
This application note presents an example of the use of the HALT mode. In this application, the MCU (here a ST72251) is waked up by an external interrupt caused by someone pressed a key on the 4x4 matrixed keypad.