| Electronic Components Datasheet Search |
|
HT68F03 Datasheet(PDF) 106 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F03 Datasheet(HTML) 106 Page - Holtek Semiconductor Inc |
|
106 / 139 page ![]() HT66F03/HT66F04/HT68F03/HT68F04 Rev. 1.00 106 April 16, 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 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 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 ¾¾ INT Pin INTE INTF ¾ Comparator CPE CPF ¾ A/D Converter ADE ADF ¾ Multi-function MFnE MFnF n=0~2 Time Base TBnE TBnF n=0~1 LVD LVE LVF ¾ EEPROM DEE DEF ¾ TM TnPE TnPF n=0~2 TnAE TnAF TnBE TnBF n=2 Interrupt Register Bit Naming Conventions · Interrupt Register Contents ¨ HT66F03 Name Bit 76543210 INTEG ¾¾¾¾ INTS1 INTS0 INTC0 ¾ MF0F CPF INTF MF0E CPE INTE EMI INTC1 TB0F ADF MF2F ¾ TB0E ADE MF2E ¾ INTC2 ¾¾¾ TB1F ¾¾¾ TB1E MFI0 T1AF T1PF T0AF T0PF T1AE T1PE T0AE T0PE MFI1* Reserved MFI2 ¾¾ DEF LVF ¾¾ DEE LVE * MFI1 register is reserved for advanced expansion. It is recommended that do not access the MFI1 register and keep its initial setting to avoid malfunction. |
|
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 |