Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AT91SAM7A2-AI Datasheet(PDF) 24 Page - ATMEL Corporation

Part # AT91SAM7A2-AI
Description  AT91 ARM Thumb-based Microcontrollers
PDF  369 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT91SAM7A2-AI Datasheet(HTML) 24 Page - ATMEL Corporation

Back Button AT91SAM7A2-AI Datasheet HTML 20Page - ATMEL Corporation AT91SAM7A2-AI Datasheet HTML 21Page - ATMEL Corporation AT91SAM7A2-AI Datasheet HTML 22Page - ATMEL Corporation AT91SAM7A2-AI Datasheet HTML 23Page - ATMEL Corporation AT91SAM7A2-AI Datasheet HTML 24Page - ATMEL Corporation AT91SAM7A2-AI Datasheet HTML 25Page - ATMEL Corporation AT91SAM7A2-AI Datasheet HTML 26Page - ATMEL Corporation AT91SAM7A2-AI Datasheet HTML 27Page - ATMEL Corporation AT91SAM7A2-AI Datasheet HTML 28Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 369 page
background image
24
PRELIMINARY
AT91SAM7A2
6021A–ATARM–07/04
Multiplexed I/O Lines
All I/O lines are multiplexed with an I/O signal of the peripheral. After reset, the pin is
controlled by the peripheral PIO controller. When a peripheral signal is not used in an
application, the corresponding pin can be used as a parallel I/O.
Each parallel I/O line is bidirectional, whether, the peripheral defines the signal as input
or output.
Figure 8 “Parallel I/O Block,” on page 25 shows the multiplexing of the peripheral signals
with the PIO controller signal.
Each pin of the peripheral can be independently controlled using the Peripheral_PER
(PIO Enable) and Peripheral_PDR (PIO Disable) registers.
The Peripheral_PSR (PIO Status) register indicates whether the pin is controlled by the
peripheral or by the PIO controller block.
Output Selection
The user can select the direction of each individual I/O signal (input or output) using the
Peripheral_OER (Output Enable) and Peripheral_ODR (Output Disable) registers. The
output status of the I/O signal can be read in the Peripheral_OSR (Output Status) regis-
ter. The direction defined has effect only if the pin is configured to be controlled by the
PIO controller block.
I/O Levels
Each pin can be configured to be independently driven high or low. The level is defined
in different ways, according to the following conditions.
If a pin is controlled by the PIO controller block and is defined as an output (see “Output
Selection” above), the level is programmed using the Peripheral_SODR (Set Output
Data) and Peripheral_CODR (Clear Output Data) registers. In this case, the pro-
grammed value can be read in the Peripheral_ODSR (Output Data Status) register.
If a pin is controlled by the PIO controller block and is not defined as an output, the level
is determined by the external circuit. If a pin is not controlled by the PIO controller block,
the state of the pin is defined by the Peripheral controller. In all cases, the level on the
pin can be read in the Peripheral_PDSR (Pin Data Status) register.
Interrupts
Each PIO controller block also provides an internal interrupt signal shared with the
peripheral interrupt.
Each PIO can be programmed to generate an interrupt when a level change occurs.
This is controlled by the Peripheral_IER (Interrupt Enable) and Peripheral_IDR (Inter-
rupt Disable) registers which enable/disable the I/O interrupt (and the peripheral
interrupts) by setting/clearing the corresponding bit in the Peripheral_IMR.
When a change in level occurs, the corresponding bit in the Peripheral_SR (Interrupt
Status) register is set whether the pin is used as a PIO or a peripheral signal and
whether it is defined as input or output.
If the corresponding interrupt in Peripheral_IMR (Interrupt Mask) register is enabled, the
PIO interrupt is asserted.
The PIO interrupt is cleared when:
•
a write access is performed on the Peripheral_CISR register (with the
corresponding bit set at a logical 1),
or
•
a read access is performed in the Peripheral_SR register (if no Peripheral_CISR
register is present in the peripheral).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com