ADUC7122BBCZ-RL Analog Devices Inc, ADUC7122BBCZ-RL Datasheet - Page 83
![PRECISION ANALOG MCU I.C](/photos/6/69/66991/bc-108-2_sml.jpg)
ADUC7122BBCZ-RL
Manufacturer Part Number
ADUC7122BBCZ-RL
Description
PRECISION ANALOG MCU I.C
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC7xxxr
Datasheet
1.ADUC7122BBCZ.pdf
(96 pages)
Specifications of ADUC7122BBCZ-RL
Core Processor
ARM7
Core Size
16/32-Bit
Speed
41.78MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
126KB (63K x 16)
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 13x12b, D/A 12x12b
Oscillator Type
Internal
Operating Temperature
-10°C ~ 95°C
Package / Case
108-LFBGA, CSPBGA
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
ADUC7122BBCZ-RL
ADUC7122BBCZ-RLTR
ADUC7122BBCZ-RLTR
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ADUC7122BBCZ-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
IRQCLRE Register
Name:
Address:
Default Value:
Access:
Table 141. IRQCLRE MMR Bit Designations
Bit
31:26
25
24
23
22
21
20
19
18:0
TIMERS
The ADuC7122 has five general-purpose timers/counters.
The five timers in their normal mode of operation can be either
free-running or periodic.
In free-running mode, the counter decrements/increments
from the maximum/minimum value until zero scale/full scale
and starts again at the maximum/minimum value.
In periodic mode, the counter decrements/increments from the
value in the load register (TxLD MMR) until zero scale/full
scale and starts again at the value stored in the load register.
The value of a counter can be read at any time by accessing its
value register (TxVAL). Timers are started by writing in the
control register of the corresponding timer (TxCON).
In normal mode, an IRQ is generated each time the value of the
counter reaches zero if counting down, or full scale if counting
Timer0
Timer1
Timer2 or wake-up timer
Timer3 or watchdog timer
Timer4
Name
Reserved
IRQ5CLRI
IRQ4CLRI
Reserved
IRQ3CLRI
IRQ2CLRI
IRQ1CLRI
IRQ0CLRI
Reserved
IRQCLRE
0xFFFF0038
0x00000000
Write only
Description
These bits are reserved and should not be
written to.
A 1 must be written to this bit in the IRQ5
interrupt service routine to clear an edge.
A 1 must be written to this bit in the IRQ4
interrupt service routine to clear an edge.
This bit is reserved and should not be
written to.
A 1 must be written to this bit in the IRQ3
interrupt service routine to clear an edge
triggered IRQ3 interrupt.
A 1 must be written to this bit in the IRQ2
interrupt service routine to clear an edge
triggered IRQ2 interrupt.
A 1 must be written to this bit in the IRQ1
interrupt service routine to clear an edge
triggered IRQ1 interrupt.
A 1 must be written to this bit in the IRQO
interrupt service routine to clear an edge
triggered IRQ0 interrupt.
These bits are reserved and should not be
written to.
Rev. 0 | Page 83 of 96
up. An IRQ can be cleared by writing any value to the clear
register of the particular timer (TxCLRI).
The event selection feature allows flexible interrupt generation
based on Timer0 and Timer1. T0CON and T1CON can be used
to configure the interrupt sources, as shown in Table 142. When
either Timer0 or Timer1 expires, an interrupt occurs based on
the event selection in T0CON and T1CON MMRs.
Table 142. Event Selection Numbers
Event Selection
(TxCON[16:12])
00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
01100
01101
01110
01111
10000
10001
TIMER0—LIFETIME TIMER
Timer0 is a general-purpose 48-bit count up or a 16-bit count
up/down timer with a programmable prescaler. Timer0 is
clocked from the core clock, with a prescaler of 1, 16, 256, or
32,768. This gives a minimum resolution of 22 ns when the core
is operating at 41.78 MHz and with a prescaler of 1. Timer0 can
also be clocked from the undivided core clock, internal 32 kHz
oscillator, or external 32 kHz crystal.
In 48-bit mode, Timer0 counts up from zero. The current
counter value can be read from T0VAL0 and T0VAL1.
In 16-bit mode, Timer0 can count up or count down. A 16-bit
value can be written to T0LD that is loaded into the counter. The
current counter value can be read from T0VAL0. Timer0 has a
capture register (T0CAP) that can be triggered by a selected IRQ’s
source initial assertion. When triggered, the current timer value is
copied to T0CAP, and the timer keeps running. This feature can be
used to determine the assertion of an event with more accuracy
than by servicing an interrupt alone.
Timer0 reloads the value from T0LD either when TIMER0
overflows or immediately when T0CLRI is written.
5
15
17
Interrupt
Number
2
3
4
6
7
8
9
10
11
12
13
14
16
18
19
Name
Timer0
Timer1
Wake-up timer (Timer2)
Watchdog timer (Timer3)
Timer4
Reserved
Power supply monitor
Undefined
Flash Block 0
Flash Block 1
ADC
UART
SPI
I2C0 master
I2C0 slave
I2C1 master
I2C1 slave
External IRQ0
ADuC7122