12F508 Microchip Technology, 12F508 Datasheet - Page 36

no-image

12F508

Manufacturer Part Number
12F508
Description
Search -----> PIC12F508
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
12F508I/SN
Manufacturer:
SILICON
Quantity:
2 400
www.DataSheet.in
PIC12F508/509/16F505
FIGURE 6-3:
TABLE 6-1:
DS41236B-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:
TMR0
OPTION
OPTION
TRISGPIO
TRISC
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.
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
Name
PC – 1
(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
GPWU
RBWU
T0 + 1
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
T0SE
T0SE
Bit 4
PC + 2
RC4
Bit 3
PSA
PSA
RC3
Read TMR0
reads NT0
NT0
PC + 3
Bit 2
RC2
PS2
PS2
Bit 1
RC1
PS1
PS1
Read TMR0
reads NT0
PC + 4
Bit 0
PS0
PS0
RC0
© 2005 Microchip Technology Inc.
Read TMR0
reads NT0 + 1
xxxx xxxx
1111 1111
1111 1111
--11 1111
--11 1111
Power-On
Value on
PC + 5
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 12F508