HT46R064B/065B/066B
·
CTRL1 Register
Bit
7
6
INTEG0
R/W
0
5
TBSEL1
R/W
0
4
TBSEL0
R/W
0
3
2
1
0
Name
R/W
INTEG1
R/W
1
WDTEN3 WDTEN2 WDTEN1 WDTEN0
R/W
1
R/W
0
R/W
1
R/W
0
POR
Bit 7, 6
INTEG1, INTEG0: External interrupt edge type
00: disable
01: rising edge trigger
10: falling edge trigger
11: dual edge trigger
Bit 5, 4
TBSEL1, TBSEL0: Time base period selection
00: 210 ´ (1/fTP
01: 211 ´ (1/fTP
10: 212 ´ (1/fTP
11: 213 ´ (1/fTP
)
)
)
)
Bit 3~0
Note:
WDTEN3, WDTEN2, WDTEN1, WDTEN0: WDT function enable
1010: WDT disabled
Other values: WDT enabled - Recommended value is 0101
If the ²watchdog timer enable² is configuration option is selected, then the watchdog timer will
always be enabled and the WDTEN3~WDTEN0 control bits will have no effect.
The WDT is only disabled when both the WDT configuration option is disabled and when bits
WDTEN3~WDTEN0=1010.
The WDT is enabled when either the WDT configuration option is enabled or when bits
WDTEN3~WDTEN0¹1010.
Wake-up Function Register - PAWK
terms of speed and power saving. Oscillator selections
and operation are selected through a combination of
configuration options and registers.
When the microcontroller enters the Sleep Mode, vari-
ous 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. This
register is used to select which Port A I/O pins are used
to have this wake-up function.
System Oscillator Overview
In addition to being the source of the main system clock
the oscillators also provide clock sources for the Watch-
dog 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.
Pull-high Registers - PAPU, PBPU, PCPU, PDPU
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.
Type
Name
Freq.
Pins
400kHz~
12MHz
OSC1/
OSC2
Software COM Register - SCOMC
External Crystal
HXT
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 cor-
rect bias voltages on these pins.
400kHz~
12MHz
External RC
ERC
OSC1
Internal High
Speed RC
HIRC 4, 8 or 12MHz
¾
External Low
Speed Crystal
OSC1/
OSC2
Oscillator
LXT
32768Hz
13kHz
Various oscillator options offer the user a wide range of
functions according to their various application require-
ments. The flexible features of the oscillator functions
ensure that the best optimisation can be achieved in
Internal Low
Speed RC
LIRC
¾
Rev. 1.00
26
April 8, 2011