HT48R10A-1_09 HOLTEK [Holtek Semiconductor Inc], HT48R10A-1_09 Datasheet - Page 13

no-image

HT48R10A-1_09

Manufacturer Part Number
HT48R10A-1_09
Description
I/O Type 8-Bit MCU
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
The states of the registers is summarized in the table.
Note:
Timer/Event Counter
A timer/event counters (TMR) is implemented in the
microcontroller. The timer/event counter contains an
8-bit programmable count-up counter and the clock may
come from an external source or from the system clock
or RTC.
Using the internal clock sources, there are 2 reference
Rev. 2.01
TMR
TMRC
Program
Counter
MP
ACC
TBLP
TBLH
STATUS
INTC
WDTS
PA
PAC
PB
PBC
PC
PCC
Register
Bit No.
0~2
3
4
5
6
7
* means warm reset
u means unchanged
x means unknown
(Power On)
0000 0111
1111 1111
1111 1111
1111 1111
1111 1111
00-0 1000
xxxx xxxx
xxxx xxxx
-xxx xxxx
xxxx xxxx
--xx xxxx
--00 xxxx
--00 -000
---1 1111
---1 1111
PSC0~PSC2
TE
TON
TM0
TM1
Reset
000H
Label
(Normal Operation)
WDT time-out
To define the prescaler stages, PSC2, PSC1, PSC0=
000: f
001: f
010: f
011: f
100: f
101: f
110: f
111: f
To define the TMR active edge of timer/event counter
(0=active on low to high; 1=active on high to low)
To enable or disable timer counting (0=disabled; 1=enabled)
Unused bit, read as 0
To define the operating mode
01=Event count mode (external clock)
10=Timer mode (internal clock)
11=Pulse width measurement mode
00=Unused
uuuu uuuu
uuuu uuuu
0000 0111
1111 1111
1111 1111
1111 1111
1111 1111
00-0 1000
-uuu uuuu
--uu uuuu
--1u uuuu
xxxx xxxx
--00 -000
---1 1111
---1 1111
000H
INT
INT
INT
INT
INT
INT
INT
INT
=f
=f
=f
=f
=f
=f
=f
=f
SYS
SYS
SYS
SYS
SYS
SYS
SYS
SYS
/2 or f
/4 or f
/8 or f
/16 or f
/32 or f
/64 or f
/128 or f
/256 or f
TMRC (0EH) Register
(Normal Operation)
RTC
RTC
RTC
RTC
RTC
RTC
RTC
RTC
/2
/4
/8
RES Reset
uuuu uuuu
uuuu uuuu
1111 1111
1111 1111
1111 1111
1111 1111
00-0 1000
-uuu uuuu
0000 0111
xxxx xxxx
--uu uuuu
--uu uuuu
/16
/32
/64
--00 -000
---1 1111
---1 1111
13
/128
/256
000H
time-bases for timer/event counter. The internal clock
source can be selected as coming from (can always be
optioned) or f
Int. RC+RTC mode) by options. Using external clock in-
put allows the user to count external events, measure
time internals or pulse widths, or generate an accurate
time base. While using the internal clock allows the user
to generate an accurate time base.
Function
RTC
RES Reset
uuuu uuuu
uuuu uuuu
0000 0111
1111 1111
1111 1111
1111 1111
1111 1111
HT48R10A-1/HT48C10-1
00-0 1000
-uuu uuuu
xxxx xxxx
--uu uuuu
--01 uuuu
--00 -000
---1 1111
---1 1111
(enabled only system oscillator in the
(HALT)
000H
WDT Time-out
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uu-u uuuu
-uuu uuuu
uuuu uuuu
--uu uuuu
--11 uuuu
January 9, 2009
--uu -uuu
---u uuuu
---u uuuu
(HALT)*
000H

Related parts for HT48R10A-1_09