| 数据搜索系统,热门电子元器件搜索 |
|
H8/3003 数据表(PDF) 350 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3003 数据表(HTML) 350 Page - Renesas Technology Corp |
|
350 / 715 page ![]() 10.4.3 Synchronization The synchronization function enables two or more timer counters to be synchronized by writing the same data to them simultaneously (synchronous preset). With appropriate TCR settings, two or more timer counters can also be cleared simultaneously (synchronous clear). Synchronization enables additional general registers to be associated with a single time base. Synchronization can be selected for all channels (0 to 4). Sample Setup Procedure for Synchronization: Figure 10-26 shows a sample procedure for setting up synchronization. Figure 10-26 Setup Procedure for Synchronization (Example) Setup for synchronization Synchronous preset Set the SYNC bits to 1 in TSNC for the channels to be synchronized. When a value is written in TCNT in one of the synchronized channels, the same value is simultaneously written in TCNT in the other channels (synchronized preset). 1. 2. 2 3 1 5 4 5 Select synchronization Synchronous preset Write to TCNT Synchronous clear Clearing synchronized to this channel? Select counter clear source Start counter Counter clear Synchronous clear Start counter Select counter clear source Yes No Set the CCLR1 or CCLR0 bit in TCR to have the counter cleared by compare match or input capture. Set the CCLR1 and CCLR0 bits in TCR to have the counter cleared synchronously. Set the STR bits in TSTR to 1 to start the synchronized counters. 3. 4. 5. 332 |
|
链接网址 |
| 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 |