
PIC18CXX8
DS30475A-page 114
Advanced Information
2000 Microchip Technology Inc.
FIGURE 10-1: TIMER0 BLOCK DIAGRAM IN 8-BIT MODE
FIGURE 10-2: TIMER0 BLOCK DIAGRAM IN 16-BIT MODE
Note 1:
Upon RESET, Timer0 is enabled in 8-bit mode with clock input from T0CKI max. prescale.
2:
I/O pins have diode protection to VDD and VSS.
RA4/T0CKI
T0SE
0
1
0
1
Pin(2)
T0CS(1)
FOSC/4
Programmable
Prescaler
Sync with
Internal
Clocks
TMR0L
(2 TCY delay)
Data Bus
8
PSA
T0PS2, T0PS1, T0PS0
Set Interrupt
Flag bit TMR0IF
on Overflow
3
T0CKI Pin(2)
T0SE
0
1
0
1
T0CS(1)
FOSC/4
Programmable
Prescaler
Sync with
Internal
Clocks
TMR0L
(2 TCY delay)
Data Bus<7:0>
8
PSA
T0PS2, T0PS1, T0PS0
Set Interrupt
Flag bit TMR0IF
on Overflow
3
TMR0
TMR0H
High Byte
8
Read TMR0L
Write TMR0L
Note 1:
Upon RESET, Timer0 is enabled in 8-bit mode with clock input from T0CKI max. prescale.
2:
I/O pins have diode protection to VDD and VSS.