CME34M Hardware Manual - RTD Embedded Technologies, Inc.
CME34M Hardware Manual - RTD Embedded Technologies, Inc.
CME34M Hardware Manual - RTD Embedded Technologies, Inc.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Table 50<br />
Real Time Clock Registers<br />
Registers<br />
(hex)<br />
Registers<br />
(decimal)<br />
Function<br />
0Bh 11 RTC Status Register B<br />
• Bit 7: Inhibit Update - When high, the RTC is prevented from<br />
updating.<br />
• Bit 6: Periodic Interrupt Enable - When high, the RTC IRQ will<br />
be asserted by the periodic interrupt.<br />
• Bit 5: Alarm Interrupt Enable - When high, the RTC IRQ will be<br />
asserted when the current time matches the alarm time.<br />
• Bit 4: Update Ended Interrupt Enable - When high, the RTC IRQ<br />
will be asserted every time the RTC updates (once per second).<br />
• Bit 3: Square Wave Enable - Not used.<br />
• Bit 2: Data Mode - Sets the data format of the RTC<br />
clock/calendar registers (0=BCD, 1=binary). This is typically set<br />
to BCD mode.<br />
• Bit 1: Hours Byte Format - Sets the hour byte to 12 or 24 hour<br />
time (0=12 hour, 1=24 hour). This is typically set to 24 hour<br />
mode.<br />
• Bit 0: Daylight Savings Enable - When high, the RTC will<br />
automatically update itself for Daylight Savings Time. It is<br />
recommended to leave this bit low and let the operating system<br />
manage time zones and DST.<br />
0Ch 12 RTC Status Register C (Read Only)<br />
• Bit 7: IRQ Flag - Indicates that the Real Time Clock IRQ is<br />
asserted. Goes high whenever one of the enabled interrupt<br />
conditions in Register B occurs.<br />
• Bit 6: Periodic Flag<br />
• Bit 5: Alarm Flag<br />
• Bit 4: Update Ended Flag<br />
• Bit 3-0: Reserved<br />
Reading this register will also clear any of set flag (IRQ, Periodic, Alarm, Update<br />
Ended). Note that even if the interrupt source is not enabled in Register B, the<br />
flags in Register C bits 4, 5, and 6 may still be set.<br />
0Dh 13 RTC Status Register D<br />
• Bit 7: Valid Time/Date (always reads 1)<br />
• Bit 6: Reserved<br />
• Bits 5-0: RTC Alarm Day of the Month<br />
Note RTC registers that are not listed above are used by the BIOS and should be considered “Reserved”.<br />
Altering the contents of any unlisted RTC register may interfere with the operation of your cpuModule.<br />
The specific uses of the unlisted RTC registers will depend on the BIOS version loaded on the cpuModule.<br />
Contact <strong>RTD</strong>'s technical support for more information.<br />
BDM-610000076 Rev A Chapter 4: Using the cpuModule 65