English
Language : 

SAM4L Datasheet, PDF (543/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
ATSAM4L4/L2
ten to one. Again all bits written to zero remain unchanged. Note that for some registers (e.g.
IFR), not all access methods are permitted.
Note that for ports with less than 32 bits, the corresponding control registers will have unused
bits. This is also the case for features that are not implemented for a specific pin. Writing to an
unused bit will have no effect. Reading unused bits will always return 0.
Table 23-2. GPIO Register Memory Map
Offset
0x000
0x004
0x008
0x00C
0x010
0x014
0x018
0x01C
0x020
0x024
0x028
0x02C
0x030
0x034
0x038
0x03C
0x040
0x044
0x048
0x04C
0x050
0x054
0x058
0x05c
Register
GPIO Enable Register
GPIO Enable Register
GPIO Enable Register
GPIO Enable Register
Peripheral Mux Register 0
Peripheral Mux Register 0
Peripheral Mux Register 0
Peripheral Mux Register 0
Peripheral Mux Register 1
Peripheral Mux Register 1
Peripheral Mux Register 1
Peripheral Mux Register 1
Peripheral Mux Register 2
Peripheral Mux Register 2
Peripheral Mux Register 2
Peripheral Mux Register 2
Output Driver Enable Register
Output Driver Enable Register
Output Driver Enable Register
Output Driver Enable Register
Output Value Register
Output Value Register
Output Value Register
Output Value Register
0x060
Pin Value Register
Function
Read/Write
Set
Clear
Toggle
Read/Write
Set
Clear
Toggle
Read/Write
Set
Clear
Toggle
Read/Write
Set
Clear
Toggle
Read/Write
Set
Clear
Toggle
Read/Write
Set
Clear
Toggle
Read
Register Name
GPER
GPERS
GPERC
GPERT
PMR0
PMR0S
PMR0C
PMR0T
PMR1
PMR1S
PMR1C
PMR1T
PMR2
PMR2S
PMR2C
PMR2T
ODER
ODERS
ODERC
ODERT
OVR
OVRS
OVRC
OVRT
PVR
Access
Read/Write
Write-only
Write-only
Write-only
Read/Write
Write-only
Write-only
Write-only
Read/Write
Write-only
Write-only
Write-only
Read/Write
Write-only
Write-only
Write-only
Read/Write
Write-only
Write-only
Write-only
Read/Write
Write-only
Write-only
Write-only
Read-only
Reset
-(1)
-(1)
-(1)
-(1)
-(1)
-(1)
Depe
nding
on pin
states
Config.
Protection
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
N
N
N
N
N
Access
Protection
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
42023C–SAM–02/2013
543