전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

HT46R23 데이터시트(PDF) 14 Page - Holtek Semiconductor Inc

부품명 HT46R23
상세설명  8-Bit OTP Microcontroller
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  HOLTEK [Holtek Semiconductor Inc]
홈페이지  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46R23 데이터시트(HTML) 14 Page - Holtek Semiconductor Inc

Back Button HT46R23 Datasheet HTML 10Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 11Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 12Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 13Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 14Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 15Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 16Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 17Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 18Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 42 page
background image
HT46R23
Rev. 1.30
14
August 17, 2001
Register Rese t(Power On)
WDT Time-out
(Normal Operation)
RES Reset
(Normal Operation)
RES Rese
(HALT)
WDT Time-out
(HALT)*
ADRL
xx-- ----
xx-- ----
xx-- ----
xx-- ----
uu-- ----
ADRH
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
uuuu uuuu
ADCR
0100 0000
0100 0000
0100 0000
0100 0000
uuuu uuuu
ACSR
1--- --00
1--- --00
1--- --00
--- --00
u--- --uu
Note: ²*² stands for ²warm reset²
²u² stands for ²unchanged²
²x² stands for ²unknown²
Timer/Event Counter
A timer/event counter (TMR) is implemented in the
microcontroller. The timer/event counter contains an
16-bit programmable count-up counter and the clock may
come from an external source or the system clock.
Using the internal system clock, there is only one refer-
ence time-base. The internal clock source comes from
fSYS. The external clock input allows the user to count
external events, measure time intervals or pulse widths,
or to generate an accurate time base.
There are three registers related to the timer/event coun-
ter; TMRH (0CH), TMRL (0DH), TMRC (0EH). Writing
TMRL will only put the written data to an internal
lower-order byte buffer (8 bits) and writing TMRH will
transfer the specified data and the contents of the
lower-order byte buffer to TMRH and TMRL preload regis-
ters, respectively. The timer/event counter preload register
is changed by each writing TMRH operations. Reading
TMRH will latch the contents of TMRH and TMRL coun-
ters to the destination and the lower-order byte buffer, re-
spectively. Reading the TMRL will read the contents of the
lower-order byte buffer. The TMRC is the timer/event
counter control register, which defines the operating
mode, counting enable or disable and active edge.
The TM0, TM1 bits define the operating mode. The event
count mode is used to count external events, which means
the clock source comes from an external (TMR) pin. The
timer mode functions as a normal timer with the clock
source coming from the fINT clock. The pulse width mea-
surement mode can be used to count the high or low level
duration of the external signal (TMR). The counting is based
on the fINT.
In the event count or timer mode, once the timer/event
counter starts counting, it will count from the current con-
tents in the timer/event counter to FFFFH. Once overflow
occurs, the counter is reloaded from the timer/event coun-
ter preload register and generates the interrupt request
flag (TF; bit 5 of INTC0) at the same time.
In the pulse width measurement mode with the TON
and TE bits equal to one, once the TMR has received a
transient from low to high (or high to low if the TE bits is
²0²) it will start counting until the TMR returns to the orig-
inal level and resets the TON. The measured result will
remain in the timer/event counter even if the activated
transient occurs again. In other words, only one cycle
measurement can be done. Until setting the TON, the
cycle measurement will function again as long as it re-
ceives further transient pulse. Note that, in this operat-
ing 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 the other two
modes. To enable the counting operation, the timer ON
bit (TON; bit 4 of TMRC) should be set to 1. In the pulse
width measurement mode, the TON will be cleared au-
tomatically after the measurement cycle is completed.
TM 1
TM 0
TM R
TE
TM 1
TM 0
TO N
P u l s e W i dt h
M eas ur e m ent
M ode C ont r o l
T i m e r / E v ent C ount er
P r el oad R e gi s t er
T i m e r / E v ent
C ount e r
Da t a B u s
R e l oad
O v er f l ow
t o I nt er r upt
1/ 2
PF D
8- s t age p r e s cal er
8- 1 M U X
f SY S
f IN T
PS C 2 ~ P SC 0
( 6 + 2 ) or ( 7+ 1)
com pa r e
PW M
T o P D 0 /P D 1 ci r cu i t
Timer/Event Counter



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com