EasyManuals Logo

Abov MC96F8204 Series User Manual

Abov MC96F8204 Series
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #105 background imageLoading...
Page #105 background image
105
MC96F8204
ABOV Semiconductor Co., Ltd.
11.6.3 16-bit Capture Mode
The 16-bit timer 1/2 capture mode is set by TnMS[1:0] as ‘01’. The clock source can use the internal/external clock.
Basically, it has the same function as the 16-bit timer/counter mode and the interrupt occurs when TnCNTH/TnCNTL is
equal to TnADRH/TnADRL. The TnCNTH, TnCNTL values are automatically cleared by match signal. It can be also
cleared by software (TnCC).
This timer interrupt in capture mode is very useful when the pulse width of captured signal is wider than the maximum
period of timer.
The capture result is loaded into TnBDRH/TnBDRL.
According to EIPOL1 registers setting, the external interrupt EINT11/EINT12 function is chosen. Of course, the
EINT11/EINT12 pin must be set as an input port.
A Match
TnCC
TnEN
P
r
e
s
c
a
l
e
r
fx
M
U
X
fx/2
fx/4
fx/64
fx/512
fx/2048
fx/8
fx/1
16 -bit Counter
TnCNTH/Tn CNTL
16 - bit B Data Register
Tn BDRH/Tn BDRL
Clear
Edge
Detector
TnECE
ECn
Comparator
16 - bit A Data Register
Tn ADRH/Tn ADRL
TnIFR
INT_ACK
Clear
To interrupt
block
A Match
Buffer Register A
Reload
R
EINT1n
TnCNTR
TnEN
3
TnCK[2:0]
Clear
EIPOL1[5:2]
FLAG1n
( EIFLAG.m )
INT_ACK
Clear
To interrupt
block
2
TnMS[1:0]
2
TnEN
TnCRH
1
ADDRESS: 99H/B1H
INITIAL VALUE : 0000_0000B
-
TnMS1 TnMS0
- - -
TnCC
-
0 1
- - -
X
TnCK2
TnCRL
X
ADDRESS: 98H/B0H
INITIAL VALUE : 0000_0000B
TnCK1 TnCK0 TnIFR
RLDnEN
TnPOL TnECE Tn CNTR
X X X
X
X X X
A Match
TnCC
TnEN
RLDnEN
Figure 11.14 16-bit Capture Mode for Timer 1/2(Where n = 1 and 2, m = 3 and 4)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Abov MC96F8204 Series and is the answer not in the manual?

Abov MC96F8204 Series Specifications

General IconGeneral
BrandAbov
ModelMC96F8204 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals