Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT48C10 Datasheet(PDF) 25 Page - Holtek Semiconductor Inc

Part # HT48C10
Description  8-Bit Microcontroller Series
PDF  59 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT48C10 Datasheet(HTML) 25 Page - Holtek Semiconductor Inc

Back Button HT48C10 Datasheet HTML 21Page - Holtek Semiconductor Inc HT48C10 Datasheet HTML 22Page - Holtek Semiconductor Inc HT48C10 Datasheet HTML 23Page - Holtek Semiconductor Inc HT48C10 Datasheet HTML 24Page - Holtek Semiconductor Inc HT48C10 Datasheet HTML 25Page - Holtek Semiconductor Inc HT48C10 Datasheet HTML 26Page - Holtek Semiconductor Inc HT48C10 Datasheet HTML 27Page - Holtek Semiconductor Inc HT48C10 Datasheet HTML 28Page - Holtek Semiconductor Inc HT48C10 Datasheet HTML 29Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 59 page
background image
Of the HT48C50/HT48C70, the timer/event
counter is comprised by two counters, i.e.,
timer/event counter 0 and timer/event counter
1. There are three registers related to the
timer/event counter 0, namely TMR0H (0CH),
TMR0L (0DH), and TMR0C (0EH). Writing
TMR0L only writes the data into a low byte
buffer, but writing TMR0H 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 reg-
ister is changed by writing the TMR0H opera-
tions, and writing TMR0L keeps the timer/
event counter 0 preload register unaltered.
Also, reading the TMR0H latches the TMR0L
into the low byte buffer in order to avoid the
false timing problem. Then, reading the TMR0L
will return the contents of the low byte buffer.
In other words, the low byte of the timer/event
counter 0 cannot be read directly. Instead it has
to read the TMR0H first in order to make the
low byte contents of the timer/event counter 0
latched into the buffer. On the other hand, there
are also thre e registe rs relate d to the
timer/event counter 1, namely TMR1H (0FH),
TMR1L (10H), and TMR1C (11H). The timer/
event counter 1 operates in the same manner as
the timer/event counter 0.
The TMR0C is a timer/event counter 0 control
register defining the timer/event counter 0 op-
tions. The timer/event counter 1 has the same
options as the timer/event counter 0 and is de-
fined by TMR1C.
The timer/event counter control registers of the
four microcontrollers are all used to define the
operation mode, counting enable or disable, and
active edge.
The TM0 and TM1 bits define the operation
mode. The event count mode is used to count
external events, which means that the clock
source comes from an external pin TMR of the
HT48C10/HT48C30 or TMR0/TMR1 of the
HT48C50/HT48C70. 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 the external signal
TMR of the HT48C10/HT48C30 or TMR0/TMR
1 of the HT48C50/HT48C70. The counting is
based on the instruction 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 FFH of the HT48C10/HT48C30/
HT48C50 (TMR1) or to FFFFH of the HT48C50
(TMR0)/HT48C70. If an overflow occurs, the
counter is reloaded from the timer/ event counter
preload register and generates the corresponding
interrupt request flag TF (bit 5 of INTC) of the
HT48C10/HT48C30 or T0F/T1F (bit 5/6 of INTC)
of the HT48C50/ HT48C70 at the same time.
Label
Bits
Function
—
0~2
Unused bits, read as “0”
TE
3
To define TMR0/TMR1 active edge of the 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 bits, 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
TMR0C/TMR1C register
HT48CXX/HT48RXX
25
25th May ’99



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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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