전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

M32C/8A 데이터시트(PDF) 191 Page - Renesas Technology Corp

부품명 M32C/8A
상세설명  RENESAS MCU M16C FAMILY / M32C/80 Series
PDF  372 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  RENESAS [Renesas Technology Corp]
홈페이지  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M32C/8A 데이터시트(HTML) 191 Page - Renesas Technology Corp

Back Button M32C/8A Datasheet HTML 187Page - Renesas Technology Corp M32C/8A Datasheet HTML 188Page - Renesas Technology Corp M32C/8A Datasheet HTML 189Page - Renesas Technology Corp M32C/8A Datasheet HTML 190Page - Renesas Technology Corp M32C/8A Datasheet HTML 191Page - Renesas Technology Corp M32C/8A Datasheet HTML 192Page - Renesas Technology Corp M32C/8A Datasheet HTML 193Page - Renesas Technology Corp M32C/8A Datasheet HTML 194Page - Renesas Technology Corp M32C/8A Datasheet HTML 195Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 191 / 372 page
background image
M32C/8A Group
15. Timers (Timer B)
Rev.1.00
Jul 15, 2007
Page 174 of 352
REJ09B0385-0100
15.2.2
Event Counter Mode
In event counter mode, the timer counts overflows/underflows of another timer, or the external pulses.
Table 15.10 lists specifications of event counter mode. Figure 15.28 shows an event counter mode operation.
Table 15.10
Specifications of Event Counter Mode
NOTE:
1. Wait for one count source cycle or more to write after the count starts.
Figure 15.28
Operation in Event Counter Mode (Timer B)
Item
Specification
Count source
• External signal applied to the TBiIN pin (i = 0 to 5) (valid edge can be selected
by program)
• TBj overflows or underflows (j = i - 1, except j = 2 if i = 0, j = 5 if i = 3)
Count operation
• Counter decrements
When the timer underflows, the contents of the reload register are reloaded into
the counter and the count continues.
Number of counting
(n + 1) times
n: Setting value of the TBi register 0000h to FFFFh
Count start condition
The TBiS bit in the TABSR or TBSR register is set to 1 (count starts)
Count stop condition
The TBiS bit is set to 0 (count stops)
Interrupt request generation timing When the timer underflows
TBiIN pin function
Count source input
Read from timer
A read from the TBi register returns a counter value.
Write to timer
• A write to the TBi register while the count is stopped:
The value is written to both the reload register and the counter.
• A write to the TBi register while counting:
The value is written to the reload register (It is transferred to the counter at the
next reload timing).(1)
Count starts
FFFFh
n
TBiS bit in the TABSR or TBSR
regsiter
Contents of the counter
n = contents of the reload
register
0000h
IR bit in the TBiIC regsiter
0
1
(Condition) TBiMR register: Bits TMOD1 and TMOD0 are set to 01b (event counter mode)
Bits MR1 and MR0 are set to 00b (count the falling edge of the external signal)
The TCK1 bit is set to 0 (signal input to TBiIN pin)
Underflow
Reload
Count stops
0
1
Set to 0 by an interrupt request acknowledgement or by program
Count resumes
Input to the TBiIN pin
“L”
“H”
i = 0 to 5



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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