HT46R74D-1 Holtek Semiconductor, HT46R74D-1 Datasheet - Page 20

no-image

HT46R74D-1

Manufacturer Part Number
HT46R74D-1
Description
Dual Slope A/D Type MCU
Manufacturer
Holtek Semiconductor
Datasheet
www.DataSheet4U.com
Note: The 32768Hz oscillator enable will be logical OR function of the T132KON bit and any configuration option that
Rev. 1.10
Bit No.
Bit No.
1~2
0
1
2
3
4
5
6
7
0
3
4
5
6
7
chooses the 32768Hz oscillator. That is, the 32768Hz OSC will be enabled if any related function enables it, and
will be turned off if no function enables it.
T132KON
T0PSC0
T0PSC1
T0PSC2
Label
T0ON
Label
T1ON
T0M0
T0M1
T1M0
T1M1
T0E
T1E
T1S
To define the prescaler stages.
T0PSC2, T0PSC1, T0PSC0=
000: f
001: f
010: f
011: f
100: f
101: f
110: f
111: f
Defines the timer/event counter TMR0 pin active edge:
In the Event Counter Mode - T0M1,T0M0 = 0,1:
1:count on falling edge;
0:count on rising edge
In the Pulse Width measurement mode - T0M1,T0M0 = 1,1
1: start counting on rising edge, stop on falling edge;
0: start counting on falling edge, stop on rising edge
Enable/disable timer counting - 0=disabled; 1=enabled
Unused bit, read as 0
Operation Mode Definition bits T0M1, T0M0:
01= Event count mode - External clock
10= Timer mode - Internal clock
11= Pulse Width measurement mode - External clock
00= Unused
Defines if the 32768 Oscillator is running or not. (See Note)
0: 32768 Oscillator off if no other peripherals are using it
1: 32768 Oscillator starts to run or keeps running.
Unused bit, read as 0
Defines the timer/event counter TMR1 active edge:
In the Event Counter Mode - T1M1,T1M0=0,1:
1:count on falling edge;
0:count on rising edge
In the Pulse Width measurement mode - T1M1,T1M0=1,1:
1: start counting on rising edge, stop on falling edge;
0: start counting on falling edge, stop on rising edge
Enable/disable timer counting - 0=disabled; 1=enabled
Defines the TMR1 internal clock source - 0=f
Operation Mode Definition bits T1M1, T1M0:
01= Event count mode - External clock
10= Timer mode - Internal clock
11= Pulse Width measurement mode - External clock
00= Unused
INT
INT
INT
INT
INT
INT
INT
INT
=f
=f
=f
=f
=f
=f
=f
=f
SYS
SYS
SYS
SYS
SYS
SYS
SYS
SYS
/2
/4
/8
/16
/32
/64
/128
TMR0C (0EH) Register
TMR1C (11H) Register
20
Function
Function
SYS
/4; 1=32768Hz
HT46R74D-1
January 11, 2007

Related parts for HT46R74D-1