| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
SN8F27E64KB bảng dữ liệu(PDF) 65 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8F27E64KB bảng dữ liệu(HTML) 65 Page - SONiX Technology Company |
|
65 / 192 page ![]() SN8F27E60 Series 8-Bit Flash Micro-Controller with Embedded ICE and ISP SONiX TECHNOLOGY CO., LTD Page 65 Version 1.4 6 6 6 INTERRUPT 6.1 OVERVIEW This MCU provides 13 interrupt sources, including 2 external interrupt (INT0/INT1) and 11 internal interrupt (T0/T1/TC0/TC1/TC2/SIO/MSP/UTX/URX/WAKE/ADC). The external interrupt can wakeup the chip while the system is switched from power down mode to high-speed normal mode, and interrupt request is latched until return to normal mode . Once interrupt service is executed, the GIE bit in STKP register will clear to “0” for stopping other interrupt request. On the contrast, when interrupt service exits, the GI E bit will set to “1” to accept the next interrupts’ request. The interrupt request signals are stored in INTRQ register. INTEN Interrupt Enable Register Interrupt Enable Gating INTRQ 13-Bit Latchs P00IRQ P01IRQ T0IRQ Interrupt Vector Address (0008H~0014H) Global Interrupt Request Signal INT0 Trigger T1 Time Out TC1 Time Out TC2 Time Out T1IRQ INT1 Trigger T0 Time Out SIO Transmitter End UART Transmit End UART Receive End TC1IRQ TC2IRQ SIOIRQ UTXIRQ URXIRQ TC0 Time Out TC0IRQ MSP WAKE MSPIRQ WAKEIRQ ADC Converting End ADCIRQ Note: The GIE bit must enable during all interrupt operation. 6.2 INTERRUPT OPERATION Interrupt operation is controlled by IRQ and IEN bits. The IRQ is interrupt source event indicator, no matter what interrupt function status (enable or disable). The IEN control the system interrupt execution. If IEN = 0, the system won’t jump to interrupt vector to execute interrupt routine. If IEN = 1, the system executes interrupt operation when each of interrupt IRQ flags actives. IEN = 1 and IRQ = 1, the program counter points to interrupt vector and execute interrupt service routine. When any interrupt requests occurs, the system provides to jump to interrupt vector and execute interrupt routine. The first procedure is “PUSH” operation. The end procedure after interrupt service routine execution is “POP” operation. The “PUSH” and “POP” operations aren’t through instruction (PUSH, POP) and executed by hardware automatically. “PUSH” operation: PUSH operation saves the contents of ACC and working registers (0x80~0x8F) into hardware buffers. PUSH operation executes before program counter points to interrupt vector. The RAM bank keeps the status of main routine and doesn’t switch to bank 0 automatically. The RAM bank is selected by program. “POP” operation: POP operation reloads the contents of ACC and working registers (0x80~0x8F) from hardware buffers. POP operation executes as RETI instruction executed. The RAM bank switches to last status of main routine after reloading RBANK content. 0x80~0x87 working registers include L, H, R, Z, Y, X, PFLAG, RBANK, W0~W7. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |