| Electronic Components Datasheet Search |
|
HT68F20 Datasheet(PDF) 143 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F20 Datasheet(HTML) 143 Page - Holtek Semiconductor Inc |
|
143 / 210 page ![]() HT68F20/HT68F30/HT68F40/HT68F50/HT68F60 Rev. 1.00 143 November 3, 2009 Interrupts Interrupts are an important part of any microcontroller system. When an external event or an internal function such as a Timer Module requires microcontroller atten- tion, their corresponding interrupt will enforce a tempo- rary suspension of the main program allowing the microcontroller to direct attention to their respective needs. The device contains several external interrupt and internal interrupts functions. The external interrupts are generated by the action of the external INT0~INT3 and PINT pins, while the internal interrupts are gener- ated by various internal functions such as the TMs, Comparators, Time Base, LVD, EEPROM and SIM. 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 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 ¨ HT68F20 Name Bit 76543210 INTEG ¾¾¾¾ INT1S1 INT1S0 INT0S1 INT0S0 INTC0 ¾ CP0F INT1F INT0F CP0E INT1E INT0E EMI INTC1 ¾ MF1F MF0F CP1F ¾ 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 |