RTC Clock Register
The
register is used to read or write the current time. It has no reset and an undefined value when the
RTC_CLK
RTC VDD is first powered up. Writing invalid time values is forbidden (for example, an hour value more than 23
and a minute value more than 59). The
when the core starts up, the values read from
programs must wait for the second event and then read this register.
HOUR[3:0] (R/W)
Hour Count
MIN (R/W)
Minute Count
Figure 22-4: RTC_CLK Register Diagram
Table 22-8: RTC_CLK Register Fields
Bit No.
(Access)
31:17
DAY
(R/W)
16:12
HOUR
(R/W)
11:6
MIN
(R/W)
5:0
SEC
(R/W)
ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference
RTC_CLK
RTC_CLK
15
14
13
12
0
0
0
0
31
30
29
28
0
0
0
0
DAY (R/W)
Day Count
Bit Name
Day Count.
The RTC_CLK.DAY bit provides the day count from 0 to 32767.
Hour Count.
The RTC_CLK.HOUR bit provides the hour count from 0 to 23.
Minute Count.
The RTC_CLK.MIN bit provides the minute count from 0 to 59.
Second Count.
The RTC_CLK.SEC bit provides the second count from 0 to 59.
register is updated every second. If the RTC is already running
are zero until the first second event comes. In this case,
11
10
9
8
7
6
5
4
0
0
0
0
0
0
0
0
27
26
25
24
23
22
21
20
0
0
0
0
0
0
0
0
Description/Enumeration
ADSP-SC58x RTC Register Descriptions
3
2
1
0
0
0
0
0
SEC (R/W)
Second Count
19
18
17
16
0
0
0
0
HOUR[4] (R/W)
Hour Count
22–13
Need help?
Do you have a question about the ADSP-SC58 Series and is the answer not in the manual?