PIC18F24J11 MICROCHIP [Microchip Technology], PIC18F24J11 Datasheet - Page 197

no-image

PIC18F24J11

Manufacturer Part Number
PIC18F24J11
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F24J11-I/ML
Manufacturer:
MICROCHIP
Quantity:
49 000
Part Number:
PIC18F24J11-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 960
12.0
The Timer0 module incorporates the following features:
• Software selectable operation as a timer or
• Readable and writable registers
• Dedicated 8-bit, software programmable
• Selectable clock source (internal or external)
• Edge select for external clock
• Interrupt-on-overflow
REGISTER 12-1:
 2011 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2-0
counter in both 8-bit or 16-bit modes
prescaler
TMR0ON
R/W-1
TIMER0 MODULE
TMR0ON: Timer0 On/Off Control bit
1 = Enables Timer0
0 = Stops Timer0
T08BIT: Timer0 8-Bit/16-Bit Control bit
1 = Timer0 is configured as an 8-bit timer/counter
0 = Timer0 is configured as a 16-bit timer/counter
T0CS: Timer0 Clock Source Select bit
1 = Transition on T0CKI pin input edge
0 = Internal clock (F
T0SE: Timer0 Source Edge Select bit
1 = Increment on high-to-low transition on T0CKI pin
0 = Increment on low-to-high transition on T0CKI pin
PSA: Timer0 Prescaler Assignment bit
1 = Timer0 prescaler is not assigned. Timer0 clock input bypasses prescaler.
0 = Timer0 prescaler is assigned. Timer0 clock input comes from prescaler output.
T0PS<2:0>: Timer0 Prescaler Select bits
111 = 1:256 Prescale value
110 = 1:128 Prescale value
101 = 1:64 Prescale value
100 = 1:32 Prescale value
011 = 1:16 Prescale value
010 = 1:8
001 = 1:4
000 = 1:2
T08BIT
R/W-1
T0CON: TIMER0 CONTROL REGISTER (ACCESS FD5h)
Prescale value
Prescale value
Prescale value
W = Writable bit
‘1’ = Bit is set
R/W-1
T0CS
OSC
/4)
R/W-1
T0SE
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
PIC18F46J11 FAMILY
R/W-1
The T0CON register
aspects of the module’s operation, including the
prescale selection. It is both readable and writable.
Figure 12-1
Timer0 module in 8-bit mode.
simplified block diagram of the Timer0 module in 16-bit
mode.
PSA
provides a simplified block diagram of the
T0PS2
R/W-1
(Register
x = Bit is unknown
T0PS1
R/W-1
Figure 12-2
12-1) controls all
DS39932D-page 197
T0PS0
provides a
R/W-1
bit 0

Related parts for PIC18F24J11