| Electronic Components Datasheet Search |
|
SN8F27E64LKB Datasheet(PDF) 78 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8F27E64LKB Datasheet(HTML) 78 Page - SONiX Technology Company |
|
78 / 192 page ![]() SN8F27E60 Series 8-Bit Flash Micro-Controller with Embedded ICE and ISP SONiX TECHNOLOGY CO., LTD Page 78 Version 1.4 6.15 MULTI-INTERRUPT OPERATION Under certain condition, the software designer uses more than one interrupt requests. Processing multi-interrupt request requires setting the priority of the interrupt requests. The IRQ flags of interrupts are controlled by the interrupt event. Nevertheless, the IRQ flag “1” doesn’t mean the system will execute the interrupt vector. In addition, which means the IRQ flags can be set “1” by the events without enable the interrupt. Once the event occurs, the IRQ will be logic “1”. The IRQ and its trigger event relationship is as the below table. Interrupt Name Trigger Event Description WAKEIRQ Wake-up from power down or green mode P00IRQ P0.0 trigger controlled by PEDGE P01IRQ P0.1 trigger controlled by PEDGE T0IRQ T0C overflow TC0IRQ TC0C overflow TC1IRQ TC1C overflow TC2IRQ TC2C overflow T1IRQ T1CH, T1CL overflow ADCIRQ ADC converting end. SIOIRQ SIO transmitter successfully. MSPIRQ MSP transmitter successfully. RXIRQ UART transmit successfully. TXIRQ UART receive successfully. For multi-interrupt conditions, two things need to be taking care of. One is that it is multi-vector and each of interrupts points to unique vector. Two is users have to define the interrupt vector. The following example shows the way to define the interrupt vector in the program memory. Example: Check the interrupt request under multi-interrupt operation ORG 8 ; Interrupt vector JMP ISR_WAKE JMP ISR_INT0 JMP ISR_INT1 JMP ISR_T0 JMP ISR_TC0 JMP ISR_TC1 JMP ISR_TC2 JMP ISR_T1 JMP ISR_ADC JMP ISR_SIO JMP ISR_MSP JMP ISR_UART_RX JMP ISR_UART_TX ISR_WAKE: ; WAKE-UP interrupt service routine RETI ; Exit interrupt vector ISR_INT0: ; INT0 interrupt service routine ; RETI ; Exit interrupt vector ISR_INT1: ; INT1 interrupt service routine RETI ; Exit interrupt vector … … ISR_UART_TX: ; UART_TX interrupt service routine RETI ; Exit interrupt vector |
|
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 |