Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

R8C/L3AB Scheda tecnica(PDF) 521 Page - Renesas Technology Corp

Il numero della parte R8C/L3AB
Spiegazioni elettronici  RENESAS MCU R8C FAMILY / R8C/Lx SERIES
PDF  848 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  RENESAS [Renesas Technology Corp]
Homepage  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C/L3AB Scheda tecnica(HTML) 521 Page - Renesas Technology Corp

Back Button R8C/L3AB Datasheet HTML 517Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 518Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 519Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 520Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 521Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 522Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 523Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 524Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 525Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 521 / 848 page
background image
REJ09B0441-0010 Rev.0.10
Jul 30, 2008
Page 485 of 809
Under development Preliminary specification
Specifications in this manual are tentative and subject to change.
23. Timer RG
R8C/L35A Group, R8C/L36A Group, R8C/L38A Group, R8C/L3AA Group,
R8C/L35B Group, R8C/L36B Group, R8C/L38B Group, R8C/L3AB Group
23.6.1
Procedure Example for Setting PWM Mode
Figure 23.13 shows a Procedure Example for Setting PWM Mode.
Figure 23.13
Procedure Example for Setting PWM Mode
23.6.2
Operating Example
Figure 23.14 shows an Operating Example in PWM Mode (1).
When PWM mode is selected while the TRGIOASEL0 bit in the TRGSR register is set to 1, the TRGIOA pin
automatically functions as an output pin, high-level output at compare match with the TRGGRA register is
selected, and low-level output at compare match with the TRGGRB register is selected. However, regardless of
the setting of the TRGIOR register, the TRGIOB pin functions as an I/O port.
This example applies when a compare match with the TRGGRA or TRGGRB register is set as the counter clear
source for the TRG register. The initial status of the TRGIOA pin depends only on the counter clear sources.
This correspondence is shown in Table 23.10.
Table 23.10
Correspondence between Initial Status of TRGIOA Pin and Counter Clear Sources
Counter Clear Source
Initial Status of TRGIOA Pin
Compare match with TRGGRA register
High
Compare match with TRGGRB register
Low
(1) Use bits TCK0 to TCK2 in the TRGCR register to select
the count source. When an external clock is selected,
use bits CKEG0 and CKEG1 in the TRGCR register to select
the edge of the external clock.
(2) Use bits CCLR0 and CCLR1 in the TRGCR register to select
the counter clear source.
(3) Set the high-level output timing for PWM output waveforms in
the TRGGRA register.
(4) Set the low-level output timing for PWM output waveforms in
the TRGGRB register.
(5) Use the PWM bit in the TRGMR register to select PWM mode.
When PWM mode is selected, TRGGRA and TRGGRB are
set as the output compare registers for setting the high-level output
or low-level output timing for PWM output waveforms, regardless of
the content of the TRGIOR register.
While the TRGIOASEL0 bit in the TRGSR register is set to 1, the
TRGIOA pin automatically functions as a PWM output pin.
However, regardless of the setting of the TRGIOR register, the
TRGIOB pin functions as an I/O port.
(6) Set the TSTART bit in the TRGMR register to 1 to start the count
operation of the TRG register.
PWM mode
(1)
PWM mode
Select the counter clock
Select the counter clear
source
Set TRGGRA
Set TRGGRB
Set PWM mode
Count operation starts
(2)
(3)
(4)
(5)
(6)



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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