RELIANCE 45C362控制板
寄存器2包含兩個時間值。位3-0包含1分鐘值,BCD為0到9,位7-4包含10分鐘值,十進制為0到6。此寄存器的總范圍為0到59分鐘。此寄存器的第7位將始終為零,無論寫入的值是什么。寄存器4包含一天中時間的小時值。根據(jù)位6的狀態(tài),小時可以以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.