English
Language : 

HD66727 Datasheet, PDF (56/97 Pages) Hitachi Semiconductor – Low-Power Dot-Matrix Liquid Crystal Display Controller/Driver with Key Scan Function
HD66727
Turn off LCD power (AMP = 0)
Enable interrupts (IRE = 1)
Set sleep mode (SLP = 1)
Sleep mode
Key input (key → HD66727)
Generate interrupt (HD66727 → MPU)
Mask interrupts (IRE = 0)
Read key-scanned data
(1) Sleep Mode
Turn off LCD power (AMP = 0)
Set standby mode (STB = 1)
Standby mode
Enable interrupts (IRE = 1)
Key input (key → HD66727)
Generate interrupt (HD66727 → MPU)
Start R-C oscillator (HD66727)
Wait 10 ms or longer (MPU)
Mask interrupts (IRE = 0)
Clear standby mode (STB = 0)
Read key-scanned data
(2) Standby Mode
Figure 30 Key Scan Interrupt Processing Flow in Sleep and Standby Modes
56