SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 164

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.7
164
164
SAM4S
SAM4S
UQADD and UQSUB
Saturating Add and Saturating Subtract Unsigned.
Syntax
op{cond} {Rd}, Rn, Rm
op{cond} {Rd}, Rn, Rm
where:
op
cond
Rd
Rn, Rm
Operation
These instructions add or subtract two or four values and then writes an unsigned saturated
value in the destination register.
The
The
The
The
Restrictions
Do not use SP and do not use PC
Condition Flags
These instructions do not affect the condition code flags.
Examples
• Adds the respective top and bottom halfwords of the first and second operands.
• Saturates the result of the additions for each halfword in the destination register to the
• Adds each respective byte of the first and second operands.
• Saturates the result of the addition for each byte in the destination register to the unsigned
• Subtracts both halfwords of the second operand from the respective halfwords of the first
• Saturates the result of the differences in the destination register to the unsigned range
• Subtracts the respective bytes of the second operand from the respective bytes of the first
• Saturates the results of the differences for each byte in the destination register to the
unsigned range 0 £ x £ 2
range 0 £ x £ 2
operand.
0 £ x £ 2
operand.
unsigned range 0 £ x £ 2
UQADD16
UQADD8
UQSUB16
UQSUB8
instructions:
instruction:
16
instruction:
instruction:
-1, where x is 16.
is one of:
UQADD8
UQADD16
UDSUB8
UQSUB16
is an optional condition code, see
is the destination register.
are registers holding the first and second operands.
8
-1, where x is 8.
Saturating four unsigned 8-bit integer subtractions.
Saturating four unsigned 8-bit integer additions.
Saturating two unsigned 16-bit integer subtractions.
Saturating two unsigned 16-bit integer additions.
16
8
-1, where x is 8.
-1, where x is 16.
.
“Conditional Execution”
.
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11

Related parts for SAM4S16C