interrupts - CSE 380 Interrupts Overview Interrupt Sources...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 380 Interrupts Overview Interrupt Sources 21 Generated by Internal Function Blocks External Pins Interrupt Types Fast Normal Interrupt Sources Selected Individual Interrupt Sources User Interrupt (Momentary Switch) Bit 0 UART0 Transmit Bit 4 UART0 Receive & Error Bit 5 UART1 Transmit Bit 6 UART1 Receive & Error Bit 7 Timer 0 Bit 10 Timer 1 Bit 11 Interrupt Registers Interrupt Mode Register Addresses INTMOD 0x3FF4000 Function Specifies fast (FIQ) or normal (IRQ) interrupts FIQ = 1 IRQ = 0 Unused Interrupt Mode Bits 0 31 21 20
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Interrupt Pending Register Addresses INTPND 0x3FF4004 Function Specifies whether an interrupt source is pending Pending = 1 Not Pending = 0 Must be cleared at top of service routine Interrupt Mask Register Addresses INTMSK 0x3FF4008 Function Individual Interrupt Masks Specifies whether the individual interrupt is handled by the CPU Serviced = 0 Not Serviced = 1 Global Mask Bit (G) Enable Interrupt Service Requests = 0 Disable Interrupt Service Requests = 1 Interrupt Priority Register Interrupt index value is written to appropriate position to set the priority Index is the same as the bit position in the MODE, MASK, and PENDING registers Unused Interrupt Pending Bits 0 31 21 20 Unused G Individual Interrupt Masks 0 31 22 21 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 29 14 0 0 0 0 0 0 0 0 0 0 0 0 21 6 17 2 25 10 28 13 1 20 5 24 9 27 12 0 19 4 0x3FF400C 0x3FF4010 0x3FF4018 0x3FF4014 0x3FF401C 0x3FF4020 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 31 16 0 0 0 0 0 0 0 0 0 0 0 0 23 8 INTPRI0 INTPRI1 INTPRI3 INTPRI2 INTPRI4 INTPRI5 26 11 PRIORITY3 PRIORITY7 PRIORITY15 PRIORITY11 PRIORITY19 PRIORITY2
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 6

interrupts - CSE 380 Interrupts Overview Interrupt Sources...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online