[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.1, Tue Nov 13 22:27:50 2007 UTC (16 years, 7 months ago) by nbrk
Branch: MAIN

Parallel Input/Output controller registers;
at this point we need them to disassociate USART0 pins from PIO.

/*
 * $Id: sapioreg.h,v 1.1 2007/11/13 22:27:50 nbrk Exp $
 */
#ifndef _ARCH_SAM7S64_DEV_SAPIOREG_H
#define _ARCH_SAM7S64_DEV_SAPIOREG_H

#include <sys/types.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_ASR 0x0070
#define  SAPIO_PIO_BSR 0x0074
/* ... */

#endif /* not _ARCH_SAM7S64_DEV_SAPIOREG_H */