Rtc Time Set Register—Mbar + 0X0800 - Freescale Semiconductor MPC5200B User Manual

Freescale semiconductor board users guide
Table of Contents

Advertisement

RTC New Year and Stopwatch Register
RTC Alarm and Interrupt Enable Register
RTC Current Time Register
7.6.3.1
RTC Time Set Register—MBAR + 0x0800
msb 0
1
R
W
RESET:
0
0
16
17
R
Reserved
W
RESET:
0
0
Bits
Name
0:5
6
set_time
7
pause_time
8:9
10
SlctHour
11:15
C24Hour_set
16:17
Freescale Semiconductor
(0x0808)
(0x080C)
(0x0810), read-only
Table 7-56. RTC Time Set Register
2
3
4
5
6
Reserved
0
0
0
0
0
18
19
20
21
22
Minute_set
0
0
0
0
0
Reserved
A bit used in conjunction with pause_time bit (below) to cause a new time to be programmed
into the RTC. After a proper software sequence, the values in the *_set fields below are
loaded.
The proper software sequence is:
1. Write register with pause_time 1 and set_time 0
2. Write register with pause_time 1 and set_time 1
3. Write register with pause_time 1 and set_time 0
4. Write register with pause_time 0 and set_time 0
At completion of Step 4, RTC is updated with the new time.
The C24Hour_set, Minute_set, and the Second_set fields should remain consistent values
throughout the four steps (i.e., at the desired new time values).
Note: Read-modify-write operations may disrupt this procedure, it is advised that four
simple writes occur. Byte writes to this byte are also acceptable.
Used with set_time above to perform time update. Must be zero for normal operation.
Reserved
This bit determines the hour output format.
• low bit = 24-hour format
• high bit = 12-hour format with AM/PM
Note: This bit does NOT affect time set procedure, it only affects how the Hour Status field
is presented.
Hour in 24-hour format written in RTC after successful state machine transition by set_time
and pause_time bits.
Note: This field is always written with 24-Hour format, it is NOT affected by SlctHour bit
above.
Reserved
MPC5200B Users Guide, Rev. 1
RTC Periodic Interrupt and Bus Error Register
read-only
RTC Test Register/Divides Register (0x0820)
7
8
9
10
11
Reserved
0
0
0
0
23
24
25
26
27
Reserved
0
0
0
0
Description
Real-Time Clock
(0x081C),
12
13
14
15
C24Hour_set
0
0
0
0
0
28
29
30
31 lsb
Second_set
0
0
0
0
0
7-67

Advertisement

Table of Contents
loading

Table of Contents