Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

R8C/20 Datasheet(PDF) 149 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) 149 Page - Renesas Technology Corp

Back Button R8C/20 Datasheet HTML 145Page - Renesas Technology Corp R8C/20 Datasheet HTML 146Page - Renesas Technology Corp R8C/20 Datasheet HTML 147Page - Renesas Technology Corp R8C/20 Datasheet HTML 148Page - Renesas Technology Corp R8C/20 Datasheet HTML 149Page - Renesas Technology Corp R8C/20 Datasheet HTML 150Page - Renesas Technology Corp R8C/20 Datasheet HTML 151Page - Renesas Technology Corp R8C/20 Datasheet HTML 152Page - Renesas Technology Corp R8C/20 Datasheet HTML 153Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 149 / 501 page
background image
R8C/20 Group, R8C/21 Group
14. Timers
Rev.2.00 Aug 27, 2008
Page 133 of 458
REJ09B0250-0200
14.1.5
Pulse Period Measurement Mode
Pulse period measurement mode is mode to measure the pulse period of an external signal which inputs from
the INT1/TRAIO pin (see Table 14.6 Pulse Period Measurement Mode Specifications).
Figure 14.11 shows the TRAIOC Register in Pulse Period Measurement Mode and Figure 14.12 shows the
Operating Example of Pulse Period Measurement Mode.
NOTE:
1. Input the pulse whose period is longer than twice of the timer RA prescaler period. Input the longer
pulse for “H” width and “L” width than the timer RA prescaler period. If the shorter pulse than the
period is input to the TRAIO pin, the input may be disabled.
Table 14.6
Pulse Period Measurement Mode Specifications
Item
Specification
Count Sources
f1, f2, f8, fOCO
Count Operations
• Decrement
• After an active edge of measurement pulse is input, contents for the read-out
buffer are retained at the first underflow of timer RA prescaler. Then timer RA
reloads contents in the reload register at the second underflow of timer RA
prescaler and continues counting.
Count Start Condition
Write 1 (count start) to the TSTART bit in the TRACR register
Count Stop Conditions
• Write 0 (count stop) to TSTART bit in the TRACR register
• Write 1 (count forcibly stops) to the TSTOP bit in the TRACR register
Interrupt Request
Generation Timing
• When timer RA underflows or reloads [timer RA interrupt]
• Rising or falling of the TRAIO input (end of measurement period) [timer RA
interrupt]
INT1/TRAIO Pin
Function
Measurement pulse input(1) (INT1 interrupt input)
TRAO Pin Function
Programmable I/O port
Read from Timer
The count value can be read by reading the TRA and TRAPRE registers.
Write to Timer
• When registers TRAPRE and TRA are written while the count is stopped,
values are written to both the reload register and counter.
• When registers TRAPRE and TRA are written during the count, values are
written to the reload register and counter (refer to 14.1.1.1 Timer Write
Control during Count Operation).
Select Functions
• Measurement level select
The TEDGSEL bit in the TRAIOC register can select the measurement
period of input pulse.
• Measurement pulse input pin select function
P1_7 or P1_5 is selected by the TIOSEL bit in the TRAIOC register.
• Digital filter function
Bits TIPF0 and TIPF1 in the TRAIOC register enable or disable the digital
filter and select the sampling frequency.



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