Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

PC87373 Datasheet(PDF) 127 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
No. de pieza PC87373
Descripción Electrónicos  LPC SuperI/O with Glue Functions
PDF  174 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  NSC [National Semiconductor (TI)]
Página de inicio  http://www.national.com
Logo NSC - National Semiconductor (TI)

PC87373 Datasheet(HTML) 127 Page - National Semiconductor (TI)

Back Button PC87373 Datasheet HTML 123Page - National Semiconductor (TI) PC87373 Datasheet HTML 124Page - National Semiconductor (TI) PC87373 Datasheet HTML 125Page - National Semiconductor (TI) PC87373 Datasheet HTML 126Page - National Semiconductor (TI) PC87373 Datasheet HTML 127Page - National Semiconductor (TI) PC87373 Datasheet HTML 128Page - National Semiconductor (TI) PC87373 Datasheet HTML 129Page - National Semiconductor (TI) PC87373 Datasheet HTML 130Page - National Semiconductor (TI) PC87373 Datasheet HTML 131Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 127 / 174 page
background image
10.0 Game Port (GMP) (Continued)
127
www.national.com
Revision 1.1
A simple push-button mechanism is typically used to implement the game device buttons. The status of each button is
sensed by the Game Port via the JOYnBTN0,1 pins as either high or low, and reflected by the GMPST register. It is the
responsibility of the software to determine the actual status of the buttons according to their polarity, which depends on the
specific implementation of the system and the game device.
10.2.4
Game Port Operation
The Game Port monitors the game device position and button status indicators by polling their status at a specific moment
via the Game Port Status register (GMPST, see Section 10.3.2).
The process of reading the position status of the game device(s) is initiated by performing a write access to the GMPST
register. This write access causes the Game Port to release the JOYnX,Y pins. When a JOYnX,Y pin is released, the cor-
responding bit in the GMPST register is set to 1. To capture the position indicated by the game device, the software should
poll the GMPST register and measure the time it takes for the JOYnX,Y to go high. This measurement should be performed
by measuring the time during which an axis bit is 1.
Reading the status of the buttons of the game device is done by polling the GMPST register and looking for changes in the
bits reflecting the status of the JOYnBTN0,1 pins.
Optional debouncers for the button status pins can be enabled by setting the DBNC_EN bit of the Game Port Configuration
register to 1. The Game Port Configuration register is located at Index F0h in the Game Port’s logical device configuration
space (see Section 3.16.2 on page 70). These debouncers can be used to ensure that the status of a button pin is reflected
by the associated GMPST bit only after that pin has been stable for at least 16 ms. If the debouncers are not enabled (de-
fault), it is the responsibility of the software to implement the debounce for the button status pins, if necessary.



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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