KS57C2308/P2308/C2316/P2316

LCD CONTROLLER/DRIVER

 

 

LCD MODE REGISTER (LMOD)

The LCD mode control register LMOD is used to control display mode; LCD clock, segment or port output, and display on/off. LMOD can be manipulated using 8-bit write instructions, bit 3 (LMOD.3) can be also written by 1-bit instructions.

F8CH

LMOD.3

LMOD.2

LMOD.1

LMOD.0

 

 

 

 

 

F8DH

LMOD.7

LMOD.6

LMOD.5

LMOD.4

 

 

 

 

 

The LCD clock signal, LCDCK, determines the frequency of COM signal scanning of each segment output which is also referred to as the frame frequency. Since LCDCK is generated by dividing the watch timer clock (fw), the watch timer must have been enabled when the LCD display is turned on. RESET clears the LMOD register values to logic zero.

The LCD display can continue to operate during idle and stop modes if a subsystem clock is used as the watch timer source and running. The LCD mode register LMOD controls the output mode of the 8 pins used for normal outputs

(P8.0–P8.7). Bits LMOD.7–6 define the segment output and normal bit output configuration.

 

 

Table 12-4. LCD Mode Register (LMOD) Organization

 

 

 

LMOD.7

LMOD.6

LCD Output Segments and 1-Bit Output Pins

 

 

 

0

0

Segments 24–27, and 28–31

 

 

 

0

1

Segments 24–27; 1-bit output at P8.4–P8.7

 

 

 

1

0

Segments 28–31; 1-bit output at P8.0–P8.3

 

 

 

1

1

1-bit output only at P8.0–P8.3 and P8.4–P8.7

 

 

 

LMOD.5

LMOD.4

LCD Clock (LCDCK) Frequency

 

 

 

0

0

32.768 kHz watch timer clock (fw)/29 = 64 Hz

0

1

fw/28 = 128 Hz

1

0

fw/27 = 256 Hz

1

1

fw/26 = 512 Hz

LMOD.3

LMOD.2

LMOD.1

LMOD.0

Duty and Bias Selection for LCD Display

 

 

 

 

 

0

LCD Display off

 

 

 

 

 

1

0

0

0

1/4 duty, 1/3 bias

 

 

 

 

 

1

0

0

1

1/3 duty, 1/3 bias

 

 

 

 

 

1

0

1

0

1/2 duty, 1/2 bias

 

 

 

 

 

1

0

1

1

1/3 duty, 1/2 bias

 

 

 

 

 

1

1

0

0

Static

 

 

 

 

 

12-5

Page 253
Image 253
Samsung KS57C2308 manual LCD Mode Register Lmod, LMOD.5 LMOD.4, LMOD.3 LMOD.2 LMOD.1 LMOD.0