Microchip Technology MA240029 データシート

ページ / 406
PIC24FJ128GA310 FAMILY
DS39996F-page 270
 2010-2011 Microchip Technology Inc.
REGISTER 21-4:
LCDSEx: LCD SEGMENT x ENABLE REGISTER
REGISTER 21-5:
LCDDATAx: LCD DATA x REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
SE(n+15)
SE(n+14)
SE(n+13)
SE(n+12)
SE(n+11)
SE(n+10)
SE(n+9)
SE(n+8)
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
SE(n+7)
SE(n+6)
SE(n+5)
SE(n+4)
SE(n+3)
SE(n+2)
SE(n+1)
SE(n)
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-0
SE(n + 15):SE(n)
: Segment Enable bits
For LCDSE0: n = 0
For LCDSE1: n = 16
For LCDSE2: n = 32
For LCDSE3: n = 48
(
)
1
 = Segment function of the pin is enabled, digital I/O is disabled
0
 = Segment function of the pin is disabled, digital I/O is enabled
Note 1:
For the SEG49 to work correctly, the JTAG needs to be disabled.
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
S(n+15)Cy
S(n+14)Cy
S(n+13)Cy
S(n+12)Cy
S(n+11)Cy
S(n+10)Cy
S(n+9)Cy
S(n+8)Cy
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
S(n+7)Cy
S(n+6)Cy
S(n+5)Cy
S(n+4)Cy
S(n+3)Cy
S(n+2)Cy
S(n+1)Cy
S(n)Cy
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-0
S(n + 15)Cy:S(n)Cy
: Pixel On bits
For registers, LCDDATA0 through LCDDATA3: n = (16x), y = 0
For registers, LCDDATA4 through LCDDATA7: n = (16(x - 4)), y = 1
For registers, LCDDATA8 through LCDDATA11: n = (16(x - 8)), y = 2
For registers, LCDDATA12 through LCDDATA15: n = (16(x - 12)), y = 3
For registers, LCDDATA16 through LCDDATA19: n = (16(x-16)), y = 4
For registers, LCDDATA20 through LCDDATA23: n = (16(x - 20)), y = 5
For registers, LCDDATA24 through LCDDATA27: n = (16(x - 24)), y = 6
For registers, LCDDATA28 through LCDDATA31: n = (16(x - 28)), y = 7
1
 = Pixel is on 
0
 = Pixel is off