Mainline:Broadcom Kona/BCM590xx/RTC: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
|- | |- | ||
|0 | |0 | ||
|Second | |Second (<code>SC</code>) | ||
|Current second, from 0 to 59. | |Current second, from 0 to 59. | ||
|- | |- | ||
|1 | |1 | ||
|Minute | |Minute (<code>MN</code>) | ||
|Current minute of the hour, from 0 to 59. | |Current minute of the hour, from 0 to 59. | ||
|- | |- | ||
|2 | |2 | ||
|Hour | |Hour (<code>HR</code>) | ||
|Current hour of the day, from 0 to 23. | |Current hour of the day, from 0 to 23. | ||
|- | |- | ||
|3 | |3 | ||
| | |Weekday (<code>WD</code>) | ||
|Day of | |Day of week; 0 is Monday, 6 is Sunday. {{speculation|todo, verify}} | ||
|- | |- | ||
|4 | |4 | ||
| | |Day of month (<code>DT</code>) | ||
| | |Day of month, starting from 0. | ||
|- | |- | ||
|5 | |5 | ||
|Year | |Month (<code>MT_WD</code>) | ||
|Number of the month. 1 to 12 represent January-December. | |||
|- | |||
|6 | |||
|Year (<code>YR</code>) | |||
|Amount of years since 2000 (0 = 2000, 1 = 2001, etc.) | |Amount of years since 2000 (0 = 2000, 1 = 2001, etc.) | ||
|} | |} | ||
Line 46: | Line 50: | ||
There are interrupts for updates of each of the time values. | There are interrupts for updates of each of the time values. | ||
The default reset value is 2007-01-01 at 00:00:00. | |||
== Alarm == | == Alarm == |