SAM3N2B Atmel Corporation, SAM3N2B Datasheet - Page 113

no-image

SAM3N2B

Manufacturer Part Number
SAM3N2B
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM3N2B

Flash (kbytes)
128 Kbytes
Pin Count
64
Max. Operating Frequency
48 MHz
Cpu
Cortex-M3
# Of Touch Channels
23
Hardware Qtouch Acquisition
No
Max I/o Pins
47
Ext Interrupts
47
Quadrature Decoder Channels
2
Usb Speed
No
Usb Interface
No
Spi
3
Twi (i2c)
2
Uart
4
Ssc
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
10
Adc Resolution (bits)
10
Adc Speed (ksps)
384
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
16
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Operating Voltage (vcc)
1.62 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
6
Output Compare Channels
6
Input Capture Channels
3
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
10.13.5
10.13.5.1
10.13.5.2
10.13.5.3
10.13.5.4
10.13.5.5
11011A–ATARM–04-Oct-10
CMP
CMN
CMPGT
CMP and CMN
Syntax
Operation
Restrictions
Condition flags
Examples
R2, R9
R0, #6400
SP, R7, LSL #2
Compare and Compare Negative.
where:
cond
Rn
Operand2
details of the options.
These instructions compare the value in a register with Operand2. They update the condition
flags on the result, but do not write the result to a register.
The CMP instruction subtracts the value of Operand2 from the value in Rn. This is the same as
a SUBS instruction, except that the result is discarded.
The CMN instruction adds the value of Operand2 to the value in Rn. This is the same as an
ADDS instruction, except that the result is discarded.
In these instructions:
These instructions update the N, Z, C and V flags according to the result.
• do not use PC
• Operand2 must not be SP.
CMP{cond} Rn, Operand2
CMN{cond} Rn, Operand2
is an optional condition code, see
is the register holding the first operand.
is a flexible second operand. See
“Conditional execution” on page
“Flexible second operand” on page 80
84.
SAM3N
113
for

Related parts for SAM3N2B