NetBSD/sys/arch/mmeye/include/mmeye.h

27 lines
583 B
C

/* $NetBSD: mmeye.h,v 1.3 1999/09/17 12:16:37 tsubai Exp $ */
/*
* Brains mmEye specific register definition
*/
#ifndef _MMEYE_MMEYE_H_
#define _MMEYE_MMEYE_H_
/* IRQ mask register */
#ifdef MMEYE_NEW_INT /* for new mmEye */
#define MMTA_IMASK (*(volatile unsigned short *)0xb000000e)
#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_ */