| 数据搜索系统,热门电子元器件搜索 |
|
PC87373 数据表(PDF) 126 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87373 数据表(HTML) 126 Page - National Semiconductor (TI) |
|
126 / 174 page ![]() 10.0 Game Port (GMP) (Continued) 126 www.national.com Revision 1.1 The varying resistors RVX and RVY are typically implemented in the game device. Their resistance values are determined directly by the horizontal and vertical positions, respectively, indicated by the game device. The waveform shaping circuits are typically implemented outside the game device using constant resistors (RCX/Y) and constant capacitors (CX/Y). Togeth- er with RVX/Y, these components implement two R-C structures, the varying parameters of which are used to determine the exact position, at any specific moment, indicated by the game device. When the Game Port is enabled but not in the process of reading a game device position, it drives the JOYnX,Y pins low. In this state, the capacitors CX/Y are completely discharged. 10.2.2 Capturing the Position The process of capturing the position indicated by the game device is initiated by a command written to the Game Port to release the JOYnX,Y lines, thus allowing the capacitors CX/Y to be charged. This command is given by performing a write access to the Game Port Status Register (GMPST; see Section 10.3.2). Once the JOYnX,Y pins are released, RCX/Y and RVX/Y start charging CX/Y, and the voltage level of the JOYnX,Y pins increases until it reaches VIH. This process is shown in Figure 36. Figure 36. Position Reading Process Waveform (not to scale) The vertical and horizontal positions indicated by the game device are determined by measuring the time it takes for the voltage level on the JOYnX,Y pins to reach the level of logic 1. Since the charging time is determined by the resistance val- ues of RVX/Y, measuring this time actually indicates the resistance values of RVX/Y, and therefore also reflects the position indicated by the game device. Once an axis pin is sensed as logic 1, the axis circuit discharge control is activated to discharge CX/Y. This causes the cor- responding axis pin to be driven low for approximately 1.5 µs. After that, this axis line is held low until another position read- ing process is initiated. During the charge time and the 1.5 µs discharge time that follows, the corresponding axis line does not respond to any status reading process initiation. This prevents software from disturbing the position reading process and makes the position read- ing processes of all axis lines independent of each other. 10.2.3 Button Status Indication The button status indication mechanism is shown in Figure 37. Although this figure shows an active-low button (RBU0>>RBD0), the polarity of the button can be either high or low, assuming that the Game Port software is aware of the button’s polarity. Figure 37. Game Device Button Status Indication Mechanism Time VCX/Y [V] VDD 0 VIH Time measured as position indication Discharge Charge Idle Idle Drive Low Release Drive Low RBU0 Game Port JOYnBTN0 JOYnBTN1 Game Device Button Status Circuit Pins Buttons 0,1 Status Indicators Input Path RBD0 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |