User manual

Code Mercenaries
5
JJ
JJ
oo
oo
yy
yy
WW
WW
aa
aa
rr
rr
rr
rr
ii
ii
oo
oo
rr
rr
4.2 Pin Descriptions JoyWarrior24 A 8-16
* See application circuit for external circuitry.
4.3 Pin Descriptions JoyWarrior24A8L and JoyWarrior24A10L
* See application circuit for external circuitry.
Name
Type
Pins
Description
D+, D-
X0, X1, X2,
X3
special
input, internal pull up
16,15
5, 20, 6, 19
USB differential data lines
Button row inputs, active low
Y0, Y1, Y2,
Y3
A0, A1
XR1, XR2
YR1, YR2
output, open drain,
internal pull up
special *
special *
special *
7, 18, 8, 17
1, 2
Button column outputs, periodically pulled low
Connect center taps of pots here
3, 4
24, 23
Connections for X pot
Connections for Y pot
ZR1, ZR2
VREG
PullToGND
GND
O
special *
special *
power supply
Vcc
RAW
NC
power supply
input, internal pull
down
unused
22, 21
11
Connections for Z pot
Power for USB D- pull up resistor
10
9
Used during manufacturing, connect to GND
Ground
14
12
Supply voltage
Pull to Vcc to disable auto calibration and centering
13
Do not connect
Name
Type
Pins
Description
D+, D-
X0/B0, X1/B1,
X2/B2, X3/B3,
Y0/B4, Y1/B5.
Y2/B6, Y3/B7
special
input or output, internal
pull up
16,15
1, 2, 3, 4, 24, 23, 22,
21
USB differential data lines
Button inputs, active low for direct connection
mode, row and column lines for matrix mode
/CS, Din,
Dout, SCLK
Aux0, Aux1,
Aux2, Aux3
VREG
PullToGND
input or output
output, high and low
drive
O
special *
5, 6, 19, 20
7, 18, 8, 17
Connect to external A/D converter
Auxiliary outputs, capable of sinking up to 50mA
(70ma total for all combined)
11
10
Power for USB D- pull up resistor
Used during manufacturing, connect to GND
GND
Vcc
Direct
NC
power supply
power supply
input, internal pull
down
unused
9
14
Ground
Supply voltage
12
13
Pull to Vcc to enable direct connected buttons
Do not connect
V 1.1.0, July 1st 2010 for Chip Revision V1.0.4.0 and up