Electronic Components Datasheet Search
  English  ▼

X  

R8C/19 Datasheet(PDF) 124 Page - Renesas Technology Corp

Part # R8C/19
Description  RENESAS 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/19 Datasheet(HTML) 124 Page - Renesas Technology Corp

Back Button R8C/19 Datasheet HTML 120Page - Renesas Technology Corp R8C/19 Datasheet HTML 121Page - Renesas Technology Corp R8C/19 Datasheet HTML 122Page - Renesas Technology Corp R8C/19 Datasheet HTML 123Page - Renesas Technology Corp R8C/19 Datasheet HTML 124Page - Renesas Technology Corp R8C/19 Datasheet HTML 125Page - Renesas Technology Corp R8C/19 Datasheet HTML 126Page - Renesas Technology Corp R8C/19 Datasheet HTML 127Page - Renesas Technology Corp R8C/19 Datasheet HTML 128Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 124 / 257 page
background image
R8C/18 Group, R8C/19 Group
14. Timers
Rev.1.30
Apr 14, 2006
Page 109 of 233
REJ09B0222-0130
14.1.3
Event Counter Mode
In event counter mode, external signal inputs to the INT1/CNTR0 pin are counted (refer to Table 14.4
Event Counter Mode Specifications). Figure 14.6 shows the TXMR Register in Event Counter
Mode.
Figure 14.6
TXMR Register in Event Counter Mode
Table 14.4
Event Counter Mode Specifications
Item
Specification
Count source
External signal which is input to CNTR0 pin (Active edge is selectable by software)
Count operations
• Decrement
• When the timer underflows, the contents of the reload register are reloaded and the
count is continued.
Divided ratio
1/(n+1)(m+1) n: value set in PREX register, m: value set in TX register
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].
INT10/CNTR00,
INT11/CNTR01
pin functions
Count source 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 the active edge of the count source.
• Count source input pin select function
The CNTRSEL bit in the UCON register can select the CNTR00 or CNTR01 pin.
Timer X Mode Register
Symbol
Address
After Reset
TXMR
008Bh
00h
Bit Symbol
Bit Name
Function
RW
INT1
_____
/CNTR0 signal
polarity sw itch bit(1)
NOTES:
1.
2.
Set to 0 in event counter mode.
Refer to 14.1.6 Notes on Tim er X for precautions regarding the TXS bit.
0
1
The IR bit in the INT1IC register may be set to 1 (requests interrupt) w hen the R0EDG bit is rew ritten.
Refer to 12.5.5 Changing Interrupt Sources.
R0EDG
RW
RW
TXOCNT
RW
TXMOD0
RW
Operating mode select bits 0, 1
b1 b0
1 0 : Event counter mode
TXMOD1
RW
b0
0000
b7 b6 b5 b4
RW
b3 b2
0 : Rising edge
1 : Falling edge
TXS
Timer X count start flag(2)
0 : Stops counting.
1 : Starts counting.
b1
Set to 0 in event counter mode.
Set to 0 in event counter mode.
RW
TXUND
RW
TXEDG
Set to 0 in event counter mode.
TXMOD2



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