Changes between Version 4 and Version 5 of HardwareUsersGuides/FPGABoard_v2.2/UserIO/warp_v4_userio
- Timestamp:
- Oct 18, 2009, 10:04:18 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HardwareUsersGuides/FPGABoard_v2.2/UserIO/warp_v4_userio
v4 v5 22 22 23 23 24 '''Push Buttons:''' 25 26 The push button values can be read using the following function. 27 28 {{{ 24 29 WarpV4_UserIO_PushB(baseaddress) 30 }}} 25 31 32 where ''baseaddress'' is the base address of the UserIO core. As noted previously, the bottom push button is used as the reset button in all XPS designs, hence the function returns a four bit value. The returned vector is arranged as follows: [Up, Left, Right, Center]. 33 34 '''Dip Switch:''' 35 36 The dip switches can be read using the following function: 37 38 {{{ 26 39 WarpV4_UserIO_DipSw(baseaddress) 27 40 }}} 41 42 where ''baseaddress'' is the base address of the UserIO core. The returned value is four bits wide.