Datasheet

Table Of Contents
2011 Microchip Technology Inc. Preliminary DS41569A-page 31
PIC16LF1904/6/7
TABLE 3-5: SPECIAL FUNCTION REGISTER SUMMARY
Addr 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
Bank 0
00Ch PORTA PORTA Data Latch when written: PORTA pins when read xxxx xxxx uuuu uuuu
00Dh PORTB PORTB Data Latch when written: PORTB pins when read xxxx xxxx uuuu uuuu
00Eh PORTC PORTC Data Latch when written: PORTC pins when read xxxx xxxx uuuu uuuu
00Fh PORTD
(3)
PORTD Data Latch when written: PORTD pins when read xxxx xxxx uuuu uuuu
010h PORTE
—RE3RE2
(2)
RE1
(2)
RE0
(2)
---- xxxx ---- uuuu
011h PIR1 TMR1GIF ADIF RCIF TXIF
—TMR1IF0000 ---0 0000 ---0
012h PIR2
LCDIF ---0 -0-- ---0 -0--
013h
Unimplemented
014h
Unimplemented
015h TMR0 Timer0 Module Register xxxx xxxx uuuu uuuu
016h TMR1L Holding Register for the Least Significant Byte of the 16-bit TMR1 Register xxxx xxxx uuuu uuuu
017h TMR1H Holding Register for the Most Significant Byte of the 16-bit TMR1 Register xxxx xxxx uuuu uuuu
018h T1CON TMR1CS1 TMR1CS0 T1CKPS1 T1CKPS0 T1OSCEN T1SYNC
—TMR1ON0000 00-0 uuuu uu-u
019h T1GCON TMR1GE T1GPOL T1GTM T1GSPM T1GGO/
DONE
T1GVAL T1GSS1 T1GSS0 0000 0x00 uuuu uxuu
01Ah
to
01Fh
Unimplemented
Bank 1
08Ch TRISA PORTA Data Direction Register 1111 1111 1111 1111
08Dh TRISB PORTB Data Direction Register 1111 1111 1111 1111
08Eh TRISC PORTC Data Direction Register 1111 1111 1111 1111
08Fh TRISD
(3)
PORTD Data Direction Register 1111 1111 1111 1111
090h TRISE
(2)
TRISE2
(3)
TRISE1
(3)
TRISE0
(3)
---- 1111 ---- 1111
091h PIE1 TMR1GIE ADIE RCIE TXIE
TMR1IE 0000 ---0 0000 ---0
092h PIE2
LCDIE ---- -0-- ---- -0--
093h
Unimplemented
094h
Unimplemented
095h
OPTION_REG
WPUEN INTEDG T0CS T0SE PSA PS2 PS1 PS0 1111 1111 1111 1111
096h PCON STKOVF STKUNF
—RWDT RMCLR RI POR BOR 00-1 11qq qq-q qquu
097h WDTCON
WDTPS4 WDTPS3 WDTPS2 WDTPS1 WDTPS0 SWDTEN --01 0110 --01 0110
098h
Unimplemented
099h OSCCON
IRCF3 IRCF2 IRCF1 IRCF0 SCS1 SCS0 -011 1-00 -011 1-00
09Ah OSCSTAT T1OSCR
—OSTSHFIOFR LFIOFR HFIOFS 0-q0 --00 q-qq --0q
09Bh ADRESL A/D Result Register Low xxxx xxxx uuuu uuuu
09Ch ADRESH A/D Result Register High xxxx xxxx uuuu uuuu
09Dh ADCON0
CHS4 CHS3 CHS2 CHS1 CHS0
GO/DONE
ADON -000 0000 -000 0000
09Eh ADCON1 ADFM ADCS2 ADCS1 ADCS0
ADPREF1 ADPREF0 0000 ---- 0000 ----
09Fh
Unimplemented
Legend: x = unknown, u = unchanged, q = value depends on condition, - = unimplemented, read as ‘0’, r = reserved.
Shaded locations are unimplemented, read as ‘0’.
Note 1: These registers can be addressed from any bank.
2: Unimplemented, read as1’.
3: PIC16LF1904/7 only.