| 전자부품 데이터시트 검색엔진 |
|
H8S/2437 데이터시트(PDF) 444 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2437 데이터시트(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 |
|
링크 URL |
| 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 |