| 数据搜索系统,热门电子元器件搜索 |
|
H8S/2218 数据表(PDF) 362 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2218 数据表(HTML) 362 Page - Renesas Technology Corp |
|
362 / 750 page ![]() Section 9 16-Bit Timer Pulse Unit (TPU) Rev.6.00 Jun. 03, 2008 Page 314 of 698 REJ09B0074-0600 Table 9.18 PWM Output Registers and Output Pins Output Pins Channel Registers PWM Mode 1 PWM Mode 2 TGRA_0 TIOCA0 TGRB_0 TIOCA0 TIOCB0 TGRC_0 TIOCC0 0 TGRD_0 TIOCC0 TIOCD0 TGRA_1 TIOCA1 1 TGRB_1 TIOCA1 TIOCB1 2 TGRA_2 TIOCA2 TIOCA2 TGRB_2 TIOCB2 Note: In PWM mode 2, PWM output is not possible for the TGR register in which the period is set. Example of PWM Mode Setting Procedure: Figure 9.21 shows an example of the PWM mode setting procedure. PWM mode Select counter clock Select counter clearing source Select waveform output level Set TGR Set PWM mode Start count <PWM mode> Select the counter clock with bits TPSC2 to TPSC0 in TCR. At the same time, select the input clock edge with bits CKEG1 and CKEG0 in TCR. Use bits CCLR2 to CCLR0 in TCR to select the TGR to be used as the TCNT clearing source. Use TIOR to designate the TGR as an output compare register, and select the initial value and output value. Set the cycle in the TGR selected in [2], and set the duty in the other the TGR. Select the PWM mode with bits MD3 to MD0 in TMDR. Set the CST bit in TSTR to 1 start the count operation. [1] [2] [3] [4] [5] [6] [1] [2] [3] [4] [5] [6] Figure 9.21 Example of PWM Mode Setting Procedure |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |