RTT_MR

Real-time Timer Mode Register

  0x00 32 Read/Write 0x00008000  

Real-time Timer Mode Register

Bit  31 30 29 28 27 26 25 24  
                RTC1HZ  
Access                   
Reset                0  
Bit  23 22 21 20 19 18 17 16  
        RTTDIS   RTTRST RTTINCIEN ALMIEN  
Access            R/W R/W R/W  
Reset        0   0 0 0  
Bit  15 14 13 12 11 10 9 8  
  RTPRES[15:8]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  1 0 0 0 0 0 0 0  
Bit  7 6 5 4 3 2 1 0  
  RTPRES[7:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  

Bits 15:0 – RTPRES[15:0]: Real-time Timer Prescaler Value

Real-time Timer Prescaler Value

Defines the number of SLCK periods required to increment the RTT. The RTTINCIEN bit must be cleared prior to writing a new RTPRES value.

RTPRES is defined as follows:

Bit 16 – ALMIEN: Alarm Interrupt Enable

Alarm Interrupt Enable

ValueDescription
0

The bit ALMS in RTT_SR has no effect on interrupt.

1

The bit ALMS in RTT_SR asserts interrupt.

Bit 17 – RTTINCIEN: Real-time Timer Increment Interrupt Enable

Real-time Timer Increment Interrupt Enable

ValueDescription
0

The bit RTTINC in RTT_SR has no effect on interrupt.

1

The bit RTTINC in RTT_SR asserts interrupt.

Bit 18 – RTTRST: Real-time Timer Restart

Real-time Timer Restart

ValueDescription
0

No effect.

1

Reloads and restarts the clock divider with the new programmed value. This also resets the 32-bit counter.

Bit 20 – RTTDIS: Real-time Timer Disable

Real-time Timer Disable

ValueDescription
0

The RTT is enabled.

1

The RTT is disabled (no dynamic power consumption).

Bit 24 – RTC1HZ: Real-Time Clock 1Hz Clock Selection

Real-Time Clock 1Hz Clock Selection

ValueDescription
0 The RTT 32-bit counter is driven by the 16-bit prescaler roll-over events.
1

The RTT 32-bit counter is driven by the 1Hz RTC clock.