RELIANCE 45C362控制板
寄存器2包含两个时间值。位3-0包含1分钟值,BCD为0到9,位7-4包含10分钟值,十进制为0到6。此寄存器的总范围为0到59分钟。此寄存器的第7位将始终为零,无论写入的值是什么。寄存器4包含一天中时间的小时值。根据位6的状态,小时可以以12小时或24小时格式表示。当比特6设置为一(1)时,格式为12小时。当位6设置为零(0)时,格式为24小时。对于12小时格式,位3-0包含BCD格式的1小时值,范围为0到9,位4包含0到1的10小时值。在12小时格式中,位5用作AM/PM位。对于AM,位5被设置为零(0),对于PM,位5设置为一(1)。12小时格式的此寄存器的总范围为01 AM至12 AM和01 PM至12 PM。当寄存器4为24小时格式(位6设置为零(0))时,位3-0包含1小时值,BCD中的范围为0至9,位5与4组合表示10小时值。10小时范围为0到2。
Register 2 contains two Time of Day values. Bits 3 - 0 contain the 1 Minute value with a range of 0 to 9 in BCD, Bits 7 - 4 contain the 10 Minutes value with a range of 0 to 6 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. For AM, Bit 5 is set to zero (0) and for PM, Bit 5 is set to 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.