| Os motores de busca de Datasheet de Componentes eletrônicos |
|
H8S/2437 Folha de dados(PDF) 444 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2437 Folha de dados(HTML) 444 Page - Renesas Technology Corp |
|
444 / 746 page ![]() Rev. 1.00, 09/03, page 406 of 704 14.4 Operation 14.4.1 Duty Measurement for External Event Signal Figure 14.2 shows an example of duty measurement for the external event signal. 1. Select the external event signal whose duty needs to be measured by the IS2 to IS0 bits in TWCR1. 2. Select the count clock source for TWCNT by the CK2 to CK0 bits in TWCR1. 3. Write 1 to the START bit in TWCR2. At this time, TWCNT is cleared to H ′00. 4. When a rising edge of the external event signal is detected, TWCNT starts counting. Then, if a falling edge of the external event signal is detected, the TWCNT value is transferred to TWICR. If the second rising edge of the external event signal is detected, TWCNT stops counting. At this time, the ENDF flag in TWCR2 is set to 1. When TWICR and TWCNT values are read and then compared, duty measurement for the external event signal is accomplished. Count stop TWCNT clear TWCNT START signal External event signal M N XN H'00 t TWICR Duty measurement end flag Figure 14.2 Example of Duty Measurement for External Event Signal |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |