
HT49R50
29
October 22, 1999
Options
The following shows 18 kinds of optionss in the HT49R50. All these options should be defined in or-
der to ensure proper system functioning.
Register Bit No. Label Read/Write Reset
Function
RTCC
(09H)
0~2
RT0
RT1
RT2
R/W
0
8 to 1 multiplexer control inputs to select the
real time clock prescaler output
3
Unused bits, this bit must clear to "0"
4
QOSC
R/W
0
Control the RTC OSC to oscillate quickly
"0" enable
"1" disable
5~7
Unused bits, read as "0"
RTCC register
No.
Options
1
OSC type selection. This option is to decide if an RC or Crystal oscillator is chosen as sys-
tem clock.
2
WDT Clock source selection. RTC and Time Base. There are three types of selection: sys-
tem clock/4 or RTC OSC or WDT OSC.
3
WDT enable/disable selection. WDT can be enabled or disabled by options.
4
CLR WDT times selection. This option defines how to clear the WDT by instruction. "One
time" means that the "CLR WDT" can clear the WDT. "Two times" means only if both of
the "CLR WDT1" and "CLR WDT2" have been executed, the WDT can be cleared.
5
Time Base time-out period selection. The Time Base time-out period ranges from
clock/2
12
to clock/2
15
"Clock" means the clock source selected by options.
6
Buzzer output frequency selection. There are eight types of frequency signals for buzzer
output: Clock/2
2
~Clock/2
9
. "Clock" means the clock source selected by options.
7
Wake-up selection. This option defines the wake-up capability. External I/O pins (PA
only) all have the capability to wake-up the chip from a HALT by a falling edge.
8
Pull-high selection. This option is to decide whether the pull-high resistance is visible or
not on the PA0~PA3 and PC. (PB and PA4~PA7 are always pull-high)
9
PA0~PA3 and PC0~PC3 CMOS or NMOS selection.
The structure of PA0~PA3 and PC0~PC3 each 4 bits can be selected as CMOS or NMOS
individually. When the CMOS is selected, the related pins only can be used for output op-
erations. When the NMOS is selected, the related pins can be used for input or output op-
erations. (PA4~PA7 are always NMOS)