SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 168

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.2
168
168
SAM4S
SAM4S
SXT and UXT
Sign extend and Zero extend.
Syntax
op{cond} {Rd,} Rm {, ROR #n}
op{cond} {Rd}, Rm {, ROR #n}
where:
op
cond
Rd
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
SXTH R4, R6, ROR #16 ; Rotates R6 right by 16 bits, obtains bottom halfword of
UXTB R3, R10
1. Rotate the value from
2. Extract bits from the resulting value:
SXTB
UXTB
SXTH
UXTH
SXTB16
and extracts bits [23:16] and sign extends to 16 bits.
UXTB16
and extracts bits [23:16] and zero extends to 16 bits.
extracts bits[7:0] and sign extends to 32 bits.
extracts bits[7:0] and zero extends to 32 bits.
extracts bits[15:0] and sign extends to 32 bits.
extracts bits[15:0] and zero extends to 32 bits.
extracts bits[7:0] and sign extends to 16 bits,
extracts bits[7:0] and zero extends to 16 bits,
is one of:
SXTB
SXTH
SXTB16
UXTB
UXTH
UXTB16
is an optional condition code, see
is the destination register.
is the register holding the value to extend.
is one of:
ROR #8
ROR #16
ROR #24
If
ROR #n
Sign extends an 8-bit value to a 32-bit value.
Sign extends a 16-bit value to a 32-bit value.
Zero extends an 8-bit value to a 32-bit value.
Zero extends a 16-bit value to a 32-bit value.
Value from
Sign extends two 8-bit values to two 16-bit values.
Zero extends two 8-bit values to two 16-bit values.
Value from
Value from
is omitted, no rotation is performed.
; Extracts lowest byte of value in R10, zero extends, and
; of result, sign extends to 32 bits and writes to R4
; writes to R3.
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”
.
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11

Related parts for SAM4S16C