Add selected `%b' bits.

This commit is contained in:
pk 1998-08-27 20:05:11 +00:00
parent 142bff0170
commit dd0709d28d
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ad1848reg.h,v 1.6 1998/08/27 19:53:03 pk Exp $ */
/* $NetBSD: ad1848reg.h,v 1.7 1998/08/27 20:05:11 pk Exp $ */
/*
* Copyright (c) 1994 John Brezak
@ -104,6 +104,9 @@
#define CAPTURE_UPPER 0x80
/* cplower is not upper */
#define AD_R2_BITS "\20\1INT\2PRDY\3PL/R\4PU/L\5SER\6CRDY\7CL/R\10CU/L"
/* ADC Input control - registers I0 (left) and I1 (right) */
#define LINE_INPUT 0x00
#define AUX_INPUT 0x40

View File

@ -1,4 +1,4 @@
/* $NetBSD: cs4231reg.h,v 1.6 1998/08/27 19:53:02 pk Exp $ */
/* $NetBSD: cs4231reg.h,v 1.7 1998/08/27 20:05:11 pk Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -129,6 +129,8 @@
#define CS_IRQ_TI 0x40 /* Timer Interrupt */
#define CS_IRQ_RES 0x80 /* reserved */
#define CS_I24_BITS "\20\1PU\2PO\3CO\4CU\5PI\6CI\7TI"
/* VERSION - register I25 */
#define CS_VERSION_NUMBER 0xe0 /* Version number:
* 0x101 - 4231 rev. A