I2C Registers: Difference between revisions
m Removed volatile as it doesn't make sense; the MCU is always running, even when the SoC doesn't |
Added some minor info about old MCU_FIRM versions |
||
Line 619: | Line 619: | ||
| 0x5A | | 0x5A | ||
| s | | s | ||
| rw | | ro/rw | ||
| | | Invalid, do not use! On newer MCU_FIRM versions this is unused, but on older MCU_FIRM versions this is a read-only counter. | ||
|- | |- | ||
| 0x5B | | 0x5B | ||
Line 648: | Line 648: | ||
|- | |- | ||
| 0x7F | | 0x7F | ||
| d(0x13) | | d(9-0x13) | ||
| ro | | ro | ||
| Various system state information. | | Various system state information. | ||
Line 666: | Line 666: | ||
this byte is reset to 0 before an svcBreak takes effect | this byte is reset to 0 before an svcBreak takes effect | ||
On MCU_FIRM major version 1 the size of this is 9, reading past the 9th byte will yield AA instead of FF. | |||
|- | |- | ||
| 0x80 | | 0x80 | ||
Line 679: | Line 681: | ||
Non-shared (dynamic) register: it's a register whose contents separate from the shared register pool. Messing with these registers will not affect the shared register pool at all. | Non-shared (dynamic) register: it's a register whose contents separate from the shared register pool. Messing with these registers will not affect the shared register pool at all. | ||
On old versions of MCU_FIRM none of the invalid registers are masked away by the read handler function, but are still read-only. Newer MCU_FIRM versions return the hardcoded value FF instead. | |||
== Device 5 & 6 == | == Device 5 & 6 == |