ADUC7121 Analog Devices, ADUC7121 Datasheet - Page 82

no-image

ADUC7121

Manufacturer Part Number
ADUC7121
Description
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC7121

Mcu Core
ARM7 TDMI
Mcu Speed (mips)
40
Sram (bytes)
8192Bytes
Gpio Pins
32
Adc # Channels
9

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC7121BBCZ
Manufacturer:
AD
Quantity:
416
Part Number:
ADUC7121BBCZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC7121BBCZ-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADuC7121
FIQCLR
FIQCLR is a write-only register that allows the FIQEN register
to clear to mask an interrupt source. Each bit that is set to 1
clears the corresponding bit in the FIQEN register without
affecting the remaining bits. The pair of registers, FIQEN and
FIQCLR, allows independent manipulation of the enable mask
without requiring an atomic read-modify-write.
Use this register to disable an interrupt source only when:
Do not use this register to disable an FIQ source if that FIQ
source has an interrupt pending or could have an interrupt
pending.
FIQCLR Register
Name:
Address:
Default value:
Access:
FIQSTA
FIQSTA is a read-only register that provides the current enabled
FIQ source status (effectively a logic AND of the FIQSIG and
FIQEN bits). When set to 1, that source generates an active FIQ
request to the ARM7TDMI core. There is no priority encoder
or interrupt vector generation. This function is implemented in
software in a common interrupt handler routine.
FIQSTA Register
Name:
Address:
Default value:
Access:
Programmed Interrupts
Because the programmed interrupts are not maskable, they are
controlled by another register (SWICFG) that writes into both
IRQSTA and IRQSIG registers and/or the FIQSTA and FIQSIG
registers at the same time.
The 32-bit register dedicated to software interrupt is SWICFG
described in Table 109. This MMR allows the control of a
programmed source interrupt.
The device is in the interrupt sources interrupt service
routine.
The peripheral is temporarily disabled by its own control
register.
FIQSTA
0xFFFF0100
0x00000000
Read only
FIQCLR
0xFFFF010C
0x00000000
Write only
Rev. 0 | Page 82 of 96
Table 109. SWICFG MMR Bit Designations
Bit
31:3
2
1
0
Any interrupt signal must be active for at least the minimum
interrupt latency time, to be detected by the interrupt controller
and to be detected by the user in the IRQSTA/FIQSTA register.
Vectored Interrupt Controller (VIC)
The ADuC7121 incorporates an enhanced interrupt control
system or vectored interrupt controller. The vectored interrupt
controller for IRQ interrupt sources is enabled by setting Bit 0
of the IRQCONN register. Similarly, Bit 1 of IRQCONN enables
the vectored interrupt controller for the FIQ interrupt sources.
The vectored interrupt controller provides the following
enhancements to the standard IRQ/FIQ interrupts:
IRQ_SOURCE
FIQ_SOURCE
Vectored interrupts—allows a user to define separate
interrupt service routine addresses for every interrupt
source. This is achieved by using the IRQBASE and
IRQVEC registers.
IRQ/FIQ interrupts—can be nested up to eight levels
depending on the priority settings. An FIQ still has a higher
priority than an IRQ. Therefore, if the VIC is enabled for both
the FIQ and IRQ and prioritization is maximized, it is
possible to have 16 separate interrupt levels.
Programmable interrupt priorities—using the IRQP0 to
IRQP3 registers, an interrupt source can be assigned an
interrupt priority level value between 0 and 7.
BIT 31 TO
UNUSED
Description
Reserved.
Programmed Interrupt FIQ. Setting/clearing this bit
corresponds to setting/clearing Bit 1 of FIQSTA and
FIQSIG.
Programmed Interrupt IRQ1. Setting or clearing this bit
corresponds to setting or clearing Bit 1 of IRQSTA and
IRQSIG.
Reserved.
BIT 23
PER INTERRUPT (IRQP0/IRQP1/IRQP2)
PROGRAMMABLE PRIORITY
BIT 22 TO BIT 7
INTERRUPT VECTOR
(IRQBASE)
Figure 37. Interrupt Structure
INTERNAL
ARBITER
LOGIC
ACTIVE IRQ
PRIORITY
HIGHEST
BIT 6 TO
BIT 2
BIT 1 TO
BIT 0
LSB
POINTER TO
FUNCTION
(IRQVEC)

Related parts for ADUC7121