HT48R064G/065G/066G/0662G
Enhanced I/O Type 8-Bit OTP MCU with OPA
Wake-up Function Register - PAWK, PCWK
When the microcontroller enters the Idle/Sleep Mode, various methods exist to wake the device up and
continue with normal operation. One method is to allow a falling edge on the I/O pins to have a
wake-up function. These register are used to selected which pins on I/O Port A or Port C are used to
have this wake-up function.
Pull-high Registers - PAPU, PBPU, PCPU, PDPU, PEPU, PFPU
The I/O pins, if configured as inputs, can have internal pull-high resistors connected, which eliminates
the need for external pull-high resistors. This register selects which I/O pins are connected to internal
pull-high resistors.
Software COM Register - SCOMC
For HT48R065G, HT48R066G and HT48R0662G devices, the pins PB0~PB3 on Port B can be used
as SCOM lines to drive an external LCD panel. To implement this function, the SCOMC register is
used to setup the correct bias voltages on these pins.
Oscillator
Various oscillator options offer the user a wide range of functions according to their various
application requirements. The flexible features of the oscillator functions ensure that the best optimisation
can be achieved in terms of speed and power saving. Oscillator selections and operation are selected through a
combination of configuration options and registers.
System Oscillator Overview
In addition to being the source of the main system clock the oscillators also provide clock sources for
the Watchdog Timer and Time Base functions. External oscillators requiring some external
components as well as a two fully integrated internal oscillators, requiring no external components, are
provided to form a wide range of both fast and slow system oscillators.
Type
External Crystal
External RC
Internal High Speed RC
External Low Speed Crystal
Internal Low Speed RC
Name
HXT
ERC
HIRC
LXT
LIRC
Freq.
400kHz~12MHz
400kHz~12MHz
4, 8 or 12MHz
32768Hz
13kHz
Pins
OSC1/OSC2
OSC1
¾
OSC3/OSC4*
¾
²*² For HT48R0662G only
System Clock Configurations
There are four system oscillators implemented in this device, three high speed oscillators and one low
speed oscillator. The high speed oscillators are the external crystal/ceramic oscillator -- HXT, the
external RC oscillator -- ERC and the internal RC oscillator -- HIRC. The low speed oscillator is the
external 32.768kHz crystal oscillator -- LXT. The LXT oscillator can be used as the system oscillator
only when the HIRC oscillator is selected as the high speed system oscillator for the HT48R0662G
device. Also there is an internal 13kHz RC oscillator named LIRC oscillator used as the clock source
for the WDT function. More details are described in the accompanying sections.
Rev. 1.10
37
October 23, 2012