Datasheet

2012 Microchip Technology Inc. DS30575A-page 61
PIC18F97J94 FAMILY
REGISTER 3-10: ACTCON: ACTIVE CLOCK TUNING (ACT) CONTROL REGISTER
Note 1: The ACTSRC bit should only be changed when ACTEN = 0.
R/W-0 U-0 R/W-0 R/W-0 R-0 R/W-0 R-0 R/W-0
ACTEN
ACTSIDL ACTSRC
(1)
ACTLOCK ACTLOCK-
POL
ACTORS ACTOR-
SPOL
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 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 Unimplemented: Reads as0
bit 5 ACTSIDL: Active Clock Tuning Stop in Idle bit
1 = Active clock tuning stops during Idle mode
0 = Active clock tuning continues during Idle mode
bit 4 ACTSRC: Active Clock Tuning Source Selection bit
1 = The FRC oscillator is tuned to approximately match the USB host clock tolerance
0 = The FRC oscillator is tuned to approximately match the 32.768 kHz SOSC tolerance
bit 3 ACTLOCK: Active Clock Tuning Lock Status bit
1 = Locked; internal oscillator is within ± 0.20%
0 = Not locked; internal oscillator tuning has not stabilized within ± 0.20%
bit 2 ACTLOCKPOL: Active Clock Tuning Lock Interrupt Polarity bit
1 = ACT lock interrupt is generated when ACTLOCK is ‘0
0 = ACT lock interrupt is generated when ACTLOCK is ‘1
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 ACTORSPOL: Active Clock Tuning Out of Range Interrupt Polarity bit
1 = ACT out of range interrupt is generated when ACTORS is ‘0
0 = ACT out of range interrupt is generated when ACTORS is ‘1