Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

R8C/20 Datasheet(PDF) 136 Page - Renesas Technology Corp

Part # R8C/20
Description  MCU R8C FAMILY / R8C/2x SERIES
PDF  501 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C/20 Datasheet(HTML) 136 Page - Renesas Technology Corp

Back Button R8C/20 Datasheet HTML 132Page - Renesas Technology Corp R8C/20 Datasheet HTML 133Page - Renesas Technology Corp R8C/20 Datasheet HTML 134Page - Renesas Technology Corp R8C/20 Datasheet HTML 135Page - Renesas Technology Corp R8C/20 Datasheet HTML 136Page - Renesas Technology Corp R8C/20 Datasheet HTML 137Page - Renesas Technology Corp R8C/20 Datasheet HTML 138Page - Renesas Technology Corp R8C/20 Datasheet HTML 139Page - Renesas Technology Corp R8C/20 Datasheet HTML 140Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 136 / 501 page
background image
R8C/20 Group, R8C/21 Group
14. Timers
Rev.2.00 Aug 27, 2008
Page 120 of 458
REJ09B0250-0200
14.1
Timer RA
Timer RA is an 8-bit timer with an 8-bit prescaler.
The prescaler and timer consist of the reload register and counter. The reload register and counter are allocated at
the same address. When accessing the TRAPRE and TRA registers, the reload register and counter can be accessed
(refer to Table 14.2 to 14.6 the Specification of Each Modes).
The count source for timer RA is the operating clock that regulates the timing of timer operations such as counting
and reloading.
Figure 14.1 shows the Block Diagram of Timer RA. Figures 14.2 to 14.4 show the registers associated with Timer
RA.
Timer RA contains five operation modes listed as follows:
• Timer mode:
The timer counts an internal count source.
• Pulse output mode:
The timer counts an internal count source and outputs the pulses which
invert the polarity by underflow of the timer.
• Event counter mode:
The timer counts external pulses.
• Pulse width measurement mode: The timer measures the pulse width of an external pulse.
• Pulse period measurement mode: The timer measures the pulse period of an external pulse.
Figure 14.1
Block Diagram of Timer RA
TCSTF
bit
TCKCUT
bit
= 000b
= 001b
= 011b
f2
f8
f1
= 010b
fOCO
TCK2 to TCK0 bit
Counter
Reload
register
TRAPRE register
(Prescaler)
Peripheral data bus
Timer RA interrupt
Write to TRAMR register
Write to TSTOP bit 1
TCSTF, TSTOP: TRACR register
TEDGSEL, TOPCR, TOENA, TIOSEL, TIPF1, TIPF0: TRAIOC register
TMOD2 to TMOD0, TCK2 to TCK0, TCKCUT: TRAMR register
Toggle flip-flop
Q
Q
CLR
CK
TOENA bit
TRAO pin
INT1/TRAIO (P1-5) pin
TMOD2 to TMOD0
= 011b or 100b
Polarity
switching
Digital
filter
Counter
Reload
register
TRA register
(Timer)
TIPF1 to TIPF0 bit
= 00b
= 10b
f8
f1
= 11b
f32
TIOSEL = 0
TIOSEL = 1
Count control
circle
TMOD2 to TMOD0 = 001b
TOPCR bit
Underflow signal
Measurement completion signal
TIPF1 to
TIPF0 bit
= Except 00b
= 00b
INT1/TRAIO (P1-7) pin
TEDGSEL = 1
TEDGSEL = 0
TMOD2 to TMOD0
= Except 010b
TMOD2 to TMOD0
= 010b



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   |   Datasheet Upload   |   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