Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button R8C/18 Datasheet HTML 127Page - Renesas Technology Corp R8C/18 Datasheet HTML 128Page - Renesas Technology Corp R8C/18 Datasheet HTML 129Page - Renesas Technology Corp R8C/18 Datasheet HTML 130Page - Renesas Technology Corp R8C/18 Datasheet HTML 131Page - Renesas Technology Corp R8C/18 Datasheet HTML 132Page - Renesas Technology Corp R8C/18 Datasheet HTML 133Page - Renesas Technology Corp R8C/18 Datasheet HTML 134Page - Renesas Technology Corp R8C/18 Datasheet HTML 135Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 131 / 257 page
background image
R8C/18 Group, R8C/19 Group
14. Timers
Rev.1.30
Apr 14, 2006
Page 116 of 233
REJ09B0222-0130
14.1.6
Notes on Timer X
• Timer X stops counting after a reset. Set the values in the timer and prescaler before the count
starts.
• Even if the prescaler and timer are read out in 16-bit units, these registers are read 1 byte at a
time by the MCU. Consequently, the timer value may be updated during the period when these
two registers are being read.
• Do not rewrite bits TXMOD0 to TXMOD1, and bits TXMOD2 and TXS simultaneously.
• In pulse period measurement mode, bits TXEDG and TXUND in the TXMR register can be set to
0 by writing 0 to these bits by a program. However, these bits remain unchanged if 1 is written.
When using the READ-MODIFY-WRITE instruction for the TXMR register, the TXEDG or TXUND
bit may be set to 0 although these bits are set to 1 while the instruction is being executed. In this
case, write 1 to the TXEDG or TXUND bit which is not supposed to be set to 0 with the MOV
instruction.
• When changing to pulse period measurement mode from another mode, the contents of bits
TXEDG and TXUND are undefined. Write 0 to bits TXEDG and TXUND before the count starts.
• The TXEDG bit may be set to 1 by the prescaler X underflow generated after the count starts.
• When using the pulse period measurement mode, leave two or more periods of the prescaler X
immediately after the count starts, then set the TXEDG bit to 0.
• The TXS bit in the TXMR register has a function to instruct timer X to start or stop counting and a
function to indicate that the count has started or stopped.
0 (count stops) can be read until the following count source is applied after 1 (count starts) is
written to the TXS bit while the count is being stopped. If the following count source is applied, 1
can be read from the TXS bit. After writing 1 to the TXS bit, do not access registers associated
with timer X (registers TXMR, PREX, TX, TCSS, and TXIC) except for the TXS bit, until 1 can be
read from the TXS bit. The count starts at the following count source after the TXS bit is set to 1.
Also, after writing 0 (count stops) to the TXS bit during the count, timer X stops counting at the
following count source.
1 (count starts) can be read by reading the TXS bit until the count stops after writing 0 to the TXS
bit. After writing 0 to the TXS bit, do not access registers associated with timer X except for the
TXS bit, until 0 can be read from the TXS bit.



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