Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

H8S/2112 Folha de dados(PDF) 330 Page - Renesas Technology Corp

Nome de Peças H8S/2112
Descrição Electrónicos  16-Bit Single-Chip Microcomputer H8S Family / H8S/2100 Series
PDF  894 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  RENESAS [Renesas Technology Corp]
Página de início  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8S/2112 Folha de dados(HTML) 330 Page - Renesas Technology Corp

Back Button H8S/2112 Datasheet HTML 326Page - Renesas Technology Corp H8S/2112 Datasheet HTML 327Page - Renesas Technology Corp H8S/2112 Datasheet HTML 328Page - Renesas Technology Corp H8S/2112 Datasheet HTML 329Page - Renesas Technology Corp H8S/2112 Datasheet HTML 330Page - Renesas Technology Corp H8S/2112 Datasheet HTML 331Page - Renesas Technology Corp H8S/2112 Datasheet HTML 332Page - Renesas Technology Corp H8S/2112 Datasheet HTML 333Page - Renesas Technology Corp H8S/2112 Datasheet HTML 334Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 330 / 894 page
background image
Section 11 16-Bit Cycle Measurement Timer (TCM)
Rev. 1.00 Mar. 18, 2008 Page 306 of 866
REJ09B0451-0100
(2)
Measuring a Cycle
In cycle measurement mode, one cycle of the input waveform for TCM form one measurement
cycle. Start by setting TCMMDS
= 0 and then set CST = 0, which clears TCMCNT to H'0000.
After that, set an upper or lower limit on the measurement cycle in the TCMMLCM/TCMMINCM
register. Finally, place the timer in cycle measurement mode by setting the TCMMDS bit in
TCMCR to 1. TCMCNT will count cycles of the selected clock. On detection of the first edge
(either rising or falling as selected with the IEDG bit in TCMCR) of the measurement cycle,
TCMCNT is automatically cleared to H'0000. On detection of the second edge, the value in
TCMCNT is transferred to TCMICR. At this time, the value in TCMICR is compared with the
value in TCMMLCM/TCMMINCM. If TCMICR is larger than TCMMLCM, the MAXOVF bit in
TCMCSR is set to 1. If TCMICR is smaller than TCMMINCM, the MINUDF bit in TCMCSR is
set to 1. If generation of the corresponding interrupt request is enabled by the setting in TCMIER,
the request is generated. In addition, on detection of the third edge, TCMCNT is cleared to
H'0000, and the next round of measurement starts.
When the CPSPE bit in TCMCR has been cleared to 0, the next round of cycle measurement will
start, even if the MAXOVF/MINUDF flag is set to 1.
If the MAXOVF/MINUDF flag is set to 1 while the CPSPE bit in TCMCR is set to 1, counting up
by TCMCNT stops and so does cycle measurement. Subsequently clearing MAXOVF/MINUDF
to 0 automatically clears TCMCNT to H'0000, and counting up for cycle measurement is then
restarted.
Figure 11.8 shows an example of timing in speed measurement.
H'0001
H'0000
H'0001
N - 1
H'0000
N
M
TCMCNT
clear signal
TCMCNT
input clock
TCMCNT
N
M
L
M
L
K
φ
TCMCYI
TCMICR
MAXOVF/
MINUDF
TCMICRF
Figure 11.8 Example of Timing in Cycle Measurement



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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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