The 34 registers of RTC (Real-Time Counter), from 0x40002400, with their reset value and every field. The PIC32CM2532JH01032 has 1128 registers in 48 peripherals, one page each.
RTC Real-Time Counter
MODE0.CTRLAMODE0 Control A
Address
0x40002400
Reset
0x0000
Access
read/write
Size
16-bit
6 fields
Field
Bits
What it does
COUNTSYNC
15
Count Read Synchronization Enable
PRESCALER
11:8
Prescaler
0 CLK_RTC_CNT = GCLK_RTC/1
1 CLK_RTC_CNT = GCLK_RTC/1
2 CLK_RTC_CNT = GCLK_RTC/2
3 CLK_RTC_CNT = GCLK_RTC/4
4 CLK_RTC_CNT = GCLK_RTC/8
5 CLK_RTC_CNT = GCLK_RTC/16
6 CLK_RTC_CNT = GCLK_RTC/32
7 CLK_RTC_CNT = GCLK_RTC/64
8 CLK_RTC_CNT = GCLK_RTC/128
9 CLK_RTC_CNT = GCLK_RTC/256
10 CLK_RTC_CNT = GCLK_RTC/512
11 CLK_RTC_CNT = GCLK_RTC/1024
MATCHCLR
7
Clear on Match
MODE
3:2
Operating Mode
0 Mode 0: 32-bit Counter
1 Mode 1: 16-bit Counter
2 Mode 2: Clock/Calendar
ENABLE
1
Enable
SWRST
0
Software Reset
MODE1.CTRLAMODE1 Control A
Address
0x40002400
Reset
0x0000
Access
read/write
Size
16-bit
5 fields
Field
Bits
What it does
COUNTSYNC
15
Count Read Synchronization Enable
PRESCALER
11:8
Prescaler
0 CLK_RTC_CNT = GCLK_RTC/1
1 CLK_RTC_CNT = GCLK_RTC/1
2 CLK_RTC_CNT = GCLK_RTC/2
3 CLK_RTC_CNT = GCLK_RTC/4
4 CLK_RTC_CNT = GCLK_RTC/8
5 CLK_RTC_CNT = GCLK_RTC/16
6 CLK_RTC_CNT = GCLK_RTC/32
7 CLK_RTC_CNT = GCLK_RTC/64
8 CLK_RTC_CNT = GCLK_RTC/128
9 CLK_RTC_CNT = GCLK_RTC/256
10 CLK_RTC_CNT = GCLK_RTC/512
11 CLK_RTC_CNT = GCLK_RTC/1024
MODE
3:2
Operating Mode
0 Mode 0: 32-bit Counter
1 Mode 1: 16-bit Counter
2 Mode 2: Clock/Calendar
ENABLE
1
Enable
SWRST
0
Software Reset
MODE2.CTRLAMODE2 Control A
Address
0x40002400
Reset
0x0000
Access
read/write
Size
16-bit
7 fields
Field
Bits
What it does
CLOCKSYNC
15
Clock Read Synchronization Enable
PRESCALER
11:8
Prescaler
0 CLK_RTC_CNT = GCLK_RTC/1
1 CLK_RTC_CNT = GCLK_RTC/1
2 CLK_RTC_CNT = GCLK_RTC/2
3 CLK_RTC_CNT = GCLK_RTC/4
4 CLK_RTC_CNT = GCLK_RTC/8
5 CLK_RTC_CNT = GCLK_RTC/16
6 CLK_RTC_CNT = GCLK_RTC/32
7 CLK_RTC_CNT = GCLK_RTC/64
8 CLK_RTC_CNT = GCLK_RTC/128
9 CLK_RTC_CNT = GCLK_RTC/256
10 CLK_RTC_CNT = GCLK_RTC/512
11 CLK_RTC_CNT = GCLK_RTC/1024
MATCHCLR
7
Clear on Match
CLKREP
6
Clock Representation
MODE
3:2
Operating Mode
0 Mode 0: 32-bit Counter
1 Mode 1: 16-bit Counter
2 Mode 2: Clock/Calendar
ENABLE
1
Enable
SWRST
0
Software Reset
MODE0.CTRLBMODE0 Control B
Address
0x40002402
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
GP0EN
0
General Purpose 0 Enable
MODE1.CTRLBMODE1 Control B
Address
0x40002402
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
GP0EN
0
General Purpose 0 Enable
MODE2.CTRLBMODE2 Control B
Address
0x40002402
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
GP0EN
0
General Purpose 0 Enable
MODE0.EVCTRLMODE0 Event Control
Address
0x40002404
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
Field
Bits
What it does
PERDEO
24
Periodic Interval Daily Event Output Enable
OVFEO
15
Overflow Event Output Enable
CMPEO0
8
Compare 0 Event Output Enable
PEREO7
7
Periodic Interval 7 Event Output Enable
PEREO6
6
Periodic Interval 6 Event Output Enable
PEREO5
5
Periodic Interval 5 Event Output Enable
PEREO4
4
Periodic Interval 4 Event Output Enable
PEREO3
3
Periodic Interval 3 Event Output Enable
PEREO2
2
Periodic Interval 2 Event Output Enable
PEREO1
1
Periodic Interval 1 Event Output Enable
PEREO0
0
Periodic Interval 0 Event Output Enable
MODE1.EVCTRLMODE1 Event Control
Address
0x40002404
Reset
0x00000000
Access
read/write
Size
32-bit
12 fields
Field
Bits
What it does
PERDEO
24
Periodic Interval Daily Event Output Enable
OVFEO
15
Overflow Event Output Enable
CMPEO1
9
Compare 1 Event Output Enable
CMPEO0
8
Compare 0 Event Output Enable
PEREO7
7
Periodic Interval 7 Event Output Enable
PEREO6
6
Periodic Interval 6 Event Output Enable
PEREO5
5
Periodic Interval 5 Event Output Enable
PEREO4
4
Periodic Interval 4 Event Output Enable
PEREO3
3
Periodic Interval 3 Event Output Enable
PEREO2
2
Periodic Interval 2 Event Output Enable
PEREO1
1
Periodic Interval 1 Event Output Enable
PEREO0
0
Periodic Interval 0 Event Output Enable
MODE2.EVCTRLMODE2 Event Control
Address
0x40002404
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
Field
Bits
What it does
PERDEO
24
Periodic Interval Daily Event Output Enable
OVFEO
15
Overflow Event Output Enable
ALARMEO0
8
Alarm 0 Event Output Enable
PEREO7
7
Periodic Interval 7 Event Output Enable
PEREO6
6
Periodic Interval 6 Event Output Enable
PEREO5
5
Periodic Interval 5 Event Output Enable
PEREO4
4
Periodic Interval 4 Event Output Enable
PEREO3
3
Periodic Interval 3 Event Output Enable
PEREO2
2
Periodic Interval 2 Event Output Enable
PEREO1
1
Periodic Interval 1 Event Output Enable
PEREO0
0
Periodic Interval 0 Event Output Enable
MODE0.INTENCLRMODE0 Interrupt Enable Clear
Address
0x40002408
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
OVF
15
Overflow Interrupt Enable
CMP0
8
Compare 0 Interrupt Enable
PER7
7
Periodic Interval 7 Interrupt Enable
PER6
6
Periodic Interval 6 Interrupt Enable
PER5
5
Periodic Interval 5 Interrupt Enable
PER4
4
Periodic Interval 4 Interrupt Enable
PER3
3
Periodic Interval 3 Interrupt Enable
PER2
2
Periodic Interval 2 Interrupt Enable
PER1
1
Periodic Interval 1 Interrupt Enable
PER0
0
Periodic Interval 0 Interrupt Enable
MODE1.INTENCLRMODE1 Interrupt Enable Clear
Address
0x40002408
Reset
0x0000
Access
read/write
Size
16-bit
11 fields
Field
Bits
What it does
OVF
15
Overflow Interrupt Enable
CMP1
9
Compare 1 Interrupt Enable
CMP0
8
Compare 0 Interrupt Enable
PER7
7
Periodic Interval 7 Interrupt Enable
PER6
6
Periodic Interval 6 Interrupt Enable
PER5
5
Periodic Interval 5 Interrupt Enable
PER4
4
Periodic Interval 4 Interrupt Enable
PER3
3
Periodic Interval 3 Interrupt Enable
PER2
2
Periodic Interval 2 Interrupt Enable
PER1
1
Periodic Interval 1 Interrupt Enable
PER0
0
Periodic Interval 0 Interrupt Enable
MODE2.INTENCLRMODE2 Interrupt Enable Clear
Address
0x40002408
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
OVF
15
Overflow Interrupt Enable
ALARM0
8
Alarm 0 Interrupt Enable
PER7
7
Periodic Interval 7 Interrupt Enable
PER6
6
Periodic Interval 6 Interrupt Enable
PER5
5
Periodic Interval 5 Interrupt Enable
PER4
4
Periodic Interval 4 Interrupt Enable
PER3
3
Periodic Interval 3 Interrupt Enable
PER2
2
Periodic Interval 2 Interrupt Enable
PER1
1
Periodic Interval 1 Interrupt Enable
PER0
0
Periodic Interval 0 Interrupt Enable
MODE0.INTENSETMODE0 Interrupt Enable Set
Address
0x4000240A
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
OVF
15
Overflow Interrupt Enable
CMP0
8
Compare 0 Interrupt Enable
PER7
7
Periodic Interval 7 Interrupt Enable
PER6
6
Periodic Interval 6 Interrupt Enable
PER5
5
Periodic Interval 5 Interrupt Enable
PER4
4
Periodic Interval 4 Interrupt Enable
PER3
3
Periodic Interval 3 Interrupt Enable
PER2
2
Periodic Interval 2 Interrupt Enable
PER1
1
Periodic Interval 1 Interrupt Enable
PER0
0
Periodic Interval 0 Interrupt Enable
MODE1.INTENSETMODE1 Interrupt Enable Set
Address
0x4000240A
Reset
0x0000
Access
read/write
Size
16-bit
11 fields
Field
Bits
What it does
OVF
15
Overflow Interrupt Enable
CMP1
9
Compare 1 Interrupt Enable
CMP0
8
Compare 0 Interrupt Enable
PER7
7
Periodic Interval 7 Interrupt Enable
PER6
6
Periodic Interval 6 Interrupt Enable
PER5
5
Periodic Interval 5 Interrupt Enable
PER4
4
Periodic Interval 4 Interrupt Enable
PER3
3
Periodic Interval 3 Interrupt Enable
PER2
2
Periodic Interval 2 Interrupt Enable
PER1
1
Periodic Interval 1 Interrupt Enable
PER0
0
Periodic Interval 0 Interrupt Enable
MODE2.INTENSETMODE2 Interrupt Enable Set
Address
0x4000240A
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
OVF
15
Overflow Interrupt Enable
ALARM0
8
Alarm 0 Interrupt Enable
PER7
7
Periodic Interval 7 Enable
PER6
6
Periodic Interval 6 Enable
PER5
5
Periodic Interval 5 Enable
PER4
4
Periodic Interval 4 Enable
PER3
3
Periodic Interval 3 Enable
PER2
2
Periodic Interval 2 Enable
PER1
1
Periodic Interval 1 Enable
PER0
0
Periodic Interval 0 Enable
MODE0.INTFLAGMODE0 Interrupt Flag Status and Clear
Address
0x4000240C
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
OVF
15
Overflow
CMP0
8
Compare 0
PER7
7
Periodic Interval 7
PER6
6
Periodic Interval 6
PER5
5
Periodic Interval 5
PER4
4
Periodic Interval 4
PER3
3
Periodic Interval 3
PER2
2
Periodic Interval 2
PER1
1
Periodic Interval 1
PER0
0
Periodic Interval 0
MODE1.INTFLAGMODE1 Interrupt Flag Status and Clear
Address
0x4000240C
Reset
0x0000
Access
read/write
Size
16-bit
11 fields
Field
Bits
What it does
OVF
15
Overflow
CMP1
9
Compare 1
CMP0
8
Compare 0
PER7
7
Periodic Interval 7
PER6
6
Periodic Interval 6
PER5
5
Periodic Interval 5
PER4
4
Periodic Interval 4
PER3
3
Periodic Interval 3
PER2
2
Periodic Interval 2
PER1
1
Periodic Interval 1
PER0
0
Periodic Interval 0
MODE2.INTFLAGMODE2 Interrupt Flag Status and Clear
Address
0x4000240C
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
OVF
15
Overflow
ALARM0
8
Alarm 0
PER7
7
Periodic Interval 7
PER6
6
Periodic Interval 6
PER5
5
Periodic Interval 5
PER4
4
Periodic Interval 4
PER3
3
Periodic Interval 3
PER2
2
Periodic Interval 2
PER1
1
Periodic Interval 1
PER0
0
Periodic Interval 0
DBGCTRLDebug Control
Address
0x4000240E
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0DBGRUN
1 field
Field
Bits
What it does
DBGRUN
0
Run During Debug
MODE0.SYNCBUSYMODE0 Synchronization Busy Status
Address
0x40002410
Reset
0x00000000
Access
read only
Size
32-bit
8 fields
Field
Bits
What it does
GP1
17
General Purpose 1 Register Busy
GP0
16
General Purpose 0 Register Busy
COUNTSYNC
15
Count Synchronization Enable Bit Busy
COMP0
5
COMP 0 Register Busy
COUNT
3
COUNT Register Busy
FREQCORR
2
FREQCORR Register Busy
ENABLE
1
Enable Bit Busy
SWRST
0
Software Reset Busy
MODE1.SYNCBUSYMODE1 Synchronization Busy Status
Address
0x40002410
Reset
0x00000000
Access
read only
Size
32-bit
10 fields
Field
Bits
What it does
GP1
17
General Purpose 1 Register Busy
GP0
16
General Purpose 0 Register Busy
COUNTSYNC
15
Count Synchronization Enable Bit Busy
COMP1
6
COMP 1 Register Busy
COMP0
5
COMP 0 Register Busy
PER
4
PER Register Busy
COUNT
3
COUNT Register Busy
FREQCORR
2
FREQCORR Register Busy
ENABLE
1
Enable Bit Busy
SWRST
0
Software Reset Bit Busy
MODE2.SYNCBUSYMODE2 Synchronization Busy Status
Address
0x40002410
Reset
0x00000000
Access
read only
Size
32-bit
9 fields
Field
Bits
What it does
GP1
17
General Purpose 1 Register Busy
GP0
16
General Purpose 0 Register Busy
CLOCKSYNC
15
Clock Synchronization Enable Bit Busy
MASK0
11
MASK Register Busy
ALARM0
5
ALARM Register Busy
CLOCK
3
CLOCK Register Busy
FREQCORR
2
FREQCORR Register Busy
ENABLE
1
Enable Bit Busy
SWRST
0
Software Reset Bit Busy
FREQCORRFrequency Correction
Address
0x40002414
Reset
0x00
Access
read/write
7SIGN
6VALUE6
5VALUE5
4VALUE4
3VALUE3
2VALUE2
1VALUE1
0VALUE0
2 fields
Field
Bits
What it does
SIGN
7
Correction Sign
VALUE
6:0
Correction Value
MODE0.COUNTMODE0 Counter Value
Address
0x40002418
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
COUNT
31:0
Counter Value
MODE1.COUNTMODE1 Counter Value
Address
0x40002418
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
COUNT
15:0
Counter Value
MODE2.CLOCKMODE2 Clock Value
Address
0x40002418
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
MONTH
25:22
Month
DAY
21:17
Day
HOUR
16:12
Hour
0 AM when CTRLA.CLKREP in 12-hour (AM/PM) mode
16 PM when CTRLA.CLKREP in 12-hour (AM/PM) mode
MINUTE
11:6
Minute
SECOND
5:0
Second
YEAR
31:26
Year
MODE1.PERMODE1 Counter Period
Address
0x4000241C
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
PER
15:0
Counter Period
MODE0.COMP0MODE0 Compare Value
Address
0x40002420
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
COMP
31:0
Compare Value
MODE1.COMP0MODE1 Compare n Value
Address
0x40002420
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
COMP
15:0
Compare Value
MODE2.ALARM0MODE2 Alarm Value
Address
0x40002420
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
MONTH
25:22
Month
DAY
21:17
Day
HOUR
16:12
Hour
0 AM when CTRLA.CLKREP in 12-hour (AM/PM) mode
16 PM when CTRLA.CLKREP in 12-hour (AM/PM) mode
MINUTE
11:6
Minute
SECOND
5:0
Second
YEAR
31:26
Year
MODE1.COMP1MODE1 Compare n Value
Address
0x40002422
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
COMP
15:0
Compare Value
MODE2.MASK0MODE2 Alarm Mask
Address
0x40002424
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2SEL2
1SEL1
0SEL0
1 field
Field
Bits
What it does
SEL
2:0
Alarm Mask Selection
0 Alarm Disabled
1 Match seconds only
2 Match seconds and minutes only
3 Match seconds, minutes, and hours only
4 Match seconds, minutes, hours, and days only
5 Match seconds, minutes, hours, days, and months only
6 Match seconds, minutes, hours, days, months, and years