| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
3819 bảng dữ liệu(PDF) 167 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
3819 bảng dữ liệu(HTML) 167 Page - Renesas Technology Corp |
|
167 / 218 page ![]() 153 2. APPLICATION 3819 Group USER’S MANUAL MITSUBISHI MICROCOMPUTER 3819 Group 2.7 Zero cross detection circuit Control procedure : Set the related registers according to Figure 2.7.8. At the falling edge of the commercial frequency (50 Hz or 60 Hz), the ZCR interrupt occurs. The clock is counted up every second in the ZCR interrupt processing routine. Figure 2.7.9 shows a control procedure. Fig. 2.7.9 Control procedure [Clock count using ZCR interrupt (using a noise filter)] ZCR interrupt processing routine (Note 1) CLT (Note 2) CLD (Note 3) Push register to stack RTI ~ ~ RESET Initialization SEI CLT CLD CPUM ZCRCON Wait of 2 sampling clocks IREQ1 NOP ICON1 1 second counter (Internal RAM) CLI (Address:3B16), bit6 (Address:3916) (Address:3C16), bit1 (Address:3E16), bit1 0 000000012 0 1 50(60) = 0 1 second counter = 0? 1 second counter – 1 1 second counter 50(60) Clock count up (second–year) Pop registers All interrupts : Disabled Main clock division ratio : select the high-speed mode Setting of the Zero cross detection control register Set the INT1/ZCR interrupt request bit to “0” ZCR interrupt : Enabled Input 50 Hz (60 Hz) Interrupts : Enabled Note 2 : When using the index X mode flag (T). Note 3 : When using the decimal mode flag (D). Push into the register used in the interrupt processing routine. Input 50 Hz (60 Hz) Pop registers which is pushed to stack Note 1 : The ZCR interrupt occurs with delay of the Zero cross by a minimum of 1 sampling clock or a maximum of 2 sampling clocks because a noise filter is used. q q q q q q q q q q ≠ 0 |
|
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 |