SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 169

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.8.3
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
SXTA and UXTA
Signed and Unsigned Extend and Add
Syntax
op{cond} {Rd,} Rn, Rm {, ROR #n}
op{cond} {Rd,} Rn, Rm {, ROR #n}
where:
op
cond
Rd
Rn
Rm
ROR #n
Operation
These instructions do the following:
Restrictions
Do not use SP and do not use PC.
Condition Flags
These instructions do not affect the flags.
Examples
1. Rotate the value from
2. Extract bits from the resulting value:
3. Adds the signed or zero extended value to the word or corresponding halfword of Rn
and writes the result in Rd.
SXTAB
UXTAB
SXTAH
UXTAH
SXTAB16
and extracts bits [23:16] from Rm and sign extends to 16 bits.
UXTAB16
and extracts bits [23:16] from Rm and zero extends to 16 bits.
extracts bits[7:0] from Rm and sign extends to 32 bits.
extracts bits[7:0] from Rm and zero extends to 32 bits.
extracts bits[15:0] from Rm and sign extends to 32 bits.
extracts bits[15:0] from Rm and zero extends to 32 bits.
is one of:
SXTAB
SXTAH
SXTAB16
UXTAB
UXTAH
UXTAB16
is an optional condition code, see
is the destination register.
is the first operand register.
is the register holding the value to rotate and extend.
is one of:
ROR #8
ROR #16
ROR #24
If
extracts bits[7:0] from Rm and sign extends to 16 bits,
extracts bits[7:0] from Rm and zero extends to 16 bits,
ROR #n
Sign extends an 8-bit value to a 32-bit value and add.
Sign extends a 16-bit value to a 32-bit value and add.
Zero extends an 8-bit value to a 32-bit value and add.
Zero extends a 16-bit value to a 32-bit value and add.
Value from
Value from
Value from
Sign extends two 8-bit values to two 16-bit values and add.
Zero extends two 8-bit values to two 16-bit values and add.
is omitted, no rotation is performed.
Rm
right by 0, 8, 16 or 24 bits.
Rm
Rm
Rm
is rotated right 8 bits.
is rotated right 16 bits.
is rotated right 24 bits.
“Conditional Execution”
.
SAM4S
SAM4S
169
169

Related parts for SAM4S16C