| Electronic Components Datasheet Search |
|
H8/3003 Datasheet(PDF) 350 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3003 Datasheet(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 |
|
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 |
| 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 |