SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 155

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.1
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
SSAT and USAT
Signed Saturate and Unsigned Saturate to any bit position, with optional shift before saturating.
Syntax
op{cond} Rd, #n, Rm {, shift #s}
where:
op
cond
Rd
n
n
to 32 for
Rm
shift #s
ASR #s
LSL #s
Operation
These instructions saturate to a signed or unsigned
The
1
The
1.
Restrictions
Do not use SP and do not use PC
Condition Flags
These instructions do not affect the condition code flags.
If saturation occurs, these instructions set the Q flag to 1.
Examples
-1.
ranges from 1
SSAT
USATNE R0, #7, R5
SSAT
USAT
SSAT
instruction applies the specified shift, then saturates to the signed range -2
instruction applies the specified shift, then saturates to the unsigned range 0 £ x £ 2
R7, #16, R7, LSL #4 ; Logical shift left value in R7 by 4, then
is an optional shift applied to
is one of:
SSAT
USAT
is an optional condition code, see
is the destination register.
specifies the bit position to saturate to:
n
is the register containing the value to saturate.
where
where
ranges from 0 to 31 for
Saturates a signed value to a signed range.
Saturates a signed value to an unsigned range.
s
s
is in the range 1 to 31
is in the range 0 to 31.
; Conditionally saturate value in R5 as an
; saturate it as a signed 16-bit value and
; write it back to R7
; unsigned 7 bit value and write it to R0.
.
USAT
Rm
.
before saturating. It must be one of the following:
“Conditional Execution”
n
-bit value.
.
SAM4S
SAM4S
n–1
£ x £ 2
155
155
n–
n
-

Related parts for SAM4S16C