- •Contents
- •Introduction
- •1.1 Scope
- •Figure 1-1: Main system blocks
- •1.2 Summary
- •See Chapter 2, Memory Map.
- •Level sensitive interrupts.
- •Programmed interrupt source available
- •See Chapter 3, Interrupt Controller.
- •Free-running or periodic timer modes.
- •See Chapter 4, Timer.
- •See Chapter 5, Communications Channel.
- •"Wait for Interrupt" Pause mode.
- •See Chapter 6, Remap and Pause.
- •Memory Map
- •2.1 Introduction
- •2.2 Memory Map Base Addresses
- •Interrupt Controller
- •3.1 Introduction
- •Figure 3-1: FIQ and IRQ interrupts
- •3.2 Interrupt Control
- •Figure 3-2: Interrupt Controller Bit Slice
- •3.3 Interrupt Controller Register Descriptions
- •3.5 Interrupt Controller Memory Map
- •Timer
- •4.1 Introduction
- •4.2 Timer Operation
- •Figure 4-1: Timer Block Diagram
- •Figure 4-2: Timer Pre-scale Unit
- •4.3 Timer Register Descriptions
- •4.3.1 Load Register
- •4.3.2 Value
- •4.3.3 Clear
- •4.3.4 Control Register
- •Figure 4-3: Timer Register Bit Positions
- •1—Timer Enabled
- •1—Periodic Timer Model
- •Clock
- •Divided by
- •Stages of
- •Pre-scale
- •Undefined
- •Table 4-1: Bits 3 – 2: Prescale bits
- •4.4 Timer Memory Map
- •Address
- •Read Location
- •Write Location
- •TimerBase
- •Timer1Load
- •Timer1Load
- •TimerBase + 0x04
- •Timer1Value
- •Reserved
- •TimerBase + 0x08
- •Timer1Control
- •Timer1Control
- •TimerBase + 0x0C
- •Reserved
- •Timer1Clear
- •TimerBase + 0x10
- •Reserved
- •Reserved
- •TimerBase + 0x20
- •Timer2Load
- •Timer2Load
- •TimerBase + 0x24
- •Timer2Value
- •Reserved
- •TimerBase + 0x28
- •Timer2Control
- •Timer2Control
- •TimerBase + 0x2C
- •Reserved
- •Timer2Clear
- •TimerBase + 0x30
- •Reserved
- •Reserved
- •Table 4-2: Timer Address Map
- •Communications Channel
- •5.1 Introduction
- •Remap and Pause
- •6.1 Introduction
- •6.2 Pause
- •6.4 Reset Status
- •6.5 Clear Reset Memory Map
- •6.6 Remap and Pause Memory Map
- •Address
- •Read Location
- •Write Location
- •RemapBase
- •Reserved
- •Pause
- •RemapBase + 0x10
- •Identification
- •Reserved
- •RemapBase + 0x20
- •Reserved
- •ClearResetMap
- •RemapBase + 0x30
- •ResetStatus
- •ResetStatusSet
- •RemapBase + 0x34
- •Reserved
- •ResetStatusClear
- •Table 6-1: Remap and Pause Memory Map
Interrupt Controller
3.2Interrupt Control
The interrupt controller provides interrupt source status, interrupt request status and an enable register. The enable register is used to determine if an active interrupt source should generate an interrupt request to the processor.
The interrupt source status indicates if the appropriate interrupt source is active prior to masking. The interrupt source shall be active HIGH and therefore a logic HIGH in the source status register indicates that the interrupt source is active.
The interrupt request status indicates if the interrupt source will generate an interrupt request to the processor.
The enable register has a dual mechanism for setting and clearing the enable bits. This allows enable bits to be set or cleared independently, with no knowledge of the other bits in the enable register.
When writing to the enable set location, each data bit that is high will set the corresponding bit in the enable register and all other bits of the enable register will be unaffected. The enable clear location is conversely used to clear bits in the enable register while leaving other bits unaffected.
Figure 3-2: Interrupt Controller Bit Slice below shows a single bit-slice of the interrupt controller.
Enable Set |
|
|
|
|
|
|
|
|
|
Set |
|
|
|
Enable |
|||
|
|
|
|
|
|
|||
Enable Clear |
|
|
|
|
|
|||
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
||
|
Clear |
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nterrupt |
|
|
|
|
|
|
|
|
Interrupt Request |
||||||
Source |
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Source Status |
|||||
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nIRQ |
|
||
|
Other Interrupt Bit Slices |
|
|
|||||
|
|
|
|
|||||
|
|
|
||||||
|
|
|
|
|
|
|
||
|
Figure 3-2: Interrupt Controller Bit Slice |
|
||||||
|
|
|
|
|
|
|
|
|
3-4 |
Reference Peripherals Specification |
|
|
|
||||
|
|
|
||||||
|
|
|
|
ARM DDI 0062D |
|
|
|
|
|
|
|
|
|
|
|
|
|
Open Access
Interrupt Controller
The FIQ interrupt controller consists of a single bit slice, located on bit 0. The IRQ controller, however, will have a larger number of bit slices, the exact size being dependent on the system implementation.
|
|
Reference Peripherals Specification |
3-5 |
|
|
ARM DDI 0062D |
|
|
|
|
|
Open Access