PIC32CM5164LE00064 FREQM registers The 9 registers of FREQM (Frequency Meter), from 0x40002C00, with their reset value and every field. The PIC32CM5164LE00064 has 1757 registers in 48 peripherals, one page each.
FREQM Frequency Meter CTRLAControl A Register
Address 0x40002C00
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 ENABLE 0 SWRST 2 fields
Field Bits What it does ENABLE 1 Enable SWRST 0 Software Reset
CTRLBControl B Register
Address 0x40002C01
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 0x40002C02
Reset 0x0000
Access read/write
Size 16-bit 2 fields
Field Bits What it does DIVREF 15 Divide Reference Clock REFNUM 7:0 Number of Reference Clock Cycles
INTENCLRInterrupt Enable Clear Register
Address 0x40002C08
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 DONE 1 field
Field Bits What it does DONE 0 Measurement Done Interrupt Enable
INTENSETInterrupt Enable Set Register
Address 0x40002C09
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 DONE 1 field
Field Bits What it does DONE 0 Measurement Done Interrupt Enable
INTFLAGInterrupt Flag Register
Address 0x40002C0A
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 DONE 1 field
Field Bits What it does DONE 0 Measurement Done
STATUSStatus Register
Address 0x40002C0B
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 0x40002C0C
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 0x40002C10
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does VALUE 23:0 Measurement Value