| 数据搜索系统,热门电子元器件搜索 |
|
H8S/2218 数据表(PDF) 408 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2218 数据表(HTML) 408 Page - Renesas Technology Corp |
|
408 / 750 page ![]() Section 11 Realtime Clock (RTC) Rev.6.00 Jun. 03, 2008 Page 360 of 698 REJ09B0074-0600 11.5 Interrupt Source The RTC interrupt sources are listed in table 11.2. There are five kinds of RTC interrupts: week interrupts, day interrupts, hour interrupts, minute interrupts, and second interrupts. When using an interrupt, initiate the RTC last after other registers (include ISCRH and IER of interrupt controller) are set. Do not set multiple interrupt enable bits in RTCCR2 simultaneously to 1. When an interrupt request of the RTC occurs, the IRQ5F flag in ISR is set to 1. When clearing the flag, write 0 after reading the flag = 1. Figure 11.5 shows the initializing setting procedure in using the RTC interrupt and figure 11.6 shows an example of the RTC interrupt handling routine. Table 11.2 Interrupt Source Interrupt Name Interrupt Source Interrupt Enable Bit Overflow interrupt Occurs when the free running counter is overflown. FOIE Week periodic interrupt Occurs every week when the day-of-week date register value becomes 0. WKIE Day periodic interrupt Occurs every day when the day-of-week date register is counted. DYIE Hour periodic interrupt Occurs every hour when the hour date register is counted. HRIE Minute periodic interrupt Occurs every minute when the minute date register is counted. MNIE Second periodic interrupt Occurs every second when the second date register is counted. SEIE |
|
链接网址 |
| 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 |