RTC Programming Model
17-2
ADSP-BF535 Blackfin Processor Hardware Reference
The RTC provides two alarm features. The application can program an
exact time (hour, minute, and second) into the RTC Alarm register
(
RTC_ALARM
). When the alarm interrupt is enabled, the RTC generates an
interrupt each day at the specified time. The second alarm feature allows
the application to specify a day as well as a time. When the day alarm
interrupt is enabled, the RTC generates an interrupt on the day and time
specified by the application. The alarm interrupt and day-alarm interrupt
can be enabled or disabled independently.
The RTC provides a stopwatch function that acts a countdown timer. The
application can program a minute count into the RTC Stopwatch Count
register (
RTC_SWCNT
). When the stopwatch interrupt is enabled and the
specified number of minutes have elapsed, the RTC generates an
interrupt.
The RTC can also generate an interrupt once every second, minute, and
day. Each of these interrupts can be independently controlled.
Note that although each of the RTC counters operates continually and
cannot be stopped by the application, no interrupts are generated unless
enabled in the RTC Interrupt Control register (
RTC_ICTL
).
RTC Programming Model
The RTC programming model consists of a set of system MMRs. Soft-
ware can configure the RTC and can determine the status of the RTC
through reads and writes to these registers. The RTC Interrupt Control
register (
RTC_ICTL
) and the RTC Interrupt Status register (
RTC_ISTAT
)
provide RTC interrupt management capability.
Note that software cannot disable the RTC counting function. However,
all RTC interrupts can be disabled, or masked. The RTC state can be read
via the system MMR status registers at any time.
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...