SAM7S321 Atmel Corporation, SAM7S321 Datasheet - Page 59

no-image

SAM7S321

Manufacturer Part Number
SAM7S321
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM7S321

Flash (kbytes)
32 Kbytes
Pin Count
64
Max. Operating Frequency
55 MHz
Cpu
ARM7TDMI
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
32
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Twi (i2c)
1
Uart
3
Ssc
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
384
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
8
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Operating Voltage (vcc)
3.0 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
3
Input Capture Channels
3
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
No
2.7
2.7.1
ARM DDI 0029G
The program status registers
Condition code flags
31 30 29 28 27 26 25 24 23
N Z C V
The ARM7TDMI processor contains a CPSR and five SPSRs for exception handlers to
use. The program status registers:
The arrangement of bits is shown in Figure 2-6.
To maintain compatibility with future ARM processors, you must not alter any of the
reserved bits. One method of preserving these bits is to use a read-write-modify strategy
when changing the CPSR.
The remainder of this section describes:
The N, Z, C, and V bits are the condition code flags, you can set them by arithmetic and
logical operations. They can also be set by MSR and LDM instructions. The
ARM7TDMI processor tests these flags to determine whether to execute an instruction.
code flags
Condition
hold information about the most recently performed ALU operation
control the enabling and disabling of interrupts
set the processor operating mode.
Condition code flags on page 2-13
Control bits on page 2-14
Reserved bits on page 2-15.
Note
Copyright © 1994-2001. All rights reserved.
Overflow
Carry or borrow or extend
Zero
Negative or less than
Reserved
Figure 2-6 Program status register format
8
7
I
6
F
5
T
Control bits
M4 M3 M2 M1 M0
4
3
Programmer’s Model
2
Mode bits
State bit
FIQ disable
IRQ disable
1
0
2-13

Related parts for SAM7S321