Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 1104
222
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
23.7
Parallel Input/Output Controller (PIO) User Interface
Each I/O line controlled by the PIO Controller is associated with a bit in each of the PIO Controller User Interface
registers. Each register is 32 bits wide. If a parallel I/O line is not defined, writing to the corresponding bits has no effect.
Undefined bits read zero. If the I/O line is notmultiplexed with any peripheral, the I/O line is controlled by the PIO
Controller and PIO_PSR returns one systematically.
Table 23-2. Register Mapping
Offset
Register
Name
Access
Reset 
0x0000
PIO Enable Register
PIO_PER
Write-only
0x0004
PIO Disable Register
PIO_PDR
Write-only
0x0008
PIO Status Register 
PIO_PSR
Read-only
0x000C
Reserved
0x0010
Output Enable Register
PIO_OER
Write-only
0x0014
Output Disable Register
PIO_ODR
Write-only
0x0018
Output Status Register
PIO_OSR
Read-only
0x0000 0000
0x001C
Reserved
0x0020
Glitch Input Filter Enable Register
PIO_IFER
Write-only
0x0024
Glitch Input Filter Disable Register
PIO_IFDR
Write-only
0x0028
Glitch Input Filter Status Register
PIO_IFSR
Read-only
0x0000 0000
0x002C
Reserved
0x0030
Set Output Data Register
PIO_SODR
Write-only
0x0034
Clear Output Data Register
PIO_CODR
Write-only
0x0038
Output Data Status Register
PIO_ODSR
Read-only 
Read/Write
0x003C
Pin Data Status Register
PIO_PDSR
Read-only
0x0040
Interrupt Enable Register
PIO_IER
Write-only
0x0044
Interrupt Disable Register
PIO_IDR
Write-only
0x0048
Interrupt Mask Register
PIO_IMR
Read-only
0x00000000
0x004C
Interrupt Status Register
PIO_ISR
Read-only
0x00000000
0x0050
Multi-driver Enable Register
PIO_MDER
Write-only
0x0054
Multi-driver Disable Register
PIO_MDDR
Write-only
0x0058
Multi-driver Status Register
PIO_MDSR
Read-only
0x00000000
0x005C
Reserved
0x0060
Pull-up Disable Register
PIO_PUDR
Write-only
0x0064
Pull-up Enable Register
PIO_PUER
Write-only
0x0068
Pad Pull-up Status Register
PIO_PUSR
Read-only
0x006C
Reserved –
0x0070
Peripheral Select Register 1
PIO_ABCDSR1
Read/Write
0x00000000
0x0074
Peripheral Select Register 2
PIO_ABCDSR2
Read/Write
0x00000000
0x0078
to
0x007C
Reserved
0x0080
Input Filter Slow Clock Disable Register
PIO_IFSCDR
Write-only
0x0084
Input Filter Slow Clock Enable Register
PIO_IFSCER
Write-only
0x0088
Input Filter Slow Clock Status Register
PIO_IFSCSR
Read-only
0x00000000