PIC32CK0512SG00064 FREQM registers The 13 registers of FREQM (Frequency Meter), from 0x44014000, with their reset value and every field. The PIC32CK0512SG00064 has 5841 registers in 73 peripherals, one page each.
FREQM Frequency Meter CTRLAControl A Register
Address 0x44014000
Reset 0x80
Access read/write 7 ONDEMAND 6 RUNSTDBY 5 – 4 – 3 – 2 FREERUN 1 ENABLE 0 SWRST 5 fields
Field Bits What it does ONDEMAND 7 On Demand Control RUNSTDBY 6 Run In Standby FREERUN 2 Free Running Mode ENABLE 1 Enable SWRST 0 Software Reset
CTRLBControl B Register
Address 0x44014001
Reset 0x00
Access write only 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 START 1 field
Field Bits What it does START 0 Start Measurement
CFGAConfig A Register
Address 0x44014002
Reset 0x0000
Access read/write
Size 16-bit 3 fields
Field Bits What it does DIVREF 15 Divide Reference Clock0 The reference clock is divided by 11 The reference clock is divided by 8 MSRSEL 10:8 Measurement Clock Selection0 GCLK Input Clock1 CPU Input Clock REFNUM 7:0 Number of Reference Clock Cycles
CTRLCControl C Register
Address 0x44014004
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 WINMODE2 1 WINMODE1 0 WINMODE0 1 field
Field Bits What it does WINMODE 2:0 Window Monitor Mode0 No window mode (default)1 VALUE > WINLT2 VALUE < WINUT3 WINLT < VALUE < WINUT4 !(WINLT < VALUE < WINUT)
EVCTRLEvent Control Register
Address 0x44014006
Reset 0x00
Access read/write 7 – 6 – 5 WINMONEO 4 DONEEO 3 – 2 – 1 STARTINV 0 STARTEI 4 fields
Field Bits What it does WINMONEO 5 Window Monitor Event Out DONEEO 4 Measurement Done Event Out STARTINV 1 Start Measurement Event Invert Enable STARTEI 0 Start Measurement Event Input Enable
INTENCLRInterrupt Enable Clear Register
Address 0x44014008
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 WINMON 0 DONE 2 fields
Field Bits What it does WINMON 1 Window Monitor Interrupt Disable DONE 0 Measurement Done Interrupt Disable
INTENSETInterrupt Enable Set Register
Address 0x44014009
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 WINMON 0 DONE 2 fields
Field Bits What it does WINMON 1 Window Monitor Interrupt Enable DONE 0 Measurement Done Interrupt Enable
INTFLAGInterrupt Flag Register
Address 0x4401400A
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 WINMON 0 DONE 2 fields
Field Bits What it does WINMON 1 Window Monitor DONE 0 Measurement Done
STATUSStatus Register
Address 0x4401400B
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 OVF 0 BUSY 2 fields
Field Bits What it does OVF 1 Sticky Count Value Overflow BUSY 0 FREQM Status
SYNCBUSYSynchronization Busy Register
Address 0x4401400C
Reset 0x00000000
Access read only
Size 32-bit 2 fields
Field Bits What it does ENABLE 1 Enable SWRST 0 Software Reset
VALUECount Value Register
Address 0x44014010
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does VALUE 23:0 Measurement Value
WINLTWindow Monitor Lower Threshold
Address 0x44014020
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does WINLT 23:0 Window Lower Threshold
WINUTWindow Monitor Upper Threshold
Address 0x44014024
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does WINUT 23:0 Window Upper Threshold