HT82M99E-18 HOLTEK [Holtek Semiconductor Inc], HT82M99E-18 Datasheet - Page 20

no-image

HT82M99E-18

Manufacturer Part Number
HT82M99E-18
Description
USB Mouse Encoder 8-Bit OTP MCU
Manufacturer
HOLTEK [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 HT8M99E, it will send a Re-
sume signal to the device. The timing is as follows:
To Configure the HT8M99E as PS2 Device
The HT8M99E can be defined as a USB interface or a
PS2 interface by configuring the SPS2 (bit 4 of the USR)
I/O Port Special Registers Definition
Rev. 1.50
Register Bits
Register Bits
Port-A (12H)
Port-A Control (13H)
This port configure the input or output mode of Port-A
Port-B Control (14H)
(12H)
(14H)
PA
PB
0~1 PB0~PB1
5~6 PB5~PB6
0
1
2
3
4
5
6
7
2
3
4
7
PA
Labels
Labels
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PB2
PB3
PB4
PB7
PAC
PB
Read/Write Option
Read/Write Option
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
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-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.
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, ADC input.
I/O (R/W), has pull-low and pull-high option, ADC input.
I/O (R/W), has pull-high option, can wake-up, ADC input.
Reserved bit.
I/O (R/W), has pull-high option, ADC input, VRH input for ADC ex-
ternal mode, has wake-up capability.
20
and SUSB (bit 5 of the USR). If SPS2=1, and SUSB=0,
the HT8M99E is defined as PS2 interface, pin USBD- is
now defined as PS2 Data pin and USBD+ is now de-
fined as PS2 Clk pin. The user can easily read or write to
the PS2 Data or PS2 Clk pin by accessing the corre-
sponding 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 HT8M99E is defined as a
USB interface. Both the USBD- and USBD+ are driven
by the USB SIE of the HT8M99E. User only writes or
reads the USB data through the corresponding FIFO.
Both SPS2 and SUSB default is 0 .
Functions
Functions
November 19, 2004
HT82M99E

Related parts for HT82M99E-18