| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 158 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 158 Page - Holtek Semiconductor Inc |
|
158 / 250 page ![]() HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Rev. 1.20 158 June 4, 2010 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 interrupts are generated by the action of the external INT0~INT3 and PINT pins, while the internal in- terrupts are generated by various internal functions such as the TMs, Comparators, 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~INTC3 registers which setup the primary interrupts, the second is the MFI0~MFI3 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 registers as well as interrupt flags to indicate the presence of an interrupt request. The nam- ing convention of these follows a specific pattern. First is listed an abbreviated interrupt type, then the (optional) number of that interrupt followed by either an ²E² for en- able/disable bit or ²F² for request flag. Function Enable Bit Request Flag Notes Global EMI ¾¾ Comparator CPnE CPnF n=0or1 INTn Pin INTnE INTnF n = 0~3 A/D Converter ADE ADF ¾ Multi-function MFnE MFnF n = 0~5 Time Base TBnE TBnF n=0or1 SIM SIME SIMF ¾ LVD LVE LVF ¾ EEPROM DEE DEF ¾ PINT Pin XPE XPF ¾ TM TnPE TnPF n = 0~3 TnAE TnAF TnBE TnBF Interrupt Register Bit Naming Conventions · Interrupt Register Contents ¨ HT66F20 Name Bit 76543210 INTEG ¾¾¾¾ INT1S1 INT1S0 INT0S1 INT0S0 INTC0 ¾ CP0F INT1F INT0F CP0E INT1E INT0E EMI INTC1 ADF MF1F MF0F CP1F ADE MF1E MF0E CP1E INTC2 MF3F TB1F TB0F MF2F MF3E TB1E TB0E MF2E MFI0 ¾¾ T0AF T0PF ¾¾ T0AE T0PE MFI1 ¾¾ T1AF T1PF ¾¾ T1AE T1PE MFI2 DEF LVF XPF SIMF DEE LVE XPE SIME |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |