PIC32CX5109BZ36048 FREQM registers The 9 registers of FREQM (Frequency Meter), from 0x40000400, with their reset value and every field. The PIC32CX5109BZ36048 has 2233 registers in 60 peripherals, one page each.
FREQM Frequency Meter CTRLAControl A Register
Address 0x40000400
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 0x40000401
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 0x40000402
Reset 0x0000
Access read/write
Size 16-bit 1 field
Field Bits What it does REFNUM 7:0 Number of Reference Clock Cycles
INTENCLRInterrupt Enable Clear Register
Address 0x40000408
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 0x40000409
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 0x4000040A
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 0x4000040B
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 0x4000040C
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 0x40000410
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does VALUE 23:0 Measurement Value