PIC18F87J11 FAMILY
DS39778E-page 38
2007-2012 Microchip Technology Inc.
3.2
Control Registers
The OSCCON register (Register 3-1) controls the main
aspects of the device clock’s operation. It selects the
oscillator type to be used, which of the power-managed
modes to invoke and the output frequency of the
INTOSC source. It also provides status on the oscillators.
The OSCTUNE register (Register 3-2) controls the
tuning and operation of the internal oscillator block. It
also implements the PLLEN bits which control the
operation of the Phase Locked Loop (PLL) (see
).
REGISTER 3-1:
OSCCON: OSCILLATOR CONTROL REGISTER(1)
R/W-0
R/W-1
R/W-0
R(2)
U-1
R/W-0
IDLEN
IRCF2(3)
IRCF1(3)
IRCF0(3)
OSTS
—SCS1(5)
SCS0(5)
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
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
bit 6-4
IRCF<2:0>:
INTOSC Source Frequency Select bits(3)
111
= 8 MHz (INTOSC drives clock directly)
110
= 4 MHz (default)
101
= 2 MHz
100
= 1 MHz
011
= 500 kHz
010
= 250 kHz
001
= 125 kHz
000
= 31 kHz (from either INTOSC/256 or INTRC)(4)
bit 3
OSTS:
Oscillator Start-up Timer Time-out Status bit(2)
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
bit 2
Unimplemented:
Read as ‘1’
bit 1-0
SCS<1:0>:
System Clock Select bits(5)
11
= Internal oscillator block
10
= Primary oscillator
01
= Timer1 oscillator
00
= Default primary oscillator (as defined by the FOSC<2:0> Configuration bits)
Note 1:
Default (legacy) SFR at this address, available when WDTCON<4> = 0.
2:
Reset state depends on the state of the IESO Configuration bit.
3:
Modifying these bits will cause an immediate clock frequency switch if the internal oscillator is providing
the device clocks.
4:
The source is selected by the INTSRC bit (OSCTUNE<7>), see text.
5:
Modifying these bits will cause an immediate clock source switch.
相关PDF资料
PIC18F66J50-I/PT IC PIC MCU FLASH 32KX16 64TQFP
PIC24FJ96GA006-I/PT IC PIC MCU FLASH 96KB 64TQFP
PIC18F4321-I/ML IC PIC MCU FLASH 4KX16 44QFN
PIC24FJ32GB002-I/SP IC MCU 16BIT 32KB FLASH 28DIP
DSPIC33FJ16GP304-I/PT IC DSPIC MCU/DSP 16K 44TQFP
PIC16C62B-20I/SP IC MCU OTP 2KX14 PWM 28DIP
DSPIC30F2010-20I/SP IC DSPIC MCU/DSP 12K 28DIP
AT89S52-24AC IC MCU 8K FLASH 24MHZ 44-TQFP
相关代理商/技术参数
PIC18F86J11T-I/PT 功能描述:8位微控制器 -MCU 64KB Flash 3936bytes RAM 67 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F86J15-I/PT 功能描述:8位微控制器 -MCU 96 KB FL 4 KB RAM RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F86J15T-I/PT 功能描述:8位微控制器 -MCU 96 KB FL 4 KB RAM RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F86J16-I/PT 功能描述:8位微控制器 -MCU 96KB FL 3936b RAM 10 MIPS 67 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F86J16T-I/PT 功能描述:8位微控制器 -MCU 96KB Flash 3936bytes RAM 67 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F86J50-I/PT 功能描述:8位微控制器 -MCU 64KB Flash 3936byte RAM RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F86J50T-I/PT 功能描述:8位微控制器 -MCU 64KB FLSH 3936Bs RAM USB 2.0 nanoWatt RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F86J55-I/PT 功能描述:8位微控制器 -MCU 96KB FLSH 3936Bs RAM USB 2.0 nanoWatt RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT