数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

R8C/2G 数据表(PDF) 228 Page - Renesas Technology Corp

部件名 R8C/2G
功能描述  RENESAS MCU R8C FAMILY / R8C/2x SERIES
PDF  344 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  RENESAS [Renesas Technology Corp]
网页  http://www.renesas.com
标志 RENESAS - Renesas Technology Corp

R8C/2G 数据表(HTML) 228 Page - Renesas Technology Corp

Back Button R8C/2G Datasheet HTML 224Page - Renesas Technology Corp R8C/2G Datasheet HTML 225Page - Renesas Technology Corp R8C/2G Datasheet HTML 226Page - Renesas Technology Corp R8C/2G Datasheet HTML 227Page - Renesas Technology Corp R8C/2G Datasheet HTML 228Page - Renesas Technology Corp R8C/2G Datasheet HTML 229Page - Renesas Technology Corp R8C/2G Datasheet HTML 230Page - Renesas Technology Corp R8C/2G Datasheet HTML 231Page - Renesas Technology Corp R8C/2G Datasheet HTML 232Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 228 / 344 page
background image
R8C/2G Group
17. Timers
Rev.1.00
Apr 04, 2008
Page 208 of 318
REJ09B0387-0100
17.4.2
Output Compare Mode
In output compare mode, when the value of the TRF register matches the value of the TRFM0 (compare 0
match) or TRFM1 (compare 1 match) register, a user-set level is output mode from the output-compare output
pin.
Table 17.15 shows the Output Compare Mode Specifications. Table 17.16 shows the Output in Output
Compare Mode (Example of TRFO00 Pin). Figure 17.54 shows an Operating Example in Output Compare
Mode. Figure 17.55 shows an Operating Example in Output Compare Mode (“L” and “H” Held Output in
Count Stops).
Table 17.15
Output Compare Mode Specifications
Item
Specification
Count sources
f1, f8, f32
Count operations
Increment
PWM waveform
PWM period: 1/fk × (n + 1)
“L” level width: 1/fk × (m + 1)
“H” level width: 1/fk × (n - m)
fk: Frequency of count source
m: Value set in the TRFM0 register
n: Value set in the TRFM1 register
Count start condition
The TSTART bit in the TRFCR0 register is set to 1 (count starts).
Count stop condition
The TSTART bit in the TRFCR0 register is set to 0 (count stops).
Interrupt request generation
timing
• When compare 0 match is generated [compare 0 interrupt]
• When compare 1 match is generated [compare 1 interrupt]
• When time RF overflows [timer RF interrupt].
TRFO00 to TRFO12 pin
functions
Programmable I/O port or output-compare output
Counter value reset timing
In the following cases, the value in the TRF register is set to 0000h.
• When the TSTART bit in the TRFCR0 register is set to 0 (count stops).
• The CCLR bit in the TRFCR1 register is set to 1 (the TRF register is set to 0000h at
compare 1 match) in the compare 1 matches.
Read from timer
• The count value can be read out by reading the TRF register.
• The value in the compare register can be read out by reading registers TRFM0 and
TRFM1.
Write to timer
Write to the TRF register is disabled
Select functions
• Output-compare output pin selected
Either 1 pin or multiple pins among TRFO00 to TRFO02, or TRFO10 to TRFO12
(bits TRFOUT0 to TRFOUT5 in the TRFOUT register).
• Output level at the compare match
Selects “H”, “L”, inverted, or unchanged (bits TRFC14 to TRFC17 in the TRFCR1
register).
• Output level inverted
Selects output level inverted or not inverted (bits TRFOUT6 to TRFOUT7 in the
TRFOUT register).
• Output level at the count stops
Selects “H”, “L”, or unchanged (bits TRFC05 to TRFC06 in the TRFCR0 register).
• Timing to set the TRF register to 0000h
Overflow or compare 1 match in the TRFM1 register (the CCLR bit in the TRFCR1
register).
• TRFO11 pin select function
P3_4 or P3_7 is selected by the TRFOSEL bit in the PINSR4 register.
It applies under the following conditions.
• CMP output “H” when compare 0 is matched
• CMP output “L” when compare 1 is matched
• CMP output not inverted
n + 1
n - m
m + 1



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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