PIC16F684-ISL Microchip Technology Inc., PIC16F684-ISL Datasheet - Page 31

no-image

PIC16F684-ISL

Manufacturer Part Number
PIC16F684-ISL
Description
Manufacturer
Microchip Technology Inc.
Datasheets

Specifications of PIC16F684-ISL

Case
N/A
Notes
NEW
Date_code
11+
REGISTER 3-2:
OSCCON – OSCILLATOR CONTROL REGISTER (ADDRESS: 8Fh)
U-0
R/W-1
IRCF2
bit 7
bit 7
Unimplemented: Read as ‘0’
bit 6-4
IRCF<2:0>: Internal Oscillator Frequency Select bits
000 = 31 kHz
001 = 125 kHz
010 = 250 kHz
011 = 500 kHz
100 = 1 MHz
101 = 2 MHz
110 = 4 MHz
111 = 8 MHz
bit 3
OSTS: Oscillator Start-up Time-out Status bit
1 = Device is running from the external system clock defined by FOSC<2:0>
0 = Device is running from the internal system clock (HFINTOSC or LFINTOSC)
bit 2
HTS: HFINTOSC (High Frequency – 8 MHz to 125 kHz) Status bit
1 = HFINTOSC is stable
0 = HFINTOSC is not stable
bit 1
LTS: LFINTOSC (Low Frequency – 31 kHz) Stable bit
1 = LFINTOSC is stable
0 = LFINTOSC is not stable
bit 0
SCS: System Clock Select bit
1 = Internal oscillator is used for system clock
0 = Clock source defined by FOSC<2:0>
Note 1: Bit resets to ‘0’ with Two-Speed Start-up and LP, XT or HS selected as the Oscillator
mode or Fail-Safe mode is enabled.
Legend:
R = Readable bit
-n = Value at POR
TABLE 3-2:
SUMMARY OF REGISTERS ASSOCIATED WITH CLOCK SOURCES
Address
Name
Bit 7
Bit 6
0Ch
PIR1
EEIF
ADIF
8Ch
PIE1
EEIE
ADIE
8Fh
OSCCON
IRCF2
90h
OSCTUNE
(1)
2007h
CONFIG
CPD
CP
Legend:
x = unknown, u = unchanged, — = unimplemented locations read as ‘0’. Shaded cells are not used by oscillators.
Note 1:
See Register 12-1 for operation of all Configuration Word register bits.
 2004 Microchip Technology Inc.
R/W-1
R/W-0
R-1
IRCF1
IRCF0
OSTS
W = Writable bit
U = Unimplemented bit, read as ‘0’
‘1’ = Bit is set
‘0’ = Bit is cleared
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
CCP1IF
C2IF
C1IF
OSFIF
TMR2IF TMR1IF 0000 0000 0000 0000
CCP1IE
C2IE
C1IE
OSFIE
TMR2IE TMR1IE 0000 0000 0000 0000
IRCF1
IRCF0
OSTS
HTS
LTS
TUN4
TUN3
TUN2
TUN1
MCLRE PWRTE
WDTE
FOSC2
FOSC1
Preliminary
PIC16F684
R-0
R-0
R/W-0
(1)
HTS
LTS
SCS
bit 0
x = Bit is unknown
Value on
Value on:
Bit 0
all other
POR, BOD
Resets
SCS
-110 x000 -110 x000
TUN0
---0 0000 ---u uuuu
FOSC0
DS41202C-page 29

Related parts for PIC16F684-ISL