HT48RA0A
Rev. 1.70
10
July 16, 2003
Code Option
The following table shows eight kinds of code option in the HT48RA0A. All the code options must be defined to ensure
proper system functioning.
No.
Code Option
1
WDT time-out period selection
Time-out period=
Clock Source
2
n
where n=8~11.
2
WDT enable/disable selection. This option is to decide whether the WDT timer is enabled or disabled.
3
CLR WDT times selection. This option defines how to clear the WDT by instruction. One time means that the
CLR WDT instruction can clear the WDT. Two times means only if both of the CLR WDT1 and CLR WDT2 in-
structions have been executed, the WDT can be cleared.
4
Wake-up selection. This option defines the wake-up activity function. External input pins (PB only) all have the
capability to wake-up the chip from a HALT.
5
Carrier/level output selection. This option defines the activity of PC0 to be carrier output or level output.
6
Carry frequency selection.
Carry frequency=Clock Source
(2 or 3) 2
where n=0~3.
7
Carrier duty selection. There are two types of selection: 1/2 duty or 1/3 duty.
If carrier frequency=Clock Source /(2, 4, 8 or 16), the duty cycle will be 1/2 duty.
If carrier frequency=Clock Source /3, the duty cycle will be 1/3 duty.
If carrier frequency=Clock Source /(6, 12 or 24), the duty cycle can be 1/2 duty or 1/3 duty.
8
OSCtypeselection.ThisoptionistodecideifanRCorCrystaloscillatorischosenassystemclock.IftheCrys-
taloscillatorisselected,theXST(CrystalStart-upTimer)defaultisactivated,otherwisetheXSTisdisabled.
-
.
-
# #
/
$
"
"
#
# #
/
#
'
' 0 ( 1 ' 0 2
' 3 ( 1 ' 3
!
/
#
' 3 ( 1 ' 3
PA, PB Input/output lines
"
#
# #
!
'
' 3
1 ' 3 2
# #
/
#
PB input lines