欢迎访问ic37.com |
会员登录 免费注册
发布采购

BR8F 参数 Datasheet PDF下载

BR8F图片预览
型号: BR8F
PDF下载: 下载PDF文件 查看货源
内容描述: [400mA 8.0kV 100nS High Voltage Medium and High Current Diodes]
分类和应用:
文件页数/大小: 58 页 / 442 K
品牌: HOLTIC [ HOLT INTEGRATED CIRCUITS ]
 浏览型号BR8F的Datasheet PDF文件第14页浏览型号BR8F的Datasheet PDF文件第15页浏览型号BR8F的Datasheet PDF文件第16页浏览型号BR8F的Datasheet PDF文件第17页浏览型号BR8F的Datasheet PDF文件第19页浏览型号BR8F的Datasheet PDF文件第20页浏览型号BR8F的Datasheet PDF文件第21页浏览型号BR8F的Datasheet PDF文件第22页  
HT46R01A  
Timer Control Registers - TMR0C  
The flexible features of the Holtek microcontroller  
Timer/Event Counters enable them to operate in three  
different modes, the options of which are determined by  
the contents of their respective control register.  
An external clock source is used when the timer is in the  
event counting mode, the clock source being provided  
on an external timer pin TMR0, depending upon which  
device and which timer is used. Depending upon the  
condition of the T0E bit, each high to low, or low to high  
transition on the external timer pin will increment the  
counter by one.  
The Timer Control Register is known as TMR0C. It is the  
Timer Control Register together with its corresponding  
timer registers that control the full operation of the  
Timer/Event Counters. Before the timers can be used, it  
is essential that the appropriate Timer Control Register  
is fully programmed with the right data to ensure its cor-  
rect operation, a process that is normally carried out  
during program initialisation.  
Timer Registers - TMR0  
The timer registers are special function registers located  
in the Special Purpose Data Memory and is the place  
where the actual timer value is stored. This register is  
known as TMR0. The value in the timer registers in-  
creases by one each time an internal clock pulse is re-  
ceived or an external transition occurs on the external  
timer pin. The timer will count from the initial value loaded  
by the preload register to the full count of FFH at which  
point the timer overflows and an internal interrupt signal is  
generated. The timer value will then be reset with the ini-  
tial preload register value and continue counting.  
To choose which of the three modes the timer is to oper-  
ate in, either in the timer mode, the event counting mode  
or the pulse width measurement mode, bits 7 and 6 of  
the Timer Control Register, which are known as the bit  
pair T0M1/T0M0, must be set to the required logic lev-  
els. The timer-on bit, which is bit 4 of the Timer Control  
Register and known as T0ON, provides the basic on/off  
control of the respective timer. Setting the bit high allows  
the counter to run, clearing the bit stops the counter. Bits  
0~2 of the Timer Control Register determine the division  
ratio of the input clock prescaler. The prescaler bit set-  
tings have no effect if an external clock source is used. If  
the timer is in the event count or pulse width measure-  
ment mode, the active transition edge level type is se-  
lected by the logic level of bit 3 of the Timer Control  
Register which is known as T0E.  
Note that to achieve a maximum full range count of FFH,  
the preload register must first be cleared to all zeros. It  
should be noted that after power-on, the preload regis-  
ters will be in an unknown condition. Note that if the  
Timer/Event Counters are in an OFF condition and data  
is written to their preload registers, this data will be im-  
mediately written into the actual counter. However, if the  
counter is enabled and counting, any new data written  
into the preload data registers during this period will re-  
main in the preload registers and will only be written into  
the actual counter the next time an overflow occurs.  
b
0
b
7
T
i
m
e
r
/
E
v
e
n
t
C
o
u
n
t
e
r
C
o
n
t
r
o
l
R
e
g
i
s
t
e
r
T
0
M
1
T
0
M
0
T
0
S
T
0
O
N
T
0
E
T
0
P
S
C
2
T
0
P
S
C
1
T
0
P
S
C
0
T
M
R
0
C
T
i
m
e
r
p
r
e
s
c
a
l
e
r
r
a
t
e
s
e
l
e
c
t
T
0
P
S
C
2
T
0
P
S
C
1
T
0
P
S
C
0
T
i
m
e
r
R
a
t
e
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1
:
1
1
:
2
1
:
4
1
:
8
1
:
1
6
1
:
3
2
1
1
:
:
6
1
4
2
8
E
v
u
e
n
t
C
o
u
n
t
e
a
r
a
c
t
i
v
e
e
d
g
e
s
e
l
e
c
t
1
0
:
:
c
c
o
o
u
n
t
o
n
n
f
l
l
i
n
g
e
d
g
e
u
n
t
o
r
i
s
i
n
g
e
d
g
e
P
l
s
e
W
t
t
i
d
t
h
M
e
a
s
u
r
e
m
e
n
t
a
c
g
t
i
v
e
e
d
g
e
s
e
l
e
c
t
1
0
:
:
s
s
t
t
a
a
r
r
c
c
o
u
u
n
t
t
i
i
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