| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
H8S/2437 bảng dữ liệu(PDF) 444 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2437 bảng dữ liệu(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 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |