PIC18C242/JW Microchip Technology, PIC18C242/JW Datasheet - Page 95

IC MCU EPROM 8KX16 A/D 28CDIP

PIC18C242/JW

Manufacturer Part Number
PIC18C242/JW
Description
IC MCU EPROM 8KX16 A/D 28CDIP
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C242/JW

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
16KB (8K x 16)
Program Memory Type
EPROM, UV
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-CDIP (0.300", 7.62mm) Window
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C242/JW
Manufacturer:
NS
Quantity:
10
9.0
The Timer0 module has the following features:
• Software selectable as an 8-bit or 16-bit timer/
• Readable and writable
• Dedicated 8-bit software programmable prescaler
• Clock source selectable to be external or internal
• Interrupt-on-overflow from FFh to 00h in 8-bit
• Edge select for external clock
REGISTER 9-1:
counter
mode and FFFFh to 0000h in 16-bit mode
2001 Microchip Technology Inc.
TIMER0 MODULE
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2:0
bit 7
T0CON: TIMER0 CONTROL REGISTER
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
0 = Internal instruction cycle clock (CLKOUT)
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.
T0PS2:T0PS0: 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 prescale value
001 = 1:4 prescale value
000 = 1:2 prescale value
TMR0ON
Legend:
R = Readable bit
- n = Value at POR reset
R/W-1
T08BIT
R/W-1
R/W-1
T0CS
W = Writable bit
’1’ = Bit is set
R/W-1
Figure 9-1 shows a simplified block diagram of the
Timer0 module in 8-bit mode and Figure 9-2 shows a
simplified block diagram of the Timer0 module in 16-bit
mode.
The T0CON register (Register 9-1) is a readable and
writable register that controls all the aspects of Timer0,
including the prescale selection.
T0SE
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
R/W-1
PSA
T0PS2
R/W-1
PIC18CXX2
x = Bit is unknown
T0PS1
R/W-1
DS39206C-page 93
T0PS0
R/W-1
bit 0

Related parts for PIC18C242/JW