prefect
Home Engineering Audio Biking Publications Photo Gallery Personal Info
DACS: Pbus Driver Defines, pbusdefn.h
 
  next up previous contents
Next: Mixer Unit Up: Control Board Previous: Alphanumeric and Graphics LCD   Contents

Pbus Driver Defines, pbusdefn.h

/*****************************************************************************
 * DACS : Distributed Audio Control System
 *============================================================================
 *         File: pbusdefn.h
 *       Author: Stephen S. Richardson
 * Date Created: 04.14.97
 *  Environment: ICC11 v3.6, 68HC11 target
 *        Build: library, not standalone
 *============================================================================
 * The code, executables, documentation, firmware images, and all related
 * material of DACS are  
 * Copyright (C) 1997 Stephen S. Richardson - ALL RIGHTS RESERVED
 *****************************************************************************/

#ifndef _pbusdefn
#define _pbusdefn

#define PBC_PA *(unsigned char *)(0xB580)  /* pBUS controller port A */
#define PBC_PB *(unsigned char *)(0xB581)  /* pBUS controller port B */
#define PBC_PC *(unsigned char *)(0xB582)  /* pBUS controller port C */
#define PBC_PX *(unsigned char *)(0xB583)  /* pBUS controller ctrl port */

#define PBC_IX 0x98   /* pBUS ctrl word: PA i / PB o / PC0-3 o / PC4-7 i */
#define PBC_OX 0x88   /* pBUS ctrl word: PA o / PB o / PC0-3 o / PC4-7 i */

#define PB_N_LATCH  (unsigned char) 0x01    /* bitmask for latch- line */
#define PB_N_CLOCK  (unsigned char) 0x02    /* bitmask for clock- line */
#define PB_N_RD_WR  (unsigned char) 0x80    /* bitmask for read-/write line */

/*****************************************************************************
 * pBUS device addresses 
 *****************************************************************************/

#define PBADX_FADEMUX0  0x08
#define PBADX_FADEMUX1  0x09

#define PBADX_FADELED0  0x10
#define PBADX_FADELED1  0x11
#define PBADX_FADELED2  0x12
#define PBADX_FADELED3  0x13

#endif


Steve Richardson 2000-07-06
Table of Contents

[PDF] [Whole document in PDF 1.9MB]

[more photos and information]

 
Page last modified:
Copyright © 1993-2000 prefect - All Rights Reserved.