diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-06-14 00:06:13 -0500 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-06-14 00:06:13 -0500 |
| commit | bc039700b6381040f9b907613654e201c83e17e5 (patch) | |
| tree | cb7f1de2b0aa393431bd79ad68c506be6f428fc8 /rvcontroller.lua | |
| parent | a919b79a1da201b9e7b4a70da45c2985bd2ea8f0 (diff) | |
| download | rvcontroller-bc039700b6381040f9b907613654e201c83e17e5.tar rvcontroller-bc039700b6381040f9b907613654e201c83e17e5.tar.gz rvcontroller-bc039700b6381040f9b907613654e201c83e17e5.tar.bz2 rvcontroller-bc039700b6381040f9b907613654e201c83e17e5.tar.xz rvcontroller-bc039700b6381040f9b907613654e201c83e17e5.zip | |
Fix typo in documentation
Diffstat (limited to 'rvcontroller.lua')
| -rw-r--r-- | rvcontroller.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rvcontroller.lua b/rvcontroller.lua index 831d2d8..2370906 100644 --- a/rvcontroller.lua +++ b/rvcontroller.lua @@ -187,12 +187,12 @@ MMIO: Base address is selected by CSR 0x801 above. Base + 0: Mesecons I/O Direction -Format: [0000dbca] (WARL) +Format: [0000dcba] (WARL) 0 in the bit corresponding to an I/O pin selects input, 1 selects output. Changing a pin from output to input while the output is active may cause unusual behavior due to Luacontroller limitations. Base + 1: Mesecons I/O Data -Format: [0000dbca] (Input bits are RO, output bits are RW) +Format: [0000dcba] (Input bits are RO, output bits are RW) For inputs: Each bit contains the state of the corresponding input. Writes are ignored. For outputs: Each bit contains the state of the corresponding output. Writing to these bits turns the output on/off. |
