Pi GPIO Register: Difference between revisions
From SpecNext Wiki
core 3.0 changes/refresh |
(No difference)
|
Latest revision as of 10:54, 12 November 2019
| Number | TBRegisterNumber::$98-$9B |
|---|---|
| Readable | TBRegisterReadable::Yes |
| Writable | TBRegisterWritable::Yes |
| Short Description | ShortDesc::GPIO pins mapped to Next Register |
Bits 27-0: Read / Write the GPIO pin state (soft reset = $00001FF)
Writes only propagate when the corresponding pin has its output enabled in {{#ask: TBRegisterNumber::$90-$93 }} ($90-$93).
The register $9B is MSB (most significant byte = bits/pins 31-24), register $98 is LSB (least significant byte = bits/pins 7-0).
Bits 31-28 are not explicitly specified in the docs, so consider them "Reserved, use 0".
(note: Next registers with number higher than $7F are inaccessible from Copper code)