I2C Registers: Difference between revisions
No edit summary |
No edit summary |
||
Line 326: | Line 326: | ||
| 0x30 | | 0x30 | ||
| 8 | | 8 | ||
| RTC time (system clock). 7 bytes are read from this. The upper nibble of each byte encodes 10s, so each byte is post-processed with (byte & 0xF) + (10 * (byte >> 4)). | | RTC time (system clock). 7 bytes are read from this. The upper nibble of each byte encodes 10s, so each byte is post-processed with (byte & 0xF) + (10 * (byte >> 4)). Byte 0 encodes seconds, byte 6 is years, etc. | ||
|- | |- | ||
| 0x31 | | 0x31 |