| 数据搜索系统,热门电子元器件搜索 |
|
SH7041A 数据表(PDF) 372 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7041A 数据表(HTML) 372 Page - Renesas Technology Corp |
|
372 / 923 page ![]() 334 Procedure for Setting Buffer Mode (Figure 12.19): 1.Use the timer I/O control register (TIOR) to set the TGR as either an input capture or output compare register. 2.Use the timer mode register (TMDR) BFA, and BFB bits to set the TGR for buffer mode. 3.Set the CST bit in the TSTR to 1 to start the count operation. 1 2 3 Select TGR function Buffer mode Select buffer mode Start counting Buffer mode Figure 12.19 Buffer Operation Setting Procedure Buffer Operation Examples—when TGR Is an Output Compare Register: Figure 12.20 shows an example of channel 0 set to PWM mode 1, and the TGRA and TGRC registers set for buffer operation. The TCNT counter is cleared by a compare-match B, and the output is a 1 upon compare-match A and 0 output upon compare-match B. Because buffer mode is selected, a compare-match A changes the output, and the buffer register TGRC value is simultaneously transferred to the general register TGRA. This operation is repeated with each occurrence of a compare-match A. See section 12.4.6, PWM Mode, for details on the PWM mode. |
|
链接网址 |
| 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 |