SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 118

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.5.8
118
118
SAM4S
SAM4S
REV, REV16, REVSH, and RBIT
Reverse bytes and Reverse bits.
Syntax
op{cond} Rd, Rn
where:
op
cond
Rd
Rn
Operation
Use these instructions to change endianness of data:
REV
REV16
REVSH
Restrictions
Do not use SP and do not use PC
Condition Flags
These instructions do not change the flags.
Examples
• 32-bit big-endian data into little-endian data
• 32-bit little-endian data into big-endian data.
• 16-bit big-endian data into little-endian data
• 16-bit little-endian data into big-endian data.
• 16-bit signed big-endian data into 32-bit signed little-endian data
• 16-bit signed little-endian data into 32-bit signed big-endian data.
REV
REV16 R0, R0 ; Reverse byte order of each 16-bit halfword in R0
REVSH R0, R5 ; Reverse Signed Halfword
REVHS R3, R7 ; Reverse with Higher or Same condition
RBIT R7, R8
converts either:
converts either:
converts either:
R3, R7
is any of:
REV
REV16
REVSH
RBIT
is an optional condition code, see
is the destination register.
is the register holding the operand.
; Reverse bit order of value in R8 and write the result to R7.
; Reverse byte order of value in R7 and write it to R3
Reverse byte order in a word.
Reverse the bit order in a 32-bit word.
Reverse byte order in each halfword independently.
Reverse byte order in the bottom halfword, and sign extend to 32 bits.
.
“Conditional Execution”
.
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11

Related parts for SAM4S16C