ht82m9aee Holtek Semiconductor Inc., ht82m9aee Datasheet - Page 25

no-image

ht82m9aee

Manufacturer Part Number
ht82m9aee
Description
Ht82m9aee -- Usb Mouse Encoder 8-bit Mcu With Eeprom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
1 of USC). Once the USB Host receive the wake-up signal
from the HT82M9AEE, it will send a Resume signal to the
device. The timing is as follows:
Configuring the Device as a PS2 Device
The HT82M9AEE 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 is defined as PS2 interface,
I/O Port Special Registers Definition
Rev. 1.30
Port-A (12H)
Port-A Control (13H)
This port configure the input or output mode of Port-A
Port-B Control (14H)
Port-B Control (15H)
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
PA
PAC
PB
PBC
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
pin USBD- is now defined 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) respectively.
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 .
If SPS2=0, and SUSB=1, the HT82M9AEE is defined as
a USB interface. Both the USBD- and USBD+ are driven
by the USB SIE of the HT82M9AEE. User only writes or
reads the USB data through the corresponding FIFO.
Both SPS2 and SUSB default is 0 .
Functions
Functions
HT82M9AEE
December 11, 2007

Related parts for ht82m9aee