SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 174

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.9.3
174
174
SAM4S
SAM4S
SXT and UXT
Sign extend and Zero extend.
Syntax
SXTextend{cond} {Rd,} Rm {, ROR #n}
UXTextend{cond} {Rd}, Rm {, ROR #n}
where:
extend
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
1. Rotate the value from
2. Extract bits from the resulting value:
SXTH R4, R6, ROR #16 ; Rotate R6 right by 16 bits, then obtain the lower
UXTB R3, R10
SXTB
UXTB
SXTH
UXTH
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.
is one of:
B
H
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
Extends an 8-bit value to a 32-bit value.
Extends a 16-bit value to a 32-bit value.
ROR #n
Value from
Value from
Value from
is omitted, no rotation is performed
Rm
; Extract lowest byte of the value in R10 and zero
; halfword of the result and then sign extend to
; 32 bits and write the result to R4.
; extend it, and write the result to R3.
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