Chapter 17
Real-Time Clock
The Real Time Clock (RTC) is an AMBA slave module that connects to the APB. The RTC
can provide a basic alarm function or act as a long-time base counter. This is achieved by
generating an interrupt signal after counting for a programmed number of cycles of an RTC
input. Counting in 1-second intervals is achieved using a 1 Hz clock input to the RTC.
Figure 17-1 shows a block diagram of the RTC.
ADVANCED
PERIPHERAL
BUS (APB)
CLK1HZ
17.1 RTC Features
The RTC provides the following features:
• AMBA APB interface
• 32-bit up-counter with programmable load
• Programmable 32-bit match Compare Register
• Software-maskable interrupt that is set when the Counter and Compare Registers have
identical values.
REGISTER
BLOCK
AMBA
APB
INTERFACE
Figure 17-1. RTC Block Diagram
6/17/03
CONTROL
BLOCK
READ VALUE
LOAD VALUE
COUNTER
RTCINTR
LH754xx-24
17-1