SAM3S4B Atmel Corporation, SAM3S4B Datasheet - Page 85

no-image

SAM3S4B

Manufacturer Part Number
SAM3S4B
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM3S4B

Flash (kbytes)
256 Kbytes
Pin Count
64
Max. Operating Frequency
64 MHz
Cpu
Cortex-M3
# Of Touch Channels
23
Hardware Qtouch Acquisition
No
Max I/o Pins
79
Ext Interrupts
79
Usb Transceiver
1
Quadrature Decoder Channels
1
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
10
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)
48
Self Program Memory
YES
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
3
Output Compare Channels
3
Input Capture Channels
3
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
10.11.7.1
10.11.7.2
6500C–ATARM–8-Feb-11
The condition flags
Condition code suffixes
This section describes:
The APSR contains the following condition flags:
N
Z
C
V
For more information about the APSR see
A carry occurs:
Overflow occurs if the result of an add, subtract, or compare is greater than or equal to 2
less than –2
Most instructions update the status flags only if the S suffix is specified. See the instruction
descriptions for more information.
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.
You can use conditional execution with the IT instruction to reduce the number of branch instruc-
tions in code.
Table 10-16
flags.
Table 10-16. Condition code suffixes
Suffix
EQ
NE
CS or
HS
CC or
LO
MI
PL
VS
• 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.
“The condition flags”
“Condition code suffixes”
Table 10-16
Flags
Z = 1
Z = 0
C = 1
C = 0
N = 1
N = 0
V = 1
31
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
Overflow
“Program Status Register” on page
32
45.
SAM3S
31
, or
85

Related parts for SAM3S4B