Download Print this page

XMOS XC-1A Hardware Manual page 6

Hide thumbs Also See for XC-1A:

Advertisement

XC-1A Hardware Manual (1.2)
4 Push-Button Switches [D]
The XC-1A provides four push-button switches whose states can be sampled at any
time by software. The layout of the push-buttons is shown below.
The push buttons are connected to four pins, which are mapped to ports as described
in the table below.
The default state of a pin is high, pushing the button drives its pin low. Each pin can
be interfaced to a 4-bit port or an 8-bit port on the XS1-G4. The choice is defined by
the port interface used in the software [2].
C
B
Pin
Port
4b
8b
X0D16
P4D0 P8B2
X0D17
P4D1 P8B3
X0D18
P4D2 P8B4
X0D19
P4D3 P8B5
www.xmos.com
D
A
Processor
0
PORT_BUTTON [A]
PORT_BUTTON [B]
PORT_BUTTON [C]
PORT_BUTTON [D]
6/18

Advertisement

loading