1 real-time timer mode register – Rainbow Electronics AT91CAP9S250A User Manual

Page 102

Advertising
background image

102

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

16.4.1

Real-time Timer Mode Register

Register Name:

RTT_MR

Access Type: Read/Write

• RTPRES: Real-time Timer Prescaler Value

Defines the number of SLCK periods required to increment the Real-time timer. RTPRES is defined as follows:

RTPRES = 0: The prescaler period is equal to 2

16

RTPRES

0: The prescaler period is equal to RTPRES.

• ALMIEN: Alarm Interrupt Enable

0 = The bit ALMS in RTT_SR has no effect on interrupt.

1 = The bit ALMS in RTT_SR asserts interrupt.

• RTTINCIEN: Real-time Timer Increment Interrupt Enable

0 = The bit RTTINC in RTT_SR has no effect on interrupt.

1 = The bit RTTINC in RTT_SR asserts interrupt.

• RTTRST: Real-time Timer Restart

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

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

RTTRST

RTTINCIEN

ALMIEN

15

14

13

12

11

10

9

8

RTPRES

7

6

5

4

3

2

1

0

RTPRES

Advertising