| Electronic Components Datasheet Search |
|
H8/3021 Datasheet(PDF) 261 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3021 Datasheet(HTML) 261 Page - Renesas Technology Corp |
|
261 / 712 page ![]() 8. 16-Bit Integrated Timer Unit (ITU) Rev.2.00 Mar. 22, 2007 Page 237 of 684 REJ09B0352-0200 8.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 8.26 shows a sample procedure for setting up synchronization. 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. Figure 8.26 Setup Procedure for Synchronization (Example) |
|
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 |