ht82m9aae Holtek Semiconductor Inc., ht82m9aae Datasheet - Page 25

no-image

ht82m9aae

Manufacturer Part Number
ht82m9aae
Description
Usb Mouse Encoder 8-bit Mcu With Eeprom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
from the HT82M9AEE/HT82M9AAE, it will send a Re-
sume signal to the device. The timing is as follows:
Configuring the Device as a PS2 Device
The HT82M9AEE/HT82M9AAE can be defined as a
USB interface or a PS2 interface by configuring the
SPS2 (bit 4 of the USR) and SUSB (bit 5 of the USR). If
SPS2=1, and SUSB=0, the HT82M9AEE/HT82M9AAE
is defined as PS2 interface, pin USBD- is now defined
I/O Port Special Registers Definition
·
·
·
·
Rev. 1.20
Port-A (12H) - PA
Port-A Control (13H) - PAC
This port configure the input or output mode of Port-A
Port-B Control (14H) - PB
Port-B Control (15H) - PBC
This port configures the input or output mode of Port-B for I/O mode
Bit No.
Bit No.
0~3
4~6
7
0
1
2
3
4
5
6
7
PA0~PA3
PA4~PA6
PB4/SDA
PB7/SCL
Label
Label
PA7
PB0
PB1
PB2
PB3
PB5
PB6
Read/Write
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Option
Option
¾
¾
¾
¾
¾
¾
¾
¾
¾
¾
¾
PB (14H) Register
PA (12H) Register
I/O (R/W) has pull-low and pull-high option.
Has falling edge wake-up option.
I/O (R/W) has pull-high option.
Has falling edge wake-up option.
I/O (R/W) has pull-high option.
Has falling edge wake-up option, pin-shared with timer input pin.
I/O (R/W), has pull-high option
I/O (R/W), has pull-high option
I/O (R/W), has pull-low and pull-high option
I/O (R/W), has pull-low and pull-high option
I/O (R/W), has pull-high option, can wake-up
I/O (R/W), has pull-high option
I/O (R/W), has pull-high option
I/O (R/W), has pull-high option, can wake-up
25
as PS2 Data pin and USBD+ is now defined as PS2 Clk
pin. The user can easily read or write to the PS2 Data or
PS2 Clk pin by accessing the corresponding bit PS2DAI
(bit 4 of the USC), PS2CKI (bit 5 of the USC), PS2DAO
(bit 6 of the USC) and S2CKO (bit 7 of the USC) respec-
tively.
The user should make sure that in order to read the data
properly, the corresponding output bit must be set to ²1².
For example, if user wants to read the PS2 Data by
reading PS2DAI, the PS2DAO should be set to ²1². Oth-
erwise it always read a ²0².
I f S P S 2 = 0 , a n d S U S B = 1 , t h e H T 8 2 M 9 A E E /
HT82M9AAE is defined as a USB interface. Both the
USBD- and USBD+ are driven by the USB SIE of the
HT82M9AEE/HT82M9AAE. User only writes or reads
the USB data through the corresponding FIFO.
Both SPS2 and SUSB default is ²0².
HT82M9AEE/HT82M9AAE
Functions
Functions
August 13, 2007

Related parts for ht82m9aae