ht82k96e Holtek Semiconductor Inc., ht82k96e Datasheet - Page 23

no-image

ht82k96e

Manufacturer Part Number
ht82k96e
Description
Ht82k96e -- Usb Multimedia Keyboard Encoder 8-bit Otp Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT82K96E
Quantity:
3 240
The USR (USB endpoint interrupt status register) register is used to indicate which endpoint is accessed and to select
serial bus (PS2 or USB) and A/D converter operation modes. The endpoint request flags (EP0IF, EP1IF, EP2IF and
EP3IF) are used to indicate which endpoints are accessed. If an endpoint is accessed, the related endpoint request
flag will be set to 1 and the USB interrupt will occur (if USB interrupt is enabled and the stack is not full). When the ac-
tive endpoint request flag is served, the endpoint request flag has to be cleared to 0 .
There is a system clock control register implemented to select the clock used in the MCU. This register consists of USB
clock control bit (USBCKEN), second suspend mode control bit (SUSP2) and system clock selection (SYSCLK).
Rev. 2.00
Bit No.
Bit No.
2~0
0
1
2
3
4
5
6
7
3
4
5
6
7
Led_on Period R/W
HWKUPSB
USBCKEN
FIFO-cntl
SYSCLK
ADREF
SUSP2
EP0IF
EP1IF
EP2IF
EP3IF
SUSB
Label
SPS2
Label
R/W
R/W
R/W
R/W
R/W
R/W The PS2 function is selected when this bit is set to 1 . (Default= 0 )
R/W The USB function is selected when this bit is set to 1 . (Default= 0 )
R/W
R/W
R/W
R/W
R/W Undefined, should be cleared to 0
R/W
R/W
W
When this bit is set to 1 (set by SIE), it indicates the endpoint 0 is accessed and
a USB interrupt will occur. When the interrupt has been served, this bit should be
cleared by firmware.
When this bit is set to 1 (set by SIE), it indicates the endpoint 1 is accessed and
a USB interrupt will occur. When the interrupt has been served, this bit should be
cleared by firmware.
When this bit is set to 1 (set by SIE), it indicates the endpoint 2 is accessed and
a USB interrupt will occur. When the interrupt has been served, this bit should be
cleared by firmware.
When this bit is set to 1 (set by SIE), it indicates the endpoint 3 is accessed and
a USB interrupt will occur. When the interrupt has been served, this bit should be
cleared by firmware.
The reference voltage of A/D converter is coming from the VDD and VSS of MCU
when this bit is set 1 . Otherwise, the reference voltage of A/D converter comes
from external PB6/VRL and PB7/VRH pins. (Default= 1 )
For ICE only, 0 for FIFO read (Default= 0 ); 1 for FIFO write
To define low pulse period of IRPT (PC0) for mouse hardware function.
The time base is 31.25 s (1/32kHz). Default value is 000.
000: 2 base
010: 5 base
100: 17 base
110: 65 base
USB clock control bit. When this bit is set to 1 , it indicates that the USB clock is
enabled. Otherwise, the USB clock is turned-off. (Default= 0 )
This bit is used for decreasing power consumption in suspend mode.
In normal mode clean this bit=0 (Default= 0 )
In HALT mode set this bit=1 for decreasing power consumption.
This bit is used to specify the system oscillator frequency used by MCU. If a
6MHz crystal oscillator or resonator is used, this bit should be set to 1 . If a
12MHz crystal oscillator or resonator is used, this bit should be cleared to 0 (de-
fault).
Hardware HALT mode wake-up detect circuit active under power down mode.
Low active.
wake-up MCU system.
0 : WDT timer overflow will wake-up MCU system
1 : WDT timer overflow will start hardware wake-up detect circuit but not
USR (1BH) Register
SCC (1CH) Register
23
001: 3 base
011: 9 base
101: 33 base
111: 127 base
Function
Function
October 11, 2007
HT82K96E

Related parts for ht82k96e