29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Peripheral and Interface Components<br />

Registers<br />

Table 5-51 provides a description of the configuration registers for the PL061_GPIO<br />

component.<br />

Table 5-51 PL061_GPIO registers<br />

Register<br />

name<br />

Offset Access Description<br />

GPIODATA 0x000 -<br />

0x3FC<br />

read/write<br />

GPIO prime data register.<br />

The address offsets serve as<br />

a mask. Only bits [11:2] are<br />

valid as the mask. a<br />

GPIODIR 0x400 read/write Data direction register. Set<br />

for output, clear for input.<br />

GPIOIS 0x404 read/write Interrupt sense register. Set<br />

for level trigger, clear for<br />

edge trigger.<br />

GPIOIBE 0x408 read/write Bits set, both edges on<br />

corresponding pin trigger<br />

and interrupt.<br />

GPIOIEV 0x40C read/write Interrupt event register. Bit<br />

set for rising edge or high<br />

level trigger.<br />

GPIOIE 0x410 read/write Interrupt mask register.<br />

GPIORIS 0x414 read Raw interrupt status<br />

register.<br />

GPIOMIS 0x418 read Masked interrupt status<br />

register.<br />

GPIOIC 0x41C write Interrupt clear register.<br />

GPIOAFSEL 0x420 read/write Mode control select<br />

GPIOPeriphID0 0xfe0 read Peripheral ID register<br />

GPIOPeriphID1 0xfe4 read Peripheral ID register<br />

GPIOPeriphID2 0xfe8 read Peripheral ID register<br />

GPIOPeriphID3 0xfec read Peripheral ID register<br />

GPIOPCellID0 0xff0 read PrimeCell ID register<br />

GPIOPCellID1 0xff4 read PrimeCell ID register<br />

GPIOPCellID2 0xff8 read PrimeCell ID register<br />

GPIOPCellID3 0xffc read PrimeCell ID register<br />

a. For writes, values written to the registers are transferred onto the GPOIT pins<br />

if the respective pins have been configured as output ports. Set certain pins in<br />

GPIO_Mask to high to enable writing. A similar process applies to reads.<br />

Details of how to use this register are covered elsewhere. See the <strong>ARM</strong><br />

PrimeCell General Purpose Input/Output (PL061) Technical <strong>Reference</strong><br />

<strong>Manual</strong>.<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-65<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!