SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 89

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
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
Condition Code Suffixes
The APSR contains the following condition flags:
N
Z
C
V
For more information about the APSR, see
A carry occurs:
An overflow occurs when the sign of the result, in bit[31], does not match the sign of the result,
had the operation been performed at infinite precision, for example:
The Compare operations are identical to subtracting, for CMP, or adding, for CMN, except that
the result is discarded. See the instruction descriptions for more information.
Note:
The instructions that can be conditional have an optional condition code, shown in syntax
descriptions as {cond}. Conditional execution requires a preceding IT instruction. An instruction
with a condition code is only executed if the condition code flags in the APSR meet the specified
condition.
A conditional execution can be used with the IT instruction to reduce the number of branch
instructions in code.
Table 11-16
flags.
Table 11-16. Condition Code Suffixes
Suffix
EQ
NE
CS or
HS
CC or
LO
MI
PL
• if the result of an addition is greater than or equal to 2
• if the result of a subtraction is positive or zero
• as the result of an inline barrel shifter operation in a move or logical instruction.
• if adding two negative values results in a positive value
• if adding two positive values results in a negative value
• if subtracting a positive value from a negative value generates a positive value
• if subtracting a negative value from a positive value generates a negative value.
Most instructions update the status flags only if the S suffix is specified. See the instruction
descriptions for more information.
Table 11-16
Flags
Z = 1
Z = 0
C = 1
C = 0
N = 1
N = 0
also shows the relationship between condition code suffixes and the N, Z, C, and V
Set to 1 when the result of the operation was negative, cleared to 0 otherwise.
Set to 1 when the result of the operation was zero, cleared to 0 otherwise.
Set to 1 when the operation resulted in a carry, cleared to 0 otherwise.
Set to 1 when the operation caused overflow, cleared to 0 otherwise.
shows the condition codes to use.
Meaning
Equal
Not equal
Higher or same, unsigned ≥
Lower, unsigned <
Negative
Positive or zero
“Program Status Register”
32
.
SAM4S
SAM4S
89
89

Related parts for SAM4S16C