1995 Microchip Technology Inc.
DS40103C-page 5
MTA41110
2.1.10
RESET WRAP MODE
CODE: ECH
This command cancels Wrap Mode.
The controller
remains in the current Reporting Mode. Note, if the
controller enters Wrap Mode while in Stream Mode and
then a Reset Wrap Mode command is received, the
controller will reenter the Stream Mode with Wrap
Mode disabled.
2.1.11
READ DATA
CODE: EBH
The controller will transmit an event packet to the host
after a read data command is received. This command
can be issued in either the Remote or Stream Modes.
The controller will transmit data even if there has not
been any button changes or motion since the last
report. The controller clears the motion counters after
ever read data command.
2.1.12
SET STREAM MODE
CODE: EAH
The controller will enter the Stream Mode upon
receiving this command.
In Stream Mode, event
packets are transmitted to the host as they occur.
2.1.13
STATUS REQUEST
CODE: E9H
A three byte status report packet will be transmitted in
response to this command. These status bytes are
defined as follows:
Byte 2: Current Resolution
Byte 3: Current Sample Rate
2.1.14
SET RESOLUTION
CODE: E8H, XXH
The controller provides four resolutions selected by the
second byte of this command. The effective resolution
is the physical device resolution divided by the divisor
indicated below.
Byte 1:
Bit
Description
0
1 = Secondary Button Depressed
1
Reserved
2
1 = Primary Button Depressed
3
Reserved
4
1 = 2:1 Scaling
5
1 = Enabled
6
1 = Remote Mode
7
Reserved
Second Byte
Description
0
divide by 8
1
divide by 4
2
divide by 2
3
divide by 1
2.1.15
SET SCALING
CODE: E7H
This command has no effect on resolution and only
exists to ensure compatibility.
2.1.16
RESET SCALING
CODE: E6H
This command resets the scaling to 1:1 (input count
equals reported count).
2.2
PS/2 Message Data Format
The following PS/2 compliant data format is used by
the MTA41110 when transmitting data to the host and
when receiving data from the host. The data format
utilizes an 11-bit data frame that utilizes 8-bits for
message data and 3-bits for control.
The
MTA41110
mouse
controller
transmits
the
following three byte data packet in response to a Read
Data (EBh) command or when operating in Stream
Mode with reporting enabled.
Status Message Data Byte 2:
Delta X motion
Status Message Data Byte 3:
Delta Y motion
Data Frame Format:
Bit
Description
1
Start Bit (always 0)
2
Message Data Bit0 , LSB
3
Message Data Bit1
4
Message Data Bit2
5
Message Data Bit3
6
Message Data Bit4
7
Message Data Bit5
8
Message Data Bit6
9
Message Data Bit7 , MSB
10
Parity Bit (odd parity)
11
Stop bit (always 1)
Status Message Data Byte 1:
Bit
Description
0
1 = Primary Button Depressed
1
1 = Secondary Button Depressed
2
Reserved
3
Reserved
4
X data sign, 1 = negative
5
Y data sign, 1 = negative
6
X data overflow, 1 = overflow
7
Y data overflow, 1 = overflow