參數(shù)資料
型號(hào): HT95A30P
廠商: Holtek Semiconductor Inc.
英文描述: 8-Bit LCD Type Phone Controller MCU
中文描述: 8位LCD型電話MCU控制器
文件頁(yè)數(shù): 16/42頁(yè)
文件大小: 768K
代理商: HT95A30P
HT95L100/10P
Rev. 0.10
16
October 1, 2002
Preliminary
Timer/Event Counter
Two timer/event counters (TMR0, TMR1) are imple-
mented in the telephone controller series. The
Timer/Event Counter 0 and Timer/Event Counter 1 con-
tain 16-bits programmable count-up counter and the
clock may come from an external source or internal
source. For TMR0 internal source is instruction clock
(systemclock/4).ForTMR1internalsourceis32768Hz.
Using the 32768Hz clock or instruction clock, there is
only one reference time-base. The external clock input
allows the user to count external events, measure time
intervals or pulse width, or generate an accurate time
base.
There are 3 registers related to Timer/Event Counter 0;
TMR0H, TMR0L, TMR0C. Writing TMR0L only writes
the data into a low byte buffer, but writing TMR0H simul-
taneously writes the data along with the contents of the
low byte buffer into the Timer/Event Counter 0 preload
register (16-bit). The Timer/Event Counter 0 preload
register is changed by writing TMR0H operations. Writ-
ing TMR0L will keep the Timer/Event Counter 0 preload
register unchanged.
Reading TMR0H latches the TMR0L into the low byte
buffer to avoid a false timing problem. Reading TMR0L
returns the contents of the low byte buffer. In other
words, the low byte of the Timer/Event Counter 0 can
not be read directly. It must read the TMR0H first to
make the low byte contents of Timer/Event Counter 0 be
latched into the buffer.
There are 3 registers related to the Timer/Event Counter
1; TMR1H, TMR1L, TMR1C. The Timer/Event Counter
1 operates in the same manner as the Timer/Event
Counter 0.
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
%
6
%
7
%
4
" 3
"
4
6 7 #
"
" % 6
4
"
6 #
" % 6
" <
4
#
! 4 /
"
" % B "
" 4
5 " &
" 4
5 6 + (
" B " . $ - ' ) 1 2
/ " <
" <
! !
Timer/Event Counter 0/1
Register
Label
Bits
R/W
Function
TMR0C
(0EH)
TMR1C
(11H)
0~2
RO
Unused bit, read as 0
TE
3
RW
To define the TMR0/TMR1 active edge of timer
For event count or Timer mode
(0=active on low to high; 1=active on high to low)
For pulse width measurement mode
(0=measures low pulse width; 1=measures high pulse width)
TON
4
RW
To enable/disable timer counting (0=disabled; 1=enabled)
5
RO
Unused bit, read as 0
TM0
TM1
6
7
RW
To define the operating mode
Bit 7, 6=01, Event count mode (external clock)
Bit 7, 6=10, Timer mode
Bit 7, 6=11, Pulse width measurement mode
Bit 7, 6=00, Unused
Register
Bits
R/W
Function
TMR0H (0CH)
0~7
RW
Timer/Event Counter 0 higher-order byte register
TMR0L (0DH)
0~7
RW
Timer/Event Counter 0 lower-order byte register
TMR1H (0FH)
0~7
RW
Timer/Event Counter 1 higher-order byte register
TMR1L (10H)
0~7
RW
Timer/Event Counter 1 lower-order byte register
相關(guān)PDF資料
PDF描述
HT95L300 8-Bit LCD Type Phone Controller MCU
HT95A20P 8-Bit LCD Type Phone Controller MCU
HT95L300-100QEP-A LCD Type Phone 8-Bit MCU
HT95A400 Time-Delay Relay; Mounting Type:Plug In; Relay Mounting:Plug-In
HT95A100 I/O Type Phone 8-Bit MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT95A400 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:I/O Type Phone 8-Bit MCU
HT95A400/40P 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:I/O Type Phone 8-Bit MCU
HT95A40P 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:LCD Type Phone 8-Bit MCU
HT95AXXX 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:I/O Type Phone 8-Bit MCU
HT95C200 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:CID Type Phone 8-Bit MCU