參數(shù)資料
型號: HT46R47
廠商: Holtek Semiconductor Inc.
英文描述: 8-Bit OTP Battery Charger Controller
中文描述: 8位檢察官電池充電器控制器
文件頁數(shù): 16/45頁
文件大?。?/td> 588K
代理商: HT46R47
HT46R47
Rev. 1.40
16
July 18, 2001
Timer/Event Counter
A timer/event counter (TMR) is implemented in
the microcontroller. The timer/event counter
contains an 8-bit programmable count-up coun-
ter and the clock may come from an external
source or the system clock.
Using the internal system clock, there is only
one reference time-base. The internal clock
source comes from f
SYS
. The external clock in-
put allows the user to count external events,
measure time intervals or pulse widths, or to
generate an accurate time base.
There are 2 registers related to the timer/event
counter;TMR([0DH]),TMRC([0EH]).Twophys-
ical registers are mapped to TMR location; writ-
ing TMR makes the starting value be placed in
the timer/event counter preload register and
reading TMR gets the contents of the timer/event
counter. The TMRC is a timer/event counter con-
trol register, which defines some options.
Label (TMRC)
Bits
Function
PSC0~PSC2
0~2
To define the prescaler stages, PSC2, PSC1, PSC0=
000: f
INT
=f
SYS
001: f
INT
=f
SYS
/2
010: f
INT
=f
SYS
/4
011: f
INT
=f
SYS
/8
100: f
INT
=f
SYS
/16
101: f
INT
=f
SYS
/32
110: f
INT
=f
SYS
/64
111: f
INT
=f
SYS
/128
TE
3
To define the TMR active edge of timer/event counter
(0=active on low to high; 1=active on high to low)
TON
4
To enable/disable timer counting
(0=disabled; 1=enabled)
5
Unused bit, read as 0
TM0
TM1
6
7
To define the operating mode
01=Event count mode (external clock)
10=Timer mode (internal clock)
11=Pulse width measurement mode
00=Unused
TMRC register
#, ' $ # 0 2 . 3
) 2 # ) - . " ) '
0 +" # ' ) & 2 # * 0 $ . # "
0 + # "8 # - .
) , - . # "
& . &, $
# ' ) & 2
8 # " ( ' ) A
. ) . # " " , / .
7 $ . & * # / " # $ % & ' # "
7
(
(
5
9 < : % ) + / & " #
. )
% 0 " % , 0 .
Timer/Event Counter
相關(guān)PDF資料
PDF描述
HT46R65-100 A/D with LCD Type 8-Bit MCU
HT46C65 A/D with LCD Type 8-Bit MCU
HT46C65-100 A/D with LCD Type 8-Bit MCU
HT46C65-52 A/D with LCD Type 8-Bit MCU
HT46C65-56 A/D with LCD Type 8-Bit MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT46R47(18DIP-A) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC
HT46R47(18SOP-A) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC
HT46R47E 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Cost-Effective A/D Type 8-Bit MCU
HT46R47-H 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Cost-Effective A/D Type 8-Bit OTP MCU
HT46R48 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Cost-Effective A/D Type 8-Bit OTP MCU