PIC18F2221 MICROCHIP [Microchip Technology], PIC18F2221 Datasheet - Page 33

no-image

PIC18F2221

Manufacturer Part Number
PIC18F2221
Description
28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2221-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221-I/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC18F2221-I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC18F2221-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221T-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
REGISTER 2-2:
© 2007 Microchip Technology Inc.
bit 7
bit 6-4
bit 3
bit 2
bit 1-0
OSCCON: OSCILLATOR CONTROL REGISTER
bit 7
IDLEN: Idle Enable bit
1 = Device enters an Idle mode when a SLEEP instruction is executed
0 = Device enters Sleep mode when a SLEEP instruction is executed
IRCF2:IRCF0: Internal Oscillator Frequency Select bits
111 = 8 MHz (INTOSC drives clock directly)
110 = 4 MHz
101 = 2 MHz
100 = 1 MHz
011 = 500 kHz
010 = 250 kHz
001 = 125 kHz
000 = 31 kHz (from either INTOSC/256 or INTRC directly)
OSTS: Oscillator Start-up Time-out Status bit
1 = Oscillator Start-up Timer (OST) time-out has expired; primary oscillator is running
0 = Oscillator Start-up Timer (OST) time-out is running; primary oscillator is not ready
IOFS: INTOSC Frequency Stable bit
1 = INTOSC frequency is stable
0 = INTOSC frequency is not stable
SCS1:SCS0: System Clock Select bits
1x = Internal oscillator block
01 = Secondary (Timer1) oscillator
00 = Primary oscillator
Legend:
R = Readable bit
-n = Value at POR
IDLEN
R/W-0
Note 1: Reset state depends on state of the IESO Configuration bit.
2: Source selected by the INTSRC bit (OSCTUNE<7>), see text.
3: Default output frequency of INTOSC on Reset.
4: Modifying the SCSI:SCSO bits will cause an immediate clock source switch.
5: Modifying the IRCF3:IRCF0 bits will cause an immediate clock frequency switch if
the internal oscillator is providing the device clocks.
IRCF2
(3)
R/W-1
(5)
IRCF1
R/W-0
Preliminary
W = Writable bit
‘1’ = Bit is set
(5)
IRCF0
R/W-0
(4)
PIC18F4321 FAMILY
(5)
(1)
OSTS
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R
(1)
(5)
(2)
IOFS
R-0
x = Bit is unknown
SCS1
R/W-0
DS39689E-page 31
(4)
SCS0
R/W-0
bit 0
(4)

Related parts for PIC18F2221