English
Language : 

PIC16F946 Datasheet, PDF (72/274 Pages) Microchip Technology – 64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F946
FIGURE 3-29:
BLOCK DIAGRAM OF RG<5:0>
Data Bus
WR PORTG
WR TRISG
DQ
CK Q
Data Latch
DQ
CK Q
TRIS Latch
RD TRISG
Analog Mode or
SE<41:36> and LCDEN
Schmitt
Trigger
RD PORTG
SEG<41:36>
SE<41:36> and LCDEN
VDD
RG<5:0>
Pin
TABLE 3-7: SUMMARY OF REGISTERS ASSOCIATED WITH PORTG
Address Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on:
POR, BOR
Value on all
other
Resets
1Fh
ADCON0
ADFM VCFG1 VCFG0 CHS2
CHS1
CHS0 GO/DONE ADON 0000 0000 0000 0000
91h
ANSEL
ANS7 ANS6
ANS5
ANS4
ANS3
ANS2
ANS1
ANS0 1111 1111 1111 1111
107h
LCDCON
LCDEN SLPEN WERR VLCDEN CS1
CS0
LMUX1 LMUX0 0001 0011 0001 0011
187h
TRISG
—
—
TRISG5 TRISG4 TRISG3 TRISG2 TRISG1 TRISG0 --11 1111 --11 1111
189h
PORTG
—
—
RG5
RG4
RG3
RG2
RG1
RG0 --xx xxxx --uu uuuu
19Dh
LCDSE4(1)
SE39 SE38
SE37
SE36
SE35
SE34
SE33
SE32 0000 0000 uuuu uuuu
19Eh
LCDSE5(1)
—
—
—
—
—
—
SE41
SE40 ---- --00 ---- --uu
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTG.
Note 1: This register is only initialized by a POR or BOR and is unchanged by other Resets.
DS41265A-page 70
Preliminary
© 2005 Microchip Technology Inc.