Electronic Components Datasheet Search
  English  ▼

X  

SH7052 Datasheet(PDF) 406 Page - Renesas Technology Corp

Part # SH7052
Description  SuperHTM RISC engine
PDF  919 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

SH7052 Datasheet(HTML) 406 Page - Renesas Technology Corp

Back Button SH7052 Datasheet HTML 402Page - Renesas Technology Corp SH7052 Datasheet HTML 403Page - Renesas Technology Corp SH7052 Datasheet HTML 404Page - Renesas Technology Corp SH7052 Datasheet HTML 405Page - Renesas Technology Corp SH7052 Datasheet HTML 406Page - Renesas Technology Corp SH7052 Datasheet HTML 407Page - Renesas Technology Corp SH7052 Datasheet HTML 408Page - Renesas Technology Corp SH7052 Datasheet HTML 409Page - Renesas Technology Corp SH7052 Datasheet HTML 410Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 406 / 919 page
background image
380
Sample Setup Procedure for PWM Timer Operation (Channels 3 to 5 ): An example of the
setup procedure for PWM timer operation (channels 3 to 5 ) is shown in figure 10.59.
1. Set the first-stage counter clock ø' in prescaler register 1 (PSCR1), and select the second-stage
counter clock ø" with the CKSEL bit in the timer control register (TCR). When selecting an
external clock, at the same time select the external clock edge type with the CKEG bit in TCR.
2. Set the port control registers (PxCRH, PxCRL) corresponding to the waveform output port to
ATU output compare-match output. Also set the corresponding bit to 1 in the port IO register
(PxIOR) to specify the output attribute.
3. Set bit T3PWM to T5PWM in the timer mode register (TMDR) to PWM mode. When PWM
mode is set, the timer operates in PWM mode irrespective of the timer I/O control register
(TIOR) contents, and general registers (GR3A to GR3D, GR4A to GR4D, GR5A to GR5D)
can be written to.
4. The GR3A to GR3C, GR4A to GR4C, and GR5A to GR5C ATU general registers are used as
duty registers (DTR), and the GR3D, GR4D, and GR5D ATU general registers as cycle
registers (CYLR). Set the PWM waveform output 0 output timing in DTR, and the PWM
waveform output 1 output timing in CYLR. Also, if necessary, interrupt requests can be sent to
the CPU at the 0/1 output timing by making a setting in the timer interrupt enable register
(TIER).
5. Set the corresponding bit to 1 in the timer start register (TSTR) to start the free-running
counter (TCNT) for the relevant channel.



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