diff --git a/doc/system_description/fpga.md b/doc/system_description/fpga.md index 2ddb3b1..9811fbf 100644 --- a/doc/system_description/fpga.md +++ b/doc/system_description/fpga.md @@ -150,6 +150,9 @@ includes: - Read access to the 32 bit FPGA design version, expressed as an integer - Control and status access for the RGB LED on TKey board + - Setting bit 0 high turns on the Blue LED. + - Setting bit 1 high turns on the Green LED. + - Setting bit 2 high turns on the Red LED. - Control and status access for the 4 GPIOs on the TKey board - GPIO 1 and 2 are inputs and provide read access to the diff --git a/doc/system_description/software.md b/doc/system_description/software.md index 8f90c60..dfdc134 100644 --- a/doc/system_description/software.md +++ b/doc/system_description/software.md @@ -521,7 +521,8 @@ Assigned core prefixes: | `VERSION` | r | r | 4B | u32 | 1 | Current version. | | `SWITCH_APP` | r/w | r | 1B | u8 | | Write anything here to trigger the switch to application mode. Reading | | | | | | | | returns 0 if device is in firmware mode, 0xffffffff if in app mode. | -| `LED` | w | w | 1B | u8 | | | +| `LED` | r/w | r/w | 1B | u8 | | Control of the color LEDs in RBG LED on the board. | +| | | | | | | Bit 0 is Blue, bit 1 is Green, and bit 2 is Red LED. | | `GPIO` | r/w | r/w | 1B | u8 | | Bits 0 and 1 contain the input level of GPIO 1 and 2. | | | | | | u8 | | Bits 3 and 4 store the output level of GPIO 3 and 4. | | `APP_ADDR` | r/w | r | 4B | u32 | | Firmware stores app load address here, so app can read its own location |