Electronic Components Datasheet Search
  English  ▼

X  

PC87392 Datasheet(PDF) 87 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # PC87392
Description  100-Pin LPC SuperI/O Devices for Portable Applications
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

PC87392 Datasheet(HTML) 87 Page - National Semiconductor (TI)

Back Button PC87392 Datasheet HTML 83Page - National Semiconductor (TI) PC87392 Datasheet HTML 84Page - National Semiconductor (TI) PC87392 Datasheet HTML 85Page - National Semiconductor (TI) PC87392 Datasheet HTML 86Page - National Semiconductor (TI) PC87392 Datasheet HTML 87Page - National Semiconductor (TI) PC87392 Datasheet HTML 88Page - National Semiconductor (TI) PC87392 Datasheet HTML 89Page - National Semiconductor (TI) PC87392 Datasheet HTML 90Page - National Semiconductor (TI) PC87392 Datasheet HTML 91Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 87 / 148 page
background image
5.0 Game Port (GMP) (Continued)
87
www.national.com
5.2.5
Operation Control
When the Game Port is operated in Legacy mode, it can only be operated by polling (see Section 5.2.4,
Legacy Mode).
When the Game Port is operated in Enhanced mode, both kinds of status reading operations (position and button) can be
performed using polling or interrupt controlled operation.
If polling controlled operation is preferred, the software should poll either the GMPLST register for the direct status of the
buttons as in Legacy mode, or the GMPXST register which provides indications regarding button events detected by hard-
ware. The GMPXST register should also be polled for the status of the position counters. When the status is ready, the
counter values can be read. These values reflect the positions indicated by the game device.
If interrupt controlled operation is preferred, the software should first define the events on which an interrupt request is to be
issued. This is done by writing the required values to the GMPEPOL (see Section 5.3.14) and GMPIEN (see Section 5.3.5)
registers. The GMPEPOL register defines the events on which the buttons cause an interrupt request to be issued. These
events are all edge-triggered. The GMPIEN register determines what events are physically routed to the interrupt request
assigned to the Game Port. An independent interrupt enable bit is implemented in the GMPIEN register for each one of the
four buttons and two position counters of the two supported game devices.
5.3
GAME PORT REGISTERS
The following abbreviations are used to indicate the Register Type:
q
R/W = Read/Write
q
R = Read from a specific address returns the value of a specific register. Write to the same address is to a different
register.
q
W=Write
q
RO = Read Only
q
R/W1C = Read/Write 1 to Clear. Writing 1 to a bit clears it to 0. Writing 0 has no effect.
5.3.1
Game Port Register Map
The following table lists the Game Port registers. for the Game Port register bitmap, see Section 5.4.
Offset
Mnemonic
Register Name
Type
Section
00h
GMPCTL Game Port Control
R/W
5.3.2
01h
GMPLST
Game Port Legacy Status
RO
5.3.3
02h
GMPXST Game Port Extended Status
R/W1C
5.3.4
03h
GMPIEN
Game Port Interrupt Enable
R/W
5.3.5
04h
GMPAXL
Game Device A X Position Low Byte
RO
5.3.6
05h
GMPAXH Game Device A X Position High Byte
RO
5.3.7
06h
GMPAYL
Game Device A Y Position Low Byte
RO
5.3.8
07h
GMPAYH
Game Device A Y Position High Byte
RO
5.3.9
08h
GMPBXL Game Device B X Position Low Byte
RO
5.3.10
09h
GMPBXH Game Device B X Position High Byte
RO
5.3.11
0Ah
GMPBYL Game Device B Y Position Low Byte
RO
5.3.12
0Bh
GMPBYH Game Device B Y Position High Byte
RO
5.3.13
0Ch
GMPEPOL Game Port Event Polarity
R/W
5.3.14



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com