| 61 | |
| 62 | In addition, the number written can be read out by: |
| 63 | |
| 64 | {{{ |
| 65 | WarpV4_UserIO_ReadNumber_[LeftHex|MiddleHex|RightHex](baseaddress) |
| 66 | }}} |
| 67 | |
| 68 | where the return value is the four bit value corresponding to the last number written. Additionally, as 0x0 corresponds to a number zero being displayed instead of turning the displays off, the following functions toggle the visibility of the numbers: |
| 69 | |
| 70 | {{{ |
| 71 | WarpV4_UserIO_[LeftHex|MiddleHex|RightHex]_Off(baseaddress) |
| 72 | WarpV4_UserIO_[LeftHex|MiddleHex|RightHex]_On(baseaddress) |
| 73 | }}} |
| 74 | |
| 75 | Toggling the visibility will not alter the values to be shown. Note: these function only works in Number Mode. |
| 76 | |
| 77 | The second mode for the hex displays is raw mode where each segment in the display can be controlled independently. To enable raw mode the following functions are used: |
| 78 | |
| 79 | {{{ |
| 80 | WarpV4_UserIO_RawMode_All(baseaddress) |
| 81 | WarpV4_UserIO_RawMode_[LeftHex|MiddleHex|RightHex](baseaddress) |
| 82 | }}} |
| 83 | |
| 84 | [[Image(attachment:HardwareUsersGuides/FPGABoard_v2.2/Files:hex_display.jpg)]] |