Texas Instruments MSP430x4xx Computer Hardware User Manual


 
LCD Controller Operation
18-19LCD Controller
LCDCTL, LCD Control Register
76543210
LCDPx LCDMXx LCDSON Unused LCDON
rw0 rw0 rw0 rw0 rw0 rw0 rw0 rw0
LCDPx
Bits
7-5
LCD Port Select. These bits select the pin function to be port I/O or LCD
function for groups of segments pins. These bits ONLY affect pins with
multiplexed functions. Dedicated LCD pins are always LCD function.
000 No multiplexed pins are LCD function
001 S0-S15 are LCD function
010 S0-S19 are LCD function
011 S0-S23 are LCD function
100 S0-S27 are LCD function
101 S0-S31 are LCD function
110 S0-S35 are LCD function
111 S0-S39 are LCD function
LCDMXx
Bits
4-3
LCD mux rate. These bits select the LCD mode.
00 Static
01 2-mux
10 3-mux
11 4-mux
LCDSON
Bit 2 LCD segments on. This bit supports flashing LCD applications by turning
off all segment lines, while leaving the LCD timing generator and R33
enabled.
0 All LCD segments are off
1 All LCD segments are enabled and on or off according to their
corresponding memory location.
Unused
Bit 1 Unused
LCDON
Bit 0 LCD On. This bit turns on the LCD timing generator and R33.
0 LCD timing generator and Ron are off
1 LCD timing generator and Ron are on