Specifications

46 SAM0025A-062397 ESS Technology, Inc.
ES1879 DATA SHEET
I/O PORTS
PRELIMINARY
Joystick Device
The joystick device uses only a single I/O port. The device
can function in one of two modes: Analog mode or Digital
mode. The use of this I/O port is different depending on the
mode. This section describes Analog mode. Digital mode
is described in the MPU-401/Joystick Interface section.
Joystick_Base+0h (W)
Any value written to the Joystick_Base+0h port will restart
the timing sequence. This should be done before reading
the timer status flags.
Joystick_Base+0h (R)
SW(A-D) return the current state of the joystick switch
inputs. T(A-D) return the current state of the four one-shot
timers connected to the X and Y resistors of the dual
joysticks.
xxxxxxxx
76543210
SWD SWC SWB SWA TD TC TB TA
76543210