English
Language : 

PIC16F753 Datasheet, PDF (41/238 Pages) Microchip Technology – 14/16-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F753/HV753
4.5.1 OSCTUNE REGISTER
The oscillator is factory calibrated, but can be adjusted
in software by writing to the OSCTUNE register
(Register 4-2).
The default value of the OSCTUNE register is ‘0’. The
value is a 5-bit two’s complement number.
When the OSCTUNE register is modified, the frequency
will begin shifting to the new frequency. Code execution
continues during this shift. There is no indication that the
shift has occurred.
REGISTER 4-2: OSCTUNE: OSCILLATOR TUNING REGISTER
U-0
—
bit 7
U-0
U-0
R/W-0/u
R/W-0/u
R/W-0/u
—
—
TUN<4:0>
R/W-0/u
R/W-0/u
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-5
bit 4-0
Unimplemented: Read as ‘0’
TUN<4:0>: Frequency Tuning bits
01111 = Maximum frequency
01110 =
•
•
•
00001 =
00000 = Oscillator module is running at the calibrated frequency.
11111 =
•
•
•
10000 = Minimum frequency
TABLE 4-2: SUMMARY OF REGISTERS ASSOCIATED WITH CLOCK SOURCES
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on Page
OSCCON
—
—
IRCF<1:0>
—
HTS
LTS
—
40
OSCTUNE
—
—
—
TUN<4:0>
41
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by
oscillators.
TABLE 4-3: SUMMARY OF CONFIGURATION WORD CLOCK SOURCES
Name Bits Bit -/7
Bit -/6 Bit 13/5
Bit 12/4
Bit 11/3 Bit 10/2 Bit 9/1 Bit 8/0
CONFIG(1) 13:8
—
7:0
—
—
DEBUG CLKOUTEN
WRT<1:0>
CP
MCLRE
PWRTE
WDTE
—
BOREN<1:0>
—
FOSC0
Legend: — = unimplemented location, read as ‘1’. Shaded cells are not used by oscillator module.
Note 1: See Configuration Word register (Register 19-1) for operation of all register bits.
Register
on Page
162
 2013 Microchip Technology Inc.
Preliminary
DS40001709A-page 41