PIC16F505 Microchip Technology, PIC16F505 Datasheet - Page 36

no-image

PIC16F505

Manufacturer Part Number
PIC16F505
Description
(PIC1xF50x) 8-Bit Flash Microcontrollers
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F505-E/SL
0
Part Number:
PIC16F505-I/SL
Manufacturer:
Microchip Technology
Quantity:
28 714
Part Number:
PIC16F505-I/SL
0
PIC12F508/509/16F505
FIGURE 6-3:
TABLE 6-1:
DS41236A-page 34
01h
N/A
N/A
N/A
N/A
Legend:
Note 1:
Address
PC
(Program
Counter)
Instruction
Fetch
Timer0
Instruction
Executed
2:
3:
Shaded cells are not used by Timer0. — = unimplemented, x = unknown, u = unchanged.
PIC12F508/509 only.
PIC16F505 only.
The TRIS of the T0CKI pin is overridden when T0CS = 1.
TMR0
OPTION
OPTION
TRISGPIO
TRISC
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
T0
PC – 1
Name
(2), (3)
REGISTERS ASSOCIATED WITH TIMER0
(1)
(2)
(1), (3)
TIMER0 TIMING: INTERNAL CLOCK/PRESCALE 1:2
MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
Timer0 – 8-bit real-time clock/counter
T0 + 1
GPWU
RBWU
PC
Bit 7
GPPU
RBPU
Bit 6
Write TMR0
executed
PC + 1
I/O Control Register
T0CS
T0CS
Bit 5
RC5
Preliminary
Read TMR0
reads NT0
PC + 2
T0SE
T0SE
Bit 4
RC4
Bit 3
PSA
PSA
RC3
Read TMR0
reads NT0
NT0
PC + 3
Bit 2
RC2
PS2
PS2
Bit 1
RC1
Read TMR0
reads NT0
PS1
PS1
PC + 4
Bit 0
RC0
PS0
PS0
 2004 Microchip Technology Inc.
Read TMR0
reads NT0 + 1
xxxx xxxx
1111 1111
1111 1111
--11 1111
--11 1111
Power-On
PC + 5
Value on
Reset
Read TMR0
reads NT0 + 2
NT0 + 1
uuuu uuuu
1111 1111
1111 1111
--11 1111
--11 1111
PC + 6
All Other
Value on
Resets

Related parts for PIC16F505