SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 179

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.10.3
IT
If-Then condition instruction.
Syntax
IT{x{y{z}}} cond
where:
x
y
z
cond
The condition switch for the second, third and fourth instruction in the IT block can be either:
T
E
It is possible to use
instructions in the IT block must be unconditional, and each of x, y, and z must be
but not
Operation
The
instruction makes up to four following instructions conditional. The conditions can be all
IT
the same, or some of them can be the logical inverse of the others. The conditional instructions
following the
The instructions in the IT block, including any branches, must specify the condition in the
part of their syntax.
The assembler might be able to generate the required
automatically, so that the user does not have to write them. See the assembler documentation
for details.
A
BKPT
Exceptions can be taken between an
IT block. Such an exception results in entry to the appropriate exception handler, with suitable
return information in LR and stacked PSR.
Instructions designed for use for exception returns can be used as normal to return from the
exception, and execution of the IT block resumes correctly. This is the only way that a PC-modi-
fying instruction is permitted to branch to an instruction in an IT block.
Restrictions
The following instructions are not permitted in an IT block:
• IT
CBZ
CPSID
Other restrictions when using an IT block are:
• a branch or any instruction that modifies the PC must either be outside an IT block or must be
the last instruction inside the IT block. These are:
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
specifies the condition switch for the second instruction in the IT block.
specifies the condition switch for the third instruction in the IT block.
specifies the condition switch for the fourth instruction in the IT block.
specifies the condition for the first instruction in the IT block.
Then. Applies the condition
cond
Else. Applies the inverse condition of
(the always condition) for
AL
.
E
instruction form the IT block.
IT
instruction in an IT block is always executed, even if its condition fails.
instruction and the corresponding IT block, or within an
IT
and
CBNZ
and
CPSIE.
to the instruction.
to the instruction.
cond
in an
instruction. If this is done, all of the
cond
IT
instructions for conditional instructions
IT
SAM4S
SAM4S
or omitted
T
{cond}
179
179

Related parts for SAM4S16C