Changes between Version 4 and Version 5 of HardwareUsersGuides/FPGABoard_v2.2/UserIO/warp_v4_userio


Ignore:
Timestamp:
Oct 18, 2009, 10:04:18 PM (15 years ago)
Author:
sgupta
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HardwareUsersGuides/FPGABoard_v2.2/UserIO/warp_v4_userio

    v4 v5  
    2222
    2323
     24'''Push Buttons:'''
     25
     26The push button values can be read using the following function.
     27
     28{{{
    2429WarpV4_UserIO_PushB(baseaddress)
     30}}}
    2531
     32where ''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
     36The dip switches can be read using the following function:
     37
     38{{{
    2639WarpV4_UserIO_DipSw(baseaddress)
    2740}}}
     41
     42where ''baseaddress'' is the base address of the UserIO core. The returned value is four bits wide.