ht82m9aae Holtek Semiconductor Inc., ht82m9aae Datasheet - Page 26

no-image

ht82m9aae

Manufacturer Part Number
ht82m9aae
Description
Usb Mouse Encoder 8-bit Mcu With Eeprom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
USB/PS2 Status and Control Register - USC
Endpoint Interrupt Status Register - USR
The USR (USB endpoint interrupt status register) register is used to indicate which endpoint is accessed and to select
the serial bus (PS2 or USB). The endpoint request flags (EP0IF, EP1IF, EP2IF) are used to indicate which endpoints
are accessed. If an endpoint is accessed, the related endpoint request flag will be set to ²1² and a USB interrupt will oc-
cur (If a USB interrupt is enabled and the stack is not full). When the active endpoint request flag is served, the endpoint
request flag has to be cleared to ²0².
Rev. 1.20
Bit No.
Bit No.
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
Label
Label
PEC0
PEC1
PEC2
PEC3
PEC4
PEC5
PEC6
PEC7
PE0
PE1
PE2
PE3
PE4
PE5
PE6
PE7
Read/Write
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
W
W
R
R
R
R
URST_FLAG USB bus reset event flag. The default value is ²0².
RESUME_O
RMOT_WK USB remote wake-up signal. The default value is ²0².
SUSPEND
PS2_DAO
PS2_CKO
PS2_DAI
PS2_CKI
USB_flag
SELUSB
SELPS2
Option
Option
EP0IF
EP1IF
EP2IF
¾
¾
USC (0X1A) Register
USR (0X1B) Register
USB suspend mode status bit. When 1, indicates that the USB
system entry is in suspend mode.
When RESUME_OUT EVENT, RESUME_O is set to ²1².
The default value is ²0².
USBD-/DATA input
USBD+/CLK input
Output for driving USBD-/DATA pin, when working under 3D
PS2 mouse function. The default value is ²1².
Output for driving USBD-/DATA pin, when working under 3D
PS2 mouse function. The default value is ²1².
When set to ²1², indicates an endpoint 0 interrupt event. Must
wait for the MCU to process the interrupt event and clear this
bit by firmware. This bit must be ²0², then the next interrupt
event will be processed. The default value is ²0².
Reserved bit, set to ²0²
When set to ²1², indicates that the chip is working under PS2
mode. The default value is ²0².
When set to ²1², indicates that the chip is working under USB
mode. The default value is ²0².
Reserved bit, set to ²0²
This flag is used to show that the MCU is in USB mode (Bit=1).
This bit is R/W by FW and will be cleared to zero after power-on
reset. The default value is ²0².
26
HT82M9AEE/HT82M9AAE
Functions
Functions
August 13, 2007

Related parts for ht82m9aae