Electronic Components Datasheet Search |
|
MC68HCL05P1A Datasheet(PDF) 38 Page - Freescale Semiconductor, Inc |
|
MC68HCL05P1A Datasheet(HTML) 38 Page - Freescale Semiconductor, Inc |
38 / 124 page Interrupts General Release Specification MC68HC05P1A — Rev. 3.0 Interrupts When the current instruction is completed, the processor checks all pending hardware interrupts. If interrupts are not masked by the I bit being clear in the condition code register (CCR) and the corresponding interrupt enable bit being set, the processor proceeds with interrupt processing. Otherwise, the next instruction is fetched and executed. The SWI is executed the same as any other instruction, regardless of the state of the I bit. When an interrupt is processed, the CPU puts the register contents on the stack, sets the I bit in the CCR, and fetches the address of the corresponding interrupt service routine from the vector table at locations $1FF0–$1FFF. If more than one interrupt is pending when the interrupt vector is fetched, the interrupt with the highest vector location, shown in Table 4-1, will be serviced first. An RTI instruction is used to signify when the interrupt software service routine is completed. The RTI instruction causes the CPU state to be recovered from the stack and normal processing to resume at the next instruction that was executed when the interrupt took place. Figure 4-1 shows the event sequence that occurs during interrupt processing. Table 4-1. Vector Addresses for Interrupts and Reset Register Flag Name Enable Bit Interrupt CPU Interrupt Vector Address N/A N/A N/A Reset RESET $1FFE–$1FFF N/A N/A N/A Software SWI $1FFC–$1FFD N/A N/A N/A External Interrupt IRQ $1FFA–$1FFB TSR ICF ICIE Timer Input Capture TIMER $1FF8–$1FF9 TSR OCF OCIE Timer Output Compare TIMER $1FF8–$1FF9 TSR TOF TOIE Timer Overflow TIMER $1FF8–$1FF9 N/A N/A N/A Unimplemented N/A $1FF6-$1FF7 N/A N/A N/A Unimplemented N/A $1FF4-$1FF5 N/A N/A N/A Unimplemented N/A $1FF2-$1FF3 N/A N/A N/A Unimplemented N/A $1FF0-$1FF1 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
Similar Part No. - MC68HCL05P1A |
|
Similar Description - MC68HCL05P1A |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |