54
4
VMICPCI-7611 Product Manual
Time of Day Registers
Registers 0, 1, 2, 4, 6, 8, 9, and A contain Time of Day data in BCD.
Register 0
contains two Time of Day values. Bits 3 - 0 contain the 0.01 Seconds value
with a range of 0 to 9 in BCD while Bits 7 - 4 contain the 0.1 Seconds value with a
range of 0 to 9 in BCD. This Register has a total range of 0.00 to 0.99 Seconds.
Register 1
contains two Time of Day values. Bits 3 - 0 contain the 1 Seconds value with
a range of 0 to 9 in BCD while Bits 7 - 4 contain the 10 Seconds value with a range of 0
to 5 in BCD. This Register has a total range of 0.0 to 59.0 Seconds. Bit 7 of this register
will always be zero regardless of what value is written to it.
Register 2
contains two Time of Day values. Bits 3 - 0 contain the 1 Minutes value with
a range of 0 to 9 in BCD while Bits 7 - 4 contain the 10 Minutes value with a range of 0
to 5 in BCD. This Register has a total range of 0 to 59 Minutes. Bit 7 of this register will
always be zero regardless of what value is written to it.
Register 4
contains the Hours value of the Time of Day. The Hours can be represented
in either 12 or 24 hour format depending on the state of Bit 6. When Bit 6 is set to a one
(1) the format is 12 hour. When Bit 6 is set to a zero (0) the format is 24 hour. For the 12
hour format Bits 3 - 0 contain the 1 Hour value with a range of 0 to 9 in BCD and Bit 4
contains the 10 Hour value with a range of 0 to 1. In the 12 hour format Bit 5 is used as
the AM/PM bit. When AM Bit 5 is a zero (0) and when PM bit 5 is a one (1). The total
range of this register in the 12 hour format is 01 AM to 12 AM and 01 PM to 12 PM.
When Register 4 is in 24 hour format (Bit 6 is set to a zero (0)) Bits 3 - 0 contain the 1
Hour value with a range of 0 to 9 in BCD, Bit 5 combines with 4 to represent the 10
Hour value. The 10 Hour range is from 0 to 2. The total range of register 4 in the 24
hour format is 00 to 23 hours. Bit 7 of register 4 will always be zero regardless of what
value is written to it and regardless of format (12 or 24 hour).
Register 6
contains the Days value of the Time of Day. Bits 2 - 0 contain the Days value
with a range of 1 to 7 in BCD.
Register 8
contains two Time of Day values. Bits 3 - 0 contain the Date value with a
range of 0 to 9 in BCD while Bits 5 - 4 contain the 10 Date value with a range of 0 to 3.
This Register has a total range of 01 to 31. Bits 7 - 6 of this register will always be zero
regardless of what value is written to it.
Register 9
contains two Time of Day values. Bits 3 - 0 contain the Months value with a
range of 0 to 9 in BCD while Bits 4 contain the 10 Date value with a range of 0 to 1.
This Register has a total range of 01 to 12. Bit 5 will always be zero regardless of what
value is written to it. Bit 6 is unused but must be set to a 1. Bit 7, Eosc, is the clock
oscillator enable bit. When this bit is set to a zero (0) the oscillator is internally
enabled. When set to a one (1) the oscillator is internally disabled. The oscillator via
this bit is usually turned on once during system initialization but can be toggled on
and off at the users discretion.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com