1999-09-17 16:16:37 +04:00
|
|
|
/* $NetBSD: mmeye.h,v 1.3 1999/09/17 12:16:37 tsubai Exp $ */
|
1999-09-13 14:30:21 +04:00
|
|
|
|
1999-09-16 17:32:24 +04:00
|
|
|
/*
|
|
|
|
* Brains mmEye specific register definition
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MMEYE_MMEYE_H_
|
1999-09-17 16:16:37 +04:00
|
|
|
#define _MMEYE_MMEYE_H_
|
1999-09-16 17:32:24 +04:00
|
|
|
|
|
|
|
/* IRQ mask register */
|
|
|
|
#ifdef MMEYE_NEW_INT /* for new mmEye */
|
1999-09-17 16:16:37 +04:00
|
|
|
#define MMTA_IMASK (*(volatile unsigned short *)0xb000000e)
|
1999-09-16 17:32:24 +04:00
|
|
|
#else /* for old mmEye */
|
|
|
|
#define MMTA_IMASK (*(volatile unsigned short *)0xb0000010)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MMEYE_LED (*(volatile unsigned short *)0xb0000008)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SCI bitrate
|
|
|
|
* 9600bps, 11 = 3750000/(32*9600) -1, Pcyc = 3.75MHz
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define SCI_BITRATE 11
|
|
|
|
|
|
|
|
#endif /* !_MMEYE_MMEYE_H_ */
|