[BACK]Return to sapioreg.h CVS log [TXT][DIR] Up to [local] / funnyos / arch / sam7s64 / dev

File: [local] / funnyos / arch / sam7s64 / dev / sapioreg.h (download)

Revision 1.2, Thu Nov 15 20:25:46 2007 UTC (16 years, 6 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +14 -8 lines

add more registers

/*
 * $Id: sapioreg.h,v 1.2 2007/11/15 20:25:46 nbrk Exp $
 */
#ifndef _ARCH_SAM7S64_DEV_SAPIOREG_H
#define _ARCH_SAM7S64_DEV_SAPIOREG_H

/*
 * Parallel Input/Output controller.
 */
#define SAPIO_BASE 0xfffff400
#define  SAPIO_PIO_PER 	0x0000
#define  SAPIO_PIO_PDR 	0x0004
#define  SAPIO_PIO_PSR 	0x0008
#define  SAPIO_PIO_OER 	0x0010
#define  SAPIO_PIO_ODR 	0x0014
#define  SAPIO_PIO_OSR 	0x0018
/* ... */
#define  SAPIO_PIO_SODR 0x0030
#define  SAPIO_PIO_CODR 0x0034
#define  SAPIO_PIO_ODSR 0x0038
#define  SAPIO_PIO_PDSR 0x003c
/* ... */
#define  SAPIO_PIO_ASR 	0x0070
#define  SAPIO_PIO_BSR 	0x0074
/* ... */

#endif /* not _ARCH_SAM7S64_DEV_SAPIOREG_H */