HT46R064D/065D/066D
Enhanced A/D Type 8-Bit OTP MCU with LED Driver
System Control Registers - CTRL0, CTRL1
These registers are used to provide control over various internal functions. Some of these include the
PFD control, PWM control, certain system clock options, the LXT Oscillator low power control,
external Interrupt edge trigger type, Watchdog Timer enable function, Time Base function division
ratio, and the LXT oscillator enable control.
CTRL0 Register - HT46R064D
Bit
Name
R/W
7
6
5
PWMSEL
R/W
4
3
PWMC0
R/W
0
2
PFDC
R/W
0
1
LXTLP
R/W
0
0
CLKMOD
R/W
¾
¾
¾
¾
¾
¾
¾
¾
¾
POR
0
0
CTRL0 Register - HT46R065D
Bit
Name
R/W
7
6
PFDCS
R/W
0
5
PWMSEL
R/W
4
3
PWMC0
R/W
0
2
PFDC
R/W
0
1
LXTLP
R/W
0
0
CLKMOD
R/W
¾
¾
¾
¾
¾
¾
POR
0
0
CTRL0 Register - HT46R066D
Bit
Name
R/W
7
6
PFDCS
R/W
0
5
PWMSEL
R/W
4
PWMC1
R/W
0
3
PWMC0
R/W
0
2
PFDC
R/W
0
1
LXTLP
R/W
0
0
CLKMOD
R/W
¾
¾
¾
POR
0
0
Bit 7
unimplemented, read as ²0²
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PFDCS: PFD clock source
0: timer0
1: timer1
PWMSEL: PWM type selection
0: 6+2
1: 7+1
PWMC1: I/O or PWM1
0: I/O
1: PWM1
PWMC0: I/O or PWM0
0: I/O
1: PWM0
PFDC: I/O or PFD
0: I/O
1: PFD
LXTLP: LXT oscillator low power control function
0: LXT Oscillator quick start-up mode
1: LXT Oscillator Low Power Mode
CLKMOD: system clock mode selection.
0: High speed - HIRC used as system clock
1: Low speed - LXT used as system clock, HIRC oscillator stopped.
These selections are only valid if the oscillator configuration options have selected the
HIRC+LXT.
Note:
If PWM0/1 output is selected by PWMC0/1 bit, fTP comes always from fSYS
(fTP is the clock source for timer0/1 , time base and PWM)
.
Rev. 1.00
24
January 12, 2011