Electronic Components Datasheet Search
  English  ▼

X  

R8C/18 Datasheet(PDF) 125 Page - Renesas Technology Corp

Part # R8C/18
Description  16-BIT SINGLE-CHIP MCU R8C FAMILY / R8C/1x SERIES
PDF  257 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/18 Datasheet(HTML) 125 Page - Renesas Technology Corp

Back Button R8C/18 Datasheet HTML 121Page - Renesas Technology Corp R8C/18 Datasheet HTML 122Page - Renesas Technology Corp R8C/18 Datasheet HTML 123Page - Renesas Technology Corp R8C/18 Datasheet HTML 124Page - Renesas Technology Corp R8C/18 Datasheet HTML 125Page - Renesas Technology Corp R8C/18 Datasheet HTML 126Page - Renesas Technology Corp R8C/18 Datasheet HTML 127Page - Renesas Technology Corp R8C/18 Datasheet HTML 128Page - Renesas Technology Corp R8C/18 Datasheet HTML 129Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 125 / 257 page
background image
R8C/18 Group, R8C/19 Group
14. Timers
Rev.1.30
Apr 14, 2006
Page 110 of 233
REJ09B0222-0130
14.1.4
Pulse Width Measurement Mode
In pulse width measurement mode, the pulse width of an external signal input to the INT1/CNTR0 pin
is measured (refer to Table 14.5 Pulse Width Measurement Mode Specifications). Figure 14.7
shows the TXMR Register in Pulse Width Measurement Mode. Figure 14.8 shows an Operating
Example in Pulse Width Measurement Mode.
Table 14.5
Pulse Width Measurement Mode Specifications
Item
Specification
Count sources
f1, f2, f8, fRING
Count operations
• Decrement
• Continuously counts the selected signal only when the measured pulse is “H”
level, or conversely only “L” level.
• When the timer underflows, the contents of the reload register are reloaded
and the count is continued.
Count start condition
1 (count starts) is written to the TXS bit in the TXMR register.
Count stop condition
0 (count stops) is written to the TXS bit in the TXMR register.
Interrupt request
generation timing
• When timer X underflows [timer X interrupt].
• Rising or falling of the CNTR0 input (end of measurement period) [INT1
interrupt]
INT10/CNTR00,
INT11/CNTR01
pin functions
Measured pulse input (INT1 interrupt input)
CNTR0 pin function
Programmable I/O port
Read from timer
The count value can be read out by reading registers TX and PREX.
Write to timer
• When registers TX and PREX are written while the count is stopped, values
are written to both the reload register and counter.
• When registers TX and PREX are written during the count, the value is written
to each reload register of registers TX and PREX at the following count source
input, the data is transferred to the counter at the second count source input,
and the count re-starts at the third count source input.
Select functions
•INT1/CNTR0 signal polarity switch function
The R0EDG bit can select “H” or “L” level period for the input pulse width
measurement.
• Measured pulse input pin select function
The CNTRSEL bit in the UCON register can select the CNTR00 or CNTR01
pin.



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