ht82m99ee Holtek Semiconductor Inc., ht82m99ee Datasheet - Page 24

no-image

ht82m99ee

Manufacturer Part Number
ht82m99ee
Description
Ht82m99ee/ht82m99ae -- Usb Mouse Encoder 8-bit Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
The device with remote wake-up function can wake-up
the USB Host by sending a wake-up pulse through
RMWK (bit 1 of USC). Once the USB Host receive the
wake-up signal from the HT82M99EE/HT82M99AE, it
will send a Resume signal to the device. The timing is as
follows:
To Configure the HT82M99EE/HT82M99AE as
PS2 Device
The HT82M99EE/HT82M99AE can be defined as a
USB interface or a PS2 interface by configuring the
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~1,
5~6
2~3
4~6
2~3
0
1
7
4
7
PB0~PB1,
PB5~PB6
PA2~PA3
PA4~PA6
PB2~PB3
Label
Label
PA0
PA1
PA7
PB4
PB7
PA
PAC
PB
PBC
Read/Write
Read/Write
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 ROM code option.
Has falling edge wake-up ROM code option.
I/O (R/W) has pull-low and pull-high option.
Has falling edge wake-up option.
I/O (R/W) has pull-low and pull-high option.
Has falling edge and rising 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.
Reserved bit.
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 and has wake-up capability.
24
SPS2 (bit 4 of the USR) and SUSB (bit 5 of the USR). If
SPS2=1, and SUSB=0, the HT82M99EE/HT82M99AE
is defined as PS2 interface, 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) 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 9 E E /
HT82M99AE is defined as a USB interface. Both the
USBD- and USBD+ are driven by the USB SIE of the
HT82M99EE/HT82M99AE. User only writes or reads
the USB data through the corresponding FIFO.
Both SPS2 and SUSB default is 0 .
HT82M99EE/HT82M99AE
Functions
Functions
August 13, 2007

Related parts for ht82m99ee