The 5 registers of RTT (Real-time Timer), from 0x40053020, with their reset value and every field. The PIC32CX2051MTG64 has 2801 registers in 57 peripherals, one page each.
RTT Real-time Timer
RTT_MRMode Register
Address
0x40053020
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
RTC1HZ
24
Real-Time Clock 1Hz Clock Selection
INC2AEN
21
RTTINC2 Alarm and Interrupt Enable
RTTDIS
20
Real-time Timer Disable
RTTRST
18
Real-time Timer Restart
RTTINCIEN
17
Real-time Timer Increment Interrupt Enable
ALMIEN
16
Alarm Interrupt Enable
RTPRES
15:0
Real-time Timer Prescaler Value
RTT_ARAlarm Register
Address
0x40053024
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
ALMV
31:0
Alarm Value
RTT_VRValue Register
Address
0x40053028
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
CRTV
31:0
Current Real-time Value
RTT_SRStatus Register
Address
0x4005302C
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
Field
Bits
What it does
RTTINC2
2
Predefined Number of Prescaler Roll-overs Status (cleared on read)
RTTINC
1
Prescaler Roll-over Status (cleared on read)
ALMS
0
Real-time Alarm Status (cleared on read)
RTT_MODRModulo Selection Register
Address
0x40053030
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
SELINC2
2:0
Selection of the 32-bit Counter Modulo to generate RTTINC2 Flag
0 The RTTINC2 flag never rises
1 The RTTINC2 flag is set when CRTV modulo 64 equals 0
2 The RTTINC2 flag is set when CRTV modulo 128 equals 0
3 The RTTINC2 flag is set when CRTV modulo 256 equals 0
4 The RTTINC2 flag is set when CRTV modulo 512 equals 0
5 The RTTINC2 flag is set when CRTV modulo 1024 equals 0. Example: If RTPRES=32 then RTTINC2 flag rises once per second if the slow clock is 32.768 kHz.
6 The RTTINC2 flag is set when CRTV modulo 2048 equals 0
7 The RTTINC2 flag is set when CRTV modulo 4096 equals 0