Datasheet

PIC18(L)F2X/45K50
DS30684A-page 52 2012 Microchip Technology Inc.
3.23 Register Definitions: Active Clock Tuning Control
REGISTER 3-4: ACTCON: ACTIVE CLOCK TUNING (ACT) CONTROL REGISTER
R/W-0/0 R/W-0/0 U-0 R/W-0/0 R-0/0 U-0 R-0/0 U-0
ACTEN ACTUD —ACTSRC
(1)
ACTLOCK —ACTORS
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7 ACTEN: Active Clock Tuning Selection bit
1 = ACT module is enabled, updates to OSCTUNE are exclusive to the ACT module.
0 = ACT module is disabled
bit 6 ACTUD: Active Clock Tuning Update Disable bit
1 = Updates to the OSCTUNE register from ACT module are disabled.
0 = Updates to the OSCTUNE register from ACT module are enabled.
bit 5 Unimplemented: Read as0
bit 4 ACTSRC: Active Clock Tuning Source Selection bit
1 = The HFINTOSC Oscillator is tuned to approximately match the USB host clock tolerance
0 = The HFINTOSC Oscillator is tuned to approximately match the 32.768 kHz SOSC tolerance
bit 3 ACTLOCK: Active Clock Tuning Lock Status bit
1 = Locked; 16 MHz internal oscillator is within ± 0.20%.Locked
0 = Not locked; 16 MHz internal oscillator tuning has not stabilized within ± 0.20%
bit 2 Unimplemented: Read as0
bit 1 ACTORS: Active Clock Tuning Out-of-Range Status bit
1 = Out-of-range; oscillator frequency is outside of the OSCTUNE range
0 = In-range; oscillator frequency is within the OSCTUNE range
bit 0 Unimplemented: Read as0
Note 1: The ACTSRC bit should only be changed when ACTEN = 0.