PIC32MK1024GPD064 REFO3 registers

The 2 registers of REFO3 (Reference clock output 3), from 0xBF8012C0, with their reset value and every field. The PIC32MK1024GPD064 has 1106 registers in 106 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

REFO3 Reference clock output 3

REFO3CONReference Oscillator Control Register (x = 1-4)

Address
0xBF8012C0
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
RODIV30:16Reference Clock Divider bits
  • 0 REFO is the same frequency as Base Clock (no divider)
  • 1 REFO clock is Base clock frequency divided by 2 (1*2)
  • 2 REFO clock is Base clock frequency divided by 4 (2*2)
  • 3 REFO clock is Base clock frequency divided by 6 (3*2)
  • 32767 REFO clock is Base clock frequency divided by 65534
ON15Output Enable bit
  • 0 Reference Oscillator module is disabled
  • 1 Reference Oscillator module is enabled
SIDL13Peripheral Stop in Idle Mode bit
  • 0 Continue module operation in Idle mode
  • 1 Discontinue module operation when the device enters Idle mode
OE12Reference Clock Output Enable bit
  • 0 Reference clock is not driven out on REFCLKOx pin
  • 1 Reference clock is driven out on REFCLKOx pin
RSLP11Reference Oscillator Module Run in Sleep bit
  • 0 Reference Oscillator Module output is disabled in Sleep
  • 1 Reference Oscillator Module output continues to run in Sleep
DIVSWEN9Divider Switch Enable bit
  • 0 Divider switch is complete
  • 1 Divider switch is in progress
ACTIVE8Reference Clock Request Status bit
  • 0 Reference clock request is not active
  • 1 Reference clock request is active
ROSEL3:0Reference Clock Source Select bits
  • 0 System clock SYSCLK
  • 1 Peripheral Clock 1 PBCLK1
  • 2 Primary Oscillator POSC
  • 3 Internal Fast Oscillator FRC
  • 4 Low Power Oscillator LPRC
  • 5 Secondary Oscillator SOSC
  • 6 UPLL
  • 7 System PLL Output SPLL
  • 8 Reference Clock Input REFCLKI
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15

REFO3TRIMReference Oscillator Trim Register (x = 1-4)

Address
0xBF8012D0
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
ROTRIM31:23Reference Oscillator Trim bits
  • 0 0 divisor added to RODIV value
  • 1 1/512 divisor added to RODIV value
  • 2 2/512 divisor added to RODIV value
  • 256 256/512 divisor added to RODIV value
  • 510 510/512 divisor added to RODIV value
  • 511 511/512 divisor added to RODIV value