參數(shù)資料
型號: VT8231
廠商: Electronic Theatre Controls, Inc.
元件分類: 晶體
英文描述: CRYSTAL 8.00MHZ 18PF SMD
中文描述: 南橋伏特,PC99柔順
文件頁數(shù): 49/132頁
文件大?。?/td> 1210K
代理商: VT8231
VT8231
Preliminary Revision 0.8
October 29, 1999
-
43-
Register Descriptions - Legacy I/O Ports
7HFKQRORJLHV,QF
:H &RQQHFW
Port 64 - Keyboard / Mouse Command ......................... WO
This port is used to send commands to the keyboard / mouse
controller. The command codes recognized by the VT8231
are listed n the table below.
Note: The VT8231 Keyboard Controller is compatible with
the VIA VT82C42 Industry-Standard Keyboard Controller
except that due to its integrated nature, many of the input and
output port pins are not available externally for use as general
purpose I/O pins (even though P13-P16 are set on power-up as
strapping options). In other words, many of the commands
below are provided and
work
, but otherwise perform no
useful function (e.g., commands that set P12-P17 high or low).
Also note that setting P10-11, P22-23, P26-27, and T0-1 high
or low directly serves no useful purpose, since these bits are
used to implement the keyboard and mouse ports and are
directly controlled by keyboard controller logic.
Table 4. Keyboard Controller Command Codes
Code
20h
21-3Fh
60h
61-7Fh
Keyboard Command Code Description
Read Control Byte (next byte is Control Byte)
Read SRAM Data (next byte is Data Byte)
Write Control Byte (next byte is Control Byte)
Write SRAM Data (next byte is Data Byte)
9xh
A1h
A4h
Write low nibble (bits 0-3) to P10-P13
Output Keyboard Controller Version #
Test if Password is installed
(always returns F1h to indicate not installed)
Disable Mouse Interface
Enable Mouse Interface
Mouse Interface Test (puts test results in port 60h)
(value: 0=OK, 1=clk stuck low, 2=clk stuck high,
3=data stuck lo, 4=data stuck hi, FF=general error)
KBC self test (returns 55h if OK, FCh if not)
Keyboard Interface Test (see A9h Mouse Test)
Disable Keyboard Interface
Enable Keyboard Interface
Return Version #
A7h
A8h
A9h
AAh
ABh
ADh
AEh
AFh
B0h
B1h
B2h
B3h
B4h
B5h
B6h
B7h
B8h
B9h
BAh
BBh
BCh
BDh
BEh
BFh
Set P10 low
Set P11 low
Set P12 low
Set P13 low
Set P22 low
Set P23 low
Set P14 low
Set P15 low
Set P10 high
Set P11 high
Set P12 high
Set P13 high
Set P22 high
Set P23 high
Set P14 high
Set P15 high
Code
C0h
Keyboard Command Code Description
Read input port (read P10-17 input data to
the output buffer)
Poll input port low (read input data on P11-13
repeatably & put in bits 5-7 of status
Poll input port high (same except P15-17)
C1h
C2h
C8h
Unblock P22-23 (use before D1 to change
active mode)
Reblock P22-23 (protection mechanism for D1)
C9h
CAh
Read mode (output KBC mode info to port 60
output buffer (bit-0=0 if ISA, 1 if PS/2)
D0h
Read Output Port (copy P10-17 output port values
to port 60)
Write Output Port (data byte following is written to
keyboard output port as if it came from keyboard)
Write Keyboard Output Buffer & clear status bit-5
(write following byte to keyboard)
Write Mouse Output Buffer & set status bit-5 (write
following byte to mouse; put value in mouse input
buffer so it appears to have come from the mouse)
Write Mouse (write following byte to mouse)
D1h
D2h
D3h
D4h
E0h
Exh
Fxh
Read test inputs (T0-1 read to bits 0-1 of resp byte)
Set P23-P21 per command bits 3-1
Pulse P23-P20 low for 6usec per command bits 3-0
All other codes not listed are undefined.
相關(guān)PDF資料
PDF描述
VT82885(24DIP) Real-Time Clock
VT82885(28PLCC) Real-Time Clock
VT82887 Real-Time Clock
VT82885 Real Time Clock
VT82C42 VT82C42 Keyboard Controller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
VT82885 制造商:未知廠家 制造商全稱:未知廠家 功能描述:electrical characteristics, bus timing and pin descriptions follows.
VT82885(24DIP) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Real-Time Clock
VT82885(28PLCC) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Real-Time Clock
VT82887 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Real Time Clock
VT82A192 制造商:未知廠家 制造商全稱:未知廠家 功能描述: