Events and Interrupts
4-36
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
Depending on how interrupt sources map to the general-purpose interrupt
inputs of the core, the interrupt service routine may have to interrogate
multiple interrupt status bits to determine the source of the interrupt.
One of the first instructions executed in an interrupt service routine
should read
SIC_ISR
to determine whether more than one of the peripher-
als sharing the input has asserted its interrupt output. The service routine
should fully process all pending, shared interrupts before executing the
RTI
, which enables further interrupt generation on that interrupt input.
[
When an interrupt’s service routine is finished, the
RTI
instruction
clears the appropriate bit in the
IPEND
register. However, the rele-
vant
SIC_ISR
bit is not cleared unless the service routine clears the
mechanism that generated the interrupt.
Many systems need relatively few interrupt-enabled peripherals, allowing
each peripheral to map to a unique core priority level. In these designs,
SIC_ISR
will seldom, if ever, need to be interrogated.
The
SIC_ISR
register is not affected by the state of the System Interrupt
Mask register (
SIC_IMASK
) and can be read at any time. Writes to the
SIC_ISR
register have no effect on its contents.
SIC_IMASK Register
The System Interrupt Mask register (
SIC_IMASK
, shown in the System
Interrupt Appendix of the Blackfin Processor Hardware Reference for your
part) allows masking of any peripheral interrupt source at the System
Interrupt Controller (SIC), independently of whether it is enabled at the
peripheral itself.
A reset forces the contents of
SIC_IMASK
to all 0s to mask off all peripheral
interrupts. Writing a 1 to a bit location turns off the mask and enables the
interrupt.
Summary of Contents for ADSP-BF53x Blackfin
Page 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...