| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT66F016 bảng dữ liệu(PDF) 84 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F016 bảng dữ liệu(HTML) 84 Page - Holtek Semiconductor Inc |
|
84 / 116 page ![]() HT66F016/HT66F017/HT68F016/HT68F017 Rev. 1.00 84 May 14, 2012 Interrupts Interrupts are an important part of any microcontroller system. When an external event or an internal function such as a Timer Module or an A/D converter requires microcontroller attention, their corresponding interrupt will enforce a temporary suspension of the main pro- gram allowing the microcontroller to direct attention to their respective needs. The device contains several ex- ternal interrupt and internal interrupts functions. The ex- ternal interrupt is generated by the action of the external INT pin, while the internal interrupts are generated by various internal functions such as the TMs, Comparator, Time Base, LVD, EEPROM, SIM and the A/D converter. Interrupt Registers Overall interrupt control, which basically means the set- ting of request flags when certain microcontroller condi- tions occur and the setting of interrupt enable bits by the application program, is controlled by a series of regis- ters, located in the Special Purpose Data Memory, as shown in the accompanying table. The number of regis- ters depends upon the device chosen but fall into three categories. The first is the INTC0~INTC2 registers which setup the primary interrupts, the second is the MFI0~MFI2 registers which setup the Multi-function in- terrupts. Finally there is an INTEG register to setup the external interrupt trigger edge type. Each register contains a number of enable bits to enable or disable individual interrupts as well as interrupt flags to indicate the presence of an interrupt request. The naming convention of these follows a specific pattern. First is listed an abbreviated interrupt type, then the (op- tional) number of that interrupt followed by either an ²E² for enable/ disable bit or ²F² for request flag. Function Enable Bit Request Flag Notes Global EMI ¾¾ INTn Pin INTnE INTnF n=0~1 Comparator CPE CPF ¾ Multi-function MFnE MFnF n=0~2 A/D Converter ADE ADF HT66F016, HT66F017 only Time Base TBnE TBnF n=0~1 LVD LVE LVF ¾ EEPROM DEE DEF ¾ TM TnPE TnPF n=0~1 TnAE TnAF Interrupt Register Bit Naming Conventions · HT66F016, HT68F016 Interrupt Register Contents Name Bit 76543210 INTEG ¾¾¾¾ INT1S1 INT1S0 INT0S1 INT0S0 INTC0 ¾¾ CPF INT0F ¾ CPE INT0E EMI INTC1 TB0F ADF MF2F MF1F TB0E ADE MF2E MF1E INTC2 ¾¾ INT1F TB1F ¾¾ INT1E TB1E MFI0 ¾¾¾¾¾¾¾¾ MFI1 ¾¾ T1AF T1PF ¾¾ T1AE T1PE MFI2 ¾¾ DEF LVF ¾¾ DEE LVE Note: HT68F016 doesn ¢t have ADE & ADF bits · HT66F017, HT68F017 Interrupt Register Contents Name Bit 76543210 INTEG ¾¾¾¾ INT1S1 INT1S0 INT0S1 INT0S0 INTC0 ¾ MF0F CPF INT0F MF0E CPE INT0E EMI INTC1 TB0F ADF MF2F MF1F TB0E ADE MF2E MF1E INTC2 ¾¾ INT1F TB1F ¾¾ INT1E TB1E MF0I ¾¾ T0AF T0PF ¾¾ T0AE T0PE MFI1 ¾¾ T1AF T1PF ¾¾ T1AE T1PE MFI2 ¾¾ DEF LVF ¾¾ DEE LVE Note: HT68F017 doesn ¢t have ADE & ADF bits |
|
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 |