SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 162

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.7.6
162
162
SAM4S
SAM4S
UQASX and UQSAX
Saturating Add and Subtract with Exchange and Saturating Subtract and Add with Exchange,
unsigned.
Syntax
op{cond} {Rd}, Rm, Rn
where:
type
cond
Rd
Rn, Rm
Operation
The
The
Restrictions
Do not use SP and do not use PC
Condition Flags
These instructions do not affect the condition code flags.
Examples
UQASX R7, R4, R2 ; Adds top halfword of R4 with bottom halfword of R2,
UQSAX R0, R3, R5 ; Subtracts bottom halfword of R5 from top halfword of R3,
1. Adds the bottom halfword of the source operand with the top halfword of the second
2. Subtracts the bottom halfword of the second operand from the top highword of the first
3. Saturates the results of the sum and writes a 16-bit unsigned integer in the range
4. Saturates the result of the subtraction and writes a 16-bit unsigned integer in the range
1. Subtracts the bottom halfword of the second operand from the top highword of the first
2. Adds the bottom halfword of the first operand with the top halfword of the second
3. Saturates the result of the subtraction and writes a 16-bit unsigned integer in the range
4. Saturates the results of the addition and writes a 16-bit unsigned integer in the range 0
UQASX
UQSAX
operand.
operand.
0
0
operand.
operand.
0
x
x
x
x
2
16
instruction:
instruction:
2
2
2
16
16
16
– 1, where
– 1, where
– 1, where
– 1, where
is one of:
UQASX
UQSAX
is an optional condition code, see
is the destination register.
are registers holding the first and second operands.
Add and Subtract with Exchange and Saturate.
Subtract and Add with Exchange and Saturate.
; saturates to 16 bits, writes to top halfword of R7
; R4, saturates to 16 bits, writes to bottom halfword of R7
; Subtracts top halfword of R2 from bottom halfword of
x
equals 16, to the bottom halfword of the destination register.
x
x
x
equals 16, to the top halfword of the destination register.
equals 16, to the bottom halfword of the destination register.
equals 16, to the top halfword of the destination register.
.
“Conditional Execution”
.
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11

Related parts for SAM4S16C