ht82m9aae Holtek Semiconductor Inc., ht82m9aae Datasheet - Page 27

no-image

ht82m9aae

Manufacturer Part Number
ht82m9aae
Description
Usb Mouse Encoder 8-bit Mcu With Eeprom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Clock Control Register - SCC
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 (SUSPEND2) and system clock selection (SCLKSEL).
Table High Byte Pointer for Current Table Read - TBHP
Options
Rev. 1.20
Bit No.
Bit No.
0~2
3~0
No.
10
3
4
5
6
7
1
2
3
4
5
6
7
8
9
PGC3~PGC0
WDT clock source: RC (system/4) (default: T1)
WDT clock source: enable/disable for normal mode (default: disable)
PA0~PA7, PB4/SDA, PB7/SCL wake-up by bit (PA2, PA3 both wake-up by falling or rising edge)
(default: non wake-up)
PA0~PA7 pull-high by bit (default: pull-high)
PB pull-high by bit (default: pull-high)
LVR enable/disable (default: enable)
PA0~PA3, PB2, PB3 pull-low by bit (default: non pull-low 30kW)
²CLR WDT², 1 or 2 instructions
TBHP enable/disable (default: disable)
PA output mode (CMOS/NMOS/PMOS) by bit (default: CMOS)
PF0~PF2
Label
Label
PF3
PF4
PF5
PF6
PF7
Read/Write
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
SUSPEND2
USBCKEN
SCLKSEL
PS2_flag
Option
Option
¾
¾
¾
TBHP (0X1F) Register
SCC (0X1C) Register
Reserved, must set to ²0².
USB clock control bit. When set to ²1², indicates a USBCK ON,
else USBCK OFF. The default value is ²0².
This bit is used to reduce power consumption in the suspend
mode. In the normal mode this bit must be cleared to zero(De-
fault=²0²). In the HALT mode this bit should be set high to re-
duce power consumption and LVR with no function. In the USB
mode this bit cannot be set high.
Reserved, must set to ²0².
System clock 6MHz or 12MHz option, when working on exter-
nal oscillator mode. The default value is ²0².
0: Operating at external 12MHz mode
1: Operating at external 6MHz mode
The default value is ²0².
This flag is used to show that the MCU is in PS2 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².
Store current table read bit11~bit8 data
27
Option
HT82M9AEE/HT82M9AAE
Functions
Functions
August 13, 2007

Related parts for ht82m9aae