SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 137

no-image

SAM4S16C

Manufacturer Part Number
SAM4S16C
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM4S16C

Flash (kbytes)
1024 Kbytes
Pin Count
100
# Of Touch Channels
32
Hardware Qtouch Acquisition
No
Max I/o Pins
79
Ext Interrupts
79
Usb Transceiver
1
Quadrature Decoder Channels
2
Usb Speed
Full Speed
Usb Interface
Device
Spi
3
Twi (i2c)
2
Uart
4
Ssc
1
Sd / Emmc
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
12
Adc Speed (ksps)
1000
Analog Comparators
1
Resistive Touch Screen
No
Dac Channels
2
Dac Resolution (bits)
12
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
128
Self Program Memory
YES
External Bus Interface
1
Dram Memory
No
Nand Interface
Yes
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
Yes / No
Timers
6
Output Compare Channels
6
Input Capture Channels
6
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
11.6.6.1
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
MUL, MLA, and MLS
Multiply, Multiply with Accumulate, and Multiply with Subtract, using 32-bit operands, and pro-
ducing a 32-bit result.
Syntax
MUL{S}{cond} {Rd,} Rn, Rm ; Multiply
MLA{cond} Rd, Rn, Rm, Ra ; Multiply with accumulate
MLS{cond} Rd, Rn, Rm, Ra ; Multiply with subtract
where:
cond
S
Rd
Rn, Rm
Ra
Operation
The
of the result in
The
least significant 32 bits of the result in
The
from
The results of these instructions do not depend on whether the operands are signed or
unsigned.
Restrictions
In these instructions, do not use SP and do not use PC.
If the S suffix is used with the
Condition Flags
If
Examples
• the
• updates the N and Z flags according to the result
• does not affect the C and V flags.
S
MUL
MLA
MULS
MULLT R2, R3, R2
MLS
Rd
Rd
is specified, the
MUL
MLA
MLS
Ra
,
must be the same as
Rn
cond
, and places the least significant 32 bits of the result in
instruction multiplies the values from
, and
instruction multiplies the values from
instruction multiplies the values from
R10, R2, R1, R5 ; Multiply with accumulate, R10 = (R2 x R1) + R5
R4, R5, R6, R7 ; Multiply with subtract, R4 = R7 - (R5 x R6)
R10, R2, R5
suffix must not be used.
R0, R2, R2
Rm
Rd
are registers holding the values to be multiplied.
is an optional condition code, see
is an optional suffix. If
of the operation, see
is the destination register. If
is a register holding the value to be added or subtracted from.
.
must all be in the range
MUL
instruction:
; Multiply, R10 = R2 x R5
; Conditionally multiply, R2 = R3 x R2
Rm
; Multiply with flag update, R0 = R2 x R2
MUL
instruction:
“Conditional Execution”
S
is specified, the condition code flags are updated on the result
Rd
.
Rd
R0
is omitted, the destination register is
to
“Conditional Execution”
Rn
Rn
R7
Rn
and
and
and
Rm
Rm
Rm
, adds the value from
, and places the least significant 32 bits
.
, subtracts the product from the value
Rd
.
.
Rn
Ra
.
, and places the
SAM4S
SAM4S
137
137

Related parts for SAM4S16C