Electronic Components Datasheet Search
  English  ▼

X  

R5F3640MNFB Datasheet(PDF) 158 Page - Renesas Technology Corp

Part # R5F3640MNFB
Description  RENESAS MCU M16C FAMILY / M16C/60 SERIES
PDF  398 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R5F3640MNFB Datasheet(HTML) 158 Page - Renesas Technology Corp

Back Button R5F3640MNFB Datasheet HTML 154Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 155Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 156Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 157Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 158Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 159Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 160Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 161Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 162Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 158 / 398 page
background image
REJ09B0392-0064 Rev.0.64
Oct 12, 2007
Page 137 of 373
Under development
Preliminary Specification
Specification in this preliminary version is subject to change.
M16C/64 Group
15. Timers
15.1
Timer A
Figure 15.4 shows a Timer A Block Diagram. Figures 15.5 to 15.9 show registers related to Timer A.
Timer A supports the following four modes. Except in event counter mode, Timers A0 to A4 all have the
same function. Use bits TMOD1 to TMOD0 in the TAiMR register (i = 0 to 4) to select the desired mode.
• Timer Mode
The timer counts an internal count source.
• Event Counter Mode
The timer counts pulses from an external device or overflows and
underflows of other timers.
• One-shot Timer Mode
The timer outputs a pulse only once before it reaches the minimum
count 0000h.
• Pulse Width Modulation (PWM) Mode
The timer outputs pulses in a given width successively.
Figure 15.4
Timer A Block Diagram
Increment / decrement
Reload Register
·Timer (gate function):
TMOD1 to TMOD0 = 00, MR2 = 1
·Timer:
TMOD1 to TMOD0 = 00, MR2 = 0
·One-shot timer:
TMOD1 to TMOD0 = 10
·Pulse width modulation: TMOD1 to TMOD0 = 11
TAiIN
TB2
overflow (1)
Count source select
TAj
overflow (1)
TAiS
MRO
Toggle Flip Flop
TAiOUT
Decrement
TAiUD
TAk
overflow (1)
Polarity
Select
NOTES:
1. Overflow or underflow
01
TAiTGH to TAiTGL
MR2
0
1
TMOD1 to TMOD0
00
10
11
01
TCK1 to TCK0, TMOD1 to TMOD0, MR2 to MR1 : bits in the TAiMR register
TAiTGH to TAiTGL : bits in the ONSF register when i=0, bits in the TRGSR register when i = 1 to 4
TAiS
: bits in the TABSR register
TAiUD
: bits in the UDF register
TCS0 to TCS7
: bits in the registers TACS0 to TACS2
POFSi
: bits in the TAPOFS register
·Event counter: TMOD1 to TMOD0 = 01
00
10
11
TMOD1 to TMOD0,
MR2
To external
trigger circuit
Data Bus
0
1
POFSi
TCK1 to TCK0
00
01
10
11
000
001
010
110
or TCS6 to TCS4
TCS2 to TCS0
011
101
TCS3
or
TCS7
Always decrement except
in event counter mode
1
0
i = 0 to 4
j = i - 1, however, j = 4 if i = 0
k = i + 1, however, k = 0 if i = 4
Tai
TAj
TAk
Timer A0
Timer A4
Timer A1
Timer A1
Timer A0
Timer A2
Timer A2
Timer A1
Timer A3
Timer A3
Timer A2
Timer A4
Timer A4
Timer A3
Timer A0
fC32
fOCO-S
f64TIMAB
f32TIMAB
f8TIMAB
f1TIMAB
or f2TIMAB
Counter



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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