星期四, 12月 01, 2005

Intersil RTC : X1205

X1205是I2C BUS (Max 400k) 介面的Real Time Clock,不含Battery,不含oscillator(需要外加32.768kHz crystal)。工作範圍2.7~5.5V。temperature range : (-40~85C)。
RTC的資料有:年,月,日,時,分,秒,星期。
有自動閏年計算,沒有daylight saving功能。
有兩個alarm time可以設定,時間到會送出interrupt。

I2C的address是0xDE (最後一個bit不計)。
資料內容採用PBCD,各欄位range:

年: 00h - 99h
月: 01h - 12h
日: 01h - 31h
時: 01h - 12h w AM/PM or 00h - 23h
分: 00h - 59h
秒: 00h - 59h

星期 採用固定 0 - 1 - 2 - 3 - 4 - 5 - 6 - 0 - 1 - ...repeat並沒有規定那一個數字是星期日,只是隨著日期自動增加。所以programmer可以自己決定。

其他詳細的register read/write address/procedure參考data sheet的table。

沒有留言:

網誌存檔