SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 180

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
180
180
SAM4S
SAM4S
Your assembler might place extra restrictions on the use of IT blocks, such as prohibiting the
use of assembler directives within them.
Condition Flags
This instruction does not change the flags.
Example
• do not branch to any instruction inside an IT block, except when returning from an exception
• all conditional instructions except
• each instruction inside the IT block must specify a condition code suffix that is either the
ITTE NE
ANDNE R0, R0, R1 ; ANDNE does not update condition flags
ADDSNE R2, R2, #1 ; ADDSNE updates condition flags
MOVEQ R2, R3
CMP
ITE
ADDGT R1, R0, #55 ; Convert 0xA -> 'A'
ADDLE R1, R0, #48 ; Convert 0x0 -> '0'
IT
ADDGT R1, R1, #1 ; Increment R1 conditionally
ITTEE EQ
MOVEQ R0, R1
ADDEQ R2, R2, #10 ; Conditional add
ANDNE R3, R3, #1 ; Conditional AND
BNE.W dloop
IT
ADD
handler
or inside an IT block but has a larger branch range if it is inside one
same or logical inverse as for the other instructions in the block.
– ADD PC, PC, Rm
– MOV PC, Rm
– any
GT
NE
B
TBB
GT
,
R0, R0, R1 ; Syntax error: no condition code used in IT block
BL
R0, #9
and
,
LDM
BX
,
,
TBH
BLX
LDR
, or
; Next instruction is conditional
POP
; IT block with only one conditional instruction
; Next 4 instructions are conditional
; Convert R0 hex value (0 to 15) into ASCII
; Conditional move
; Branch instruction can only be used in the last
; Next 3 instructions are conditional
; ('0'-'9', 'A'-'F')
; instruction of an IT block
; Next 2 instructions are conditional
; Conditional move
instruction that writes to the PC
Bcond
must be inside an IT block.
Bcond
can be either outside
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11

Related parts for SAM4S16C