Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

at91_pio.h File Reference


Detailed Description

AT91 peripherals.

 *
 * $Log: at91_pio.h,v $
 * Revision 1.3  2006/09/29 12:43:08  haraldkipp
 * Register offsets added, which are quite useful for assembler programming.
 * Added some special PIO features, which are available on the AT91SAM92xx
 * series.
 *
 * Revision 1.2  2006/08/31 19:11:18  haraldkipp
 * Added register definitions for PIOC.
 *
 * Revision 1.1  2006/07/05 07:45:28  haraldkipp
 * Split on-chip interface definitions.
 *
 *
 * 


PIO Register Offsets

#define PIO_PER_OFF   0x00000000
 PIO enable register offset.
#define PIO_PDR_OFF   0x00000004
 PIO disable register offset.
#define PIO_PSR_OFF   0x00000008
 PIO status register offset.
#define PIO_OER_OFF   0x00000010
 Output enable register offset.
#define PIO_ODR_OFF   0x00000014
 Output disable register offset.
#define PIO_OSR_OFF   0x00000018
 Output status register offset.
#define PIO_IFER_OFF   0x00000020
 Input filter enable register offset.
#define PIO_IFDR_OFF   0x00000024
 Input filter disable register offset.
#define PIO_IFSR_OFF   0x00000028
 Input filter status register offset.
#define PIO_SODR_OFF   0x00000030
 Set output data register offset.
#define PIO_CODR_OFF   0x00000034
 Clear output data register offset.
#define PIO_ODSR_OFF   0x00000038
 Output data status register offset.
#define PIO_PDSR_OFF   0x0000003C
 Pin data status register offset.
#define PIO_IER_OFF   0x00000040
 Interrupt enable register offset.
#define PIO_IDR_OFF   0x00000044
 Interrupt disable register offset.
#define PIO_IMR_OFF   0x00000048
 Interrupt mask register offset.
#define PIO_ISR_OFF   0x0000004C
 Interrupt status register offset.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/