English
Language : 

PC87391 Datasheet, PDF (90/148 Pages) National Semiconductor (TI) – 100-Pin LPC SuperI/O Devices for Portable Applications
5.0 Game Port (GMP) (Continued)
5.3.4 Game Port Extended Status Register (GMPXST)
This register indicates which of the corresponding game device interface events have occurred. Writing 1 to a bit clears it.
Reading a position counter clears the corresponding Counter Ready bit. Writing to a bit 0 has no effect.
This register is functional only in Enhanced mode.
Location: Offset 02h
Type:
R/W1C
Bit
Name
Reset
7
Device B
Button 1
Event
Status
0
6
Device B
Button 0
Event
Status
0
5
Device A
Button 1
Event
Status
0
4
Device A
Button 0
Event
Status
0
3
2
1
0
Device B
Y-Position
Counter
Ready
Device B
X-Position
Counter
Ready
Device A
Y-Position
Counter
Ready
Device A
X-Position
Counter
Ready
0
0
0
0
Bit
Description
7 Device B Button 1 Event Status. When set to 1, it indicates that a Device B Button 1 event has occurred. The
event itself is defined by the GMPEPOL register, see Section 5.3.14.
0: Event not active (default)
1: Event active
6 Device B Button 0 Event Status. When set to 1, it indicates that a Device B Button 0 event has occurred. The
event itself is defined by the GMPEPOL register, see Section 5.3.14.
0: Event not active (default)
1: Event active
5 Device A Button 1 Event Status. When set to 1, it indicates that a Device A Button 1 event has occurred. The
event itself is defined by the GMPEPOL register, see Section 5.3.14.
0: Event not active (default)
1: Event active
4 Device A Button 0 Event Status. When set to 1, it indicates that a Device A Button 0 event has occurred. The
event itself is defined by the GMPEPOL register, see Section 5.3.14.
0: Event not active (default)
1: Event active
3 Device B Y-Position Counter Ready. When set to 1, it indicates that the value of the Y-position counter of
Device B can now be read.
0: Event not active (default)
1: Event active
2 Device B X-Position Counter Ready. When set to 1, it indicates that value of the X-position counter of Device
B can now be read.
0: Event not active (default)
1: Event active
1 Device A X-Position Counter Ready. When set to 1, it indicates that the value of the Y-position counter of
Device A can now be read.
0: Event not active (default)
1: Event active
0 Device A X-Position Counter Ready. When set to 1, it indicates that the value of the X-position counter of
Device A can now be read.
0: Event not active (default)
1: Event active
www.national.com
90