HT82M9BAE HOLTEK [Holtek Semiconductor Inc], HT82M9BAE Datasheet - Page 24

no-image

HT82M9BAE

Manufacturer Part Number
HT82M9BAE
Description
USB Mouse Encoder 8-Bit MCU with EEPROM
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
from the HT82M9BEE/HT82M9BAE, it will send a Re-
sume signal to the device. The timing is as follows:
To Configure the HT82M9BEE/HT82M9BAE as PS2
Device
The HT82M9BEE/HT82M9BAE 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 HT82M9BEE/HT82M9BAE
I/O Port Special Registers Definition
Rev. 1.20
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
24
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 B E E /
HT82M9BAE is defined as a USB interface. Both the
USBD- and USBD+ are driven by the USB SIE of the
HT82M9BEE/HT82M9BAE. User only writes or reads
the USB data through the corresponding FIFO.
Both SPS2 and SUSB default is 0 .
HT82M9BEE/HT82M9BAE
Functions
Functions
August 13, 2007

Related parts for HT82M9BAE