| Electronic Components Datasheet Search |
|
SN8F27E64LKB Datasheet(PDF) 18 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8F27E64LKB Datasheet(HTML) 18 Page - SONiX Technology Company |
|
18 / 192 page ![]() SN8F27E60 Series 8-Bit Flash Micro-Controller with Embedded ICE and ISP SONiX TECHNOLOGY CO., LTD Page 18 Version 1.4 2.1.2 INTERRUPT VECTOR (0008H~0014H) A 13-word vector address area is used to execute interrupt request. If any interrupt service executes, the program counter (PC) value is stored in stack buffer and jump to 0008h~0014h of program memory to execute the vectored interrupt. This interrupt is multi-vector and each of interrupts points to unique vector. Users have to define the interrupt vector. The following example shows the way to define the interrupt vector in the program memory. Note: The “PUSH” and “POP” operations aren’t through instruction (PUSH, POP) and can executed save and load ACC and working registers (0x80~0x8F) by hardware automatically. ROM Priority 0008H WAKE Interrupt vector 1 0009H INT0 Interrupt vector 2 000AH INT1 Interrupt vector 3 000BH T0 Interrupt vector 4 000CH TC0 Interrupt vector 5 000DH TC1 Interrupt vector 6 000EH TC2 Interrupt vector 7 000FH T1 Interrupt vector 8 0010H ADC Interrupt vector 9 0011H SIO Interrupt vector 10 0012H MSP Interrupt vector 11 0013H UART RX Interrupt vector 12 0014H UART TX Interrupt vector 13 When one interrupt request occurs, and the program counter points to the correlative vector to execute interrupt service routine. If WAKE interrupt occurs, the program counter points to ORG 8. If INT0 interrupt occurs, the program counter points to ORG 9. In normal condition, several interrupt requests happen at the same time. So the priority of interrupt sources is very important, or the system doesn’t know which interrupt is processed first. The interrupt priority is follow vector sequence. ORG 8 is priority 1. ORG 9 is priority 2. In the case, the interrupt processing priority is as following. If WAKE, T0, TC2, T1 and SIO interrupt requests happen at the same time, the system processing interrupt sequence is WAKE, T0, TC2, T1, and then SIO. The system processes WAKE interrupt service routine first, and then processes T0 interrupt routine…Until finishing processing all interrupt requests. Example: Interrupt Request Occurrence Sequence: (2~8 interrupt requests occur during WAKE interrupt service routine execution.) 1 2 3 4 5 6 7 8 WAKE ADC TC1 T0 SIO INT0 T1 UART RX Interrupt Processing Sequence: 1 2 3 4 5 6 7 8 WAKE INT0 T0 TC1 T1 ADC SIO UART RX |
|
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 |