ML51/ML54/ML56
Sep. 01, 2020
Page
617
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
LCD Interrupt
6.17.4.4
There are Three LCD flags, LCDCPIF , LCDCPOVIF and LCDCPALIF. ALL of them can generate an
LCD event interrupt requests. If LCD interrupt Enable bit LCDIE and interrupt source select pin LCDIS
is select. After EA as 1, CPU will execute the LCD interrupt service routine once any of these three
flags is set. User needs to check flags to determine what event caused the interrupt. Both of I
2
C flags
are cleared by software.
Following table shows the interrupt event condition
Control Register
Interrupt
FLAG
Interrupt Condition
LCDIE
LCDCON0[5]
LCDIS
LCDCON0[6]
LCD Charge Pump
Alarm Couter Reach
Interrupt
1
0
LCDCPALIF
When LCD charge pump counter is over
LCDCPALCT0 and LCDCPALCT1 setting value LCD
interrupt will be happen.
LCD Charge Pump
Voltage Reach
Interrupt
1
1
LCDCPIF
When LCD charge pump voltage reach
LCDCPUMPdefine value. LCD interrupt wil be
happen, and charge pump counter value will be
storage in LCDCPCT0 and LCDCPCT1.
LCD Charge Pump
Voltage Overflow
Interrupt
1
1
LCDCPOVIF
When LCD charge pump voltage can note reach
LCDCPUMPdefine value and the charge pump
counter value overflow the maximaun 0x3FF. LCD
interrupt wil be happen