Datasheet
Chapter 9 Liquid Crystal Display Driver (S08LCDV1)
MC9S08LC60 Series Data Sheet: Technical Data, Rev. 4
136 Freescale Semiconductor
9.3.8 LCD Command and Status Register (LCDCMD)
Read: anytime. The LCDCLR bit always reads zero.
Write: anytime.
Table 9-11. LCDBCTL Field Descriptions
Field Description
7
BLINK
Blink Command — Starts or stops LCD module blinking.The blink command takes effect at the beginning of the
next LCD frame cycle.
0 Disables blinking.
1 Starts blinking at blinking frequency specified by
LCD blink rate calculation (see Equation 9-4).
3
BLKMODE
Blink Mode Select — Configures whether to blink either individual LCD segments or the entire LCD panel
depending on the state of the BLKMODE bit.BLINK must be enabled; if BLINK = 0, this bit has no effect.
0 Blink only individual LCD segments as specified by the LCDRAM register banks.
1 Blink all LCD segments regardless of contents of the LCDRAM register banks.
2:0
BRATE[2:0]
Blink Rate Configuration— Selects the frequency at which the LCD display blinks when the BLINK is asserted.
Equation 9-4 shows how BRATE[2:0] bit field is used in the
LCD blink rate calculation.
Equation 9-4 provides an expression for the LCD waveform base clock
Eqn. 9-4
LCD module blink rate calculations are provided in 9.4.3.2/p.150.
76543210
R
LCDIF
0 0 0
LCDDRMS
0 0
BLANK
W LCDCLR
Reset 00000000
Unimplemented or Reserved
Figure 9-9. LCD Command Register (LCDCMD)
Table 9-12. LCDCMD Field Descriptions
Field Description
7
LCDIF
LCD Interrupt Flag — LCDIF indicates that an interrupt condition has occurred. To clear the interrupt, read
LCDCMD register and then write a 1 to LCDIF.
0 interrupt condition has not occurred.
1 interrupt condition has occurred.
3
LCDDRMS
LCD Module Data Register Mode Select — The LCDRAM registers provide access to two different register
groups. Access to each register group is controlled by the state of the LCDDRMS bit.
0 Selects the LCDRAM registers to access registers that control the on/off state for LCD segments.
1 Selects the LCDRAM registers to access registers that control the blink enable/disable state for LCD
segments.
LCD module blink rate
2
(5+ BRATE[2:0])
LCD waveform base clock
=
