| 85 | |
| 86 | To interact with the data for the hex displays in raw mode, the following functions must be used: |
| 87 | {{{ |
| 88 | WarpV4_UserIO_WriteRaw_[LeftHex|MiddleHex|RightHex](baseaddress, value) |
| 89 | WarpV4_UserIO_ReadRaw_[LeftHex|MiddleHex|RightHex](baseaddress) |
| 90 | }}} |
| 91 | |
| 92 | The ''value'' for the WriteRaw function must be 8 bits wide and arranged as follows [A B C D E F G DP]. The ReadRaw function returns a 8-bit number in the same order. |
| 93 | |
| 94 | '''I2C LEDs:''' |
| 95 | |
| 96 | The 8 LEDs that are not directly connected to the FPGA but controlled through an IO Expander can be written to using the following function call: |
| 97 | |
| 98 | {{{ |
| 99 | WarpV4_UserIO_Write_ExtraLeds(baseaddress, value) |
| 100 | }}} |
| 101 | |
| 102 | where ''value'' is 8-bits wide with each bit corresponding to each LED to be written. |