Chapter 3 – Real Time Clock
3-6
3.4.3
Day of Week Counter Register (RTC Register 09h)
The Day of Week Counter Register is used to set or read the day of the week. The day is encoded with a value from 0
to 6, according to the following chart.
Data
0
1
2
3
4
5
6
Day of Week
Sun.
Mon.
Tue.
Wed.
Thu.
Fri.
Sat.
3.4.4
Day, Month, and Year Counter Registers (RTC Registers 0Bh, 0Dh, 0Fh)
These registers are used to set or read the RTC calendar date. Each of these registers is encoded in BCD format. For
example, the 25th day of the month would be encoded in the Day Counter Register as '00100101'.
Only the last two digits of the year are used. Leap years are automatically recognized (Note: A year whose last two digits
are a multiple of four is recognized as a leap year).
3.4.5
64 Hz Alarm - Day Alarm Registers (RTC Registers 11h through 1Bh)
These registers are used to set the time at which the RTC triggers an alarm condition. Bit 7 of each of these registers
is the register's enable (ENB) bit. If an alarm register's ENB bit is set, the RTC uses that register in its comparison to
its corresponding counter register to determine if the alarm time has been reached. Two or more alarm registers may
be enabled at a time. When the values in the counter registers match the corresponding values in the enabled alarm
registers, the alarm condition is met. This can be thought of as a logical AND of the alarm registers that are enabled.
The RTC then sets the Alarm Flag (AF) bit in Control Register A. Since interrupts from the RTC are not used on the
XVME-113, the AF bit is the only indication to the host processor that the alarm time has been reached.
3.4.6
Control Register A (RTC Register 1Dh)
CF
*
*
CIE
AIE
*
*
AF
The only bits that are used in this register are the CF and the AF bits. Since interrupts from the RTC are not used on the
XVME-113, the Carry Interrupt Enable (CIE) and Alarm Interrupt Enable (AIE) bits are unused and should always be
written as '0'.
Summary of Contents for XVME-113
Page 10: ...Chapter 1 Introduction 1 6...
Page 11: ......
Page 12: ...Chapter 2 Installation 2 2...
Page 13: ...XVME 113 RAM ROM Memory Module October 1992 2 3 0 1 2...
Page 16: ...Chapter 2 Installation 2 6 3 7 2 2 3 8 1 1...
Page 19: ...XVME 113 RAM ROM Memory Module October 1992 2 9 4 3 9 5 C 5 C 9 C C 9 9 9 9...
Page 20: ...Chapter 2 Installation 2 10 3...
Page 26: ...Chapter 2 Installation 2 16 4 6 4 5...
Page 30: ...Chapter 2 Installation 2 20 4 5 E E B E 6 E 6 E E E B E...
Page 32: ...Chapter 2 Installation 2 22 9...
Page 52: ......
Page 64: ...Appendix B Quick Reference Guide B 6 Figure B 2 Read Timing Waveform...
Page 65: ...C 1 APPENCIX C BLOCK DIAGRAM ASSEMBLY DRAWING SCHEMATICS Figure C 1 XVME 113 Block Diagram...
Page 66: ...Appendix C Block Diagram Assembly Drawing Schematics C 2 Figure C 2 Assembly Drawing...
Page 67: ......
Page 68: ......
Page 69: ......
Page 70: ......
Page 71: ......
Page 72: ......
Page 73: ......
Page 74: ......
Page 75: ......