參數(shù)資料
型號(hào): HT86R192
廠商: Holtek Semiconductor Inc.
英文描述: Voice Synthesizer 8-Bit OTP MCU
中文描述: 語音合成器8位微控制器檢察官辦公室
文件頁數(shù): 18/44頁
文件大小: 287K
代理商: HT86R192
HT86R192
Rev. 0.00
18
October 23, 2006
Preliminary
The TMR0C is the Timer/Event Counter 0 control regis-
ter, which defines the Timer/Event Counter 0 options.
The Timer/Event Counter 1 has the same options as the
Timer/Event Counter 0 and is defined by TMR1C.
The timer/event counter control registers define the oper-
atingmode,countingenableordisableandactiveedge.
The TM0, TM1 bits define the operating mode. The
event count mode is used to count external events,
which implies that the clock source comes from an ex-
ternal (TMR0/TMR1 is connected to PC4/PC5) pin. The
timer mode functions as a normal timer with the clock
source coming from the instruction clock. The pulse
width measurement mode can be used to count the high
or low level duration of an external signal
(TMR0/TMR1). The counting method is based on the in-
struction clock.
In the event count or timer mode, once the timer/event
counter starts counting, it will count from the current
contents in the timer/event counter to FFFFH. Once an
overflow occurs, the counter is reloaded from the
timer/event counter preload register and generates a
corresponding interrupt request flag (T0F/T1F; bit 5/6 of
INTC) at the same time.
InthepulsewidthmeasurementmodewiththeTONand
TE bits equal to one, once the TMR0/TMR1 has re-
ceived a transient from low to high (or high to low; if the
TE bit is 0) it will start counting until the TMR0/TMR1 re-
turns to the original level and resets TON. The mea-
suredresultwillremaininthetimer/eventcounterevenif
the activated transient occurs again. In other words,
only one cycle measurement can be done. When TON
is set again, the cycle measurement will function again
as long as it receives further transient pulses. Note that,
in this operating mode, the timer/event counter starts
counting not according to the logic level but according to
the transient edges. In the case of counter overflows,
the counter is reloaded from the timer/event counter
preload register and issues the interrupt request just like
in the other two modes.
To enable the counting operation, the Timer ON bit
(TON; bit 4 of TMR0C/TMR1C) should be set to 1. In the
pulse width measurement mode, TON will be cleared
automatically after the measurement cycle is complete.
But in the other two modes TON can only be reset by in-
struction. The overflow of the timer/event counter is one
of the wake-up sources. No matter what the operation
mode is, writing a 0 to ET0I/ET1I can disable the corre-
sponding interrupt service.
In the case of a Timer/Event Counter OFF condition,
writing data to the timer/event counter preload register
will also reload that data to the timer/event counter. But
if the timer/event counter is turned on, data written to the
timer/event counter will only be kept in the timer/event
counter preload register. The timer/event counter will
continue to operate until an overflow occurs.
When the Timer/Event Counter (reading TMR0H/
TMR1H) is read, the clock will be blocked to avoid er-
rors. As this may result in a counting error, this must be
taken into consideration by the programmer.
Bit No.
Label
Function
0~2, 5
Unused bit, read as 0
3
TE
To define the TMR0/TMR1 active edge of Timer/Event Counter
(0=active on low to high; 1=active on high to low)
4
TON
To enable/disable timer counting (0=disabled; 1=enabled)
6
7
TM0,
TM1
To define the operating mode (TMR1, TMR0)
01=Event count mode (external clock)
10=Timer mode (internal clock)
11=Pulse width measurement mode
00=Unused
TMR0C (0EH)/TMR1C (11H) Register
Bit No.
Label
Function
0~2, 5
Unused bit, read as 0
3
TE
To define the TMR0/TMR1 active edge of Timer/Event Counter
(0=active on low to high; 1=active on high to low)
4
TON
To enable/disable timer counting (0=disabled; 1=enabled)
6
7
TM0,
TM1
To define the operating mode (TMR1, TMR0)
01=Unused
10=Timer mode (internal clock)
11=Unused
00=Unused
TMR2C (22H) Register
相關(guān)PDF資料
PDF描述
HT86R384 Voice Synthesizer 8-Bit OTP MCU
HT86XXX 8-Bit Voice Synthesizer MCU
HT8950 Voice Modulator
HT8955 Voice Echo
HT8955A Voice Echo
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT86R384 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Voice Synthesizer 8-Bit OTP MCU
HT86XXX 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Voice Synthesizer 8-Bit MCU
HT86XXX_07 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Voice Synthesizer 8-Bit MCU
HT-87 制造商:Atlas Sound 功能描述:8W Speaker Line Matching Transformer
HT-8709 KIT 制造商:UNBRANDED 功能描述:THERMO-HYGROMETER KIT