![Texas Instruments AM1808 Скачать руководство пользователя страница 1338](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581338.webp)
Registers
1338
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Real-Time Clock (RTC)
27.3.16 Interrupt Register (INTERRUPT)
The INTERRUPT register is shown in
and described in
NOTE:
Out of reset, the INTERRUPT register is write-protected. To disable write protection, correct
keys must be written to the KICK
n
R registers (see
).
Figure 27-19. Interrupt Register (INTERRUPT)
31
16
Reserved
R-0
15
4
3
2
1
0
Reserved
ALARM
TIMER
EVERY
R-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 27-18. Interrupt Register (INTERRUPT) Field Descriptions
Bit
Field
Value
Description
31-4
Reserved
0
Reserved.
3
ALARM
Enable interrupt generation for when the alarm time and date match the current time and date
0
Alarm interrupt is disabled.
1
Alarm interrupt is enabled.
2
TIMER
Enable periodic timer interrupt generation. Period is determined by the EVERY field.
0
Periodic timer interrupt is disabled.
1
Periodic timer interrupt is enabled.
1-0
EVERY
0-3h
Selects the time period desired when periodic timer interrupts are enabled by the TIMER bit.
0
Second
1h
Minute
2h
Hour
3h
Day