Provide digital inputs and outputs.
Module RB8506 is a (dual) parallel interface. Internally the module may contain Motorola Peripheral Interface Adapter MC6821 (Pia) ICs or Rockwell Versatile Interface Adapater R6522 (Via) ICs or a combination of both.
The following variations of this module are known to exist:
You should create a separate object for each Pia/Via in a Parallel Interface module.
The Parallel Interface front-panels look as follows.
dual single +----------------------+ +-----------+ | Parallel Interface | | Parallel | | | | Interface | | Pia 1 Pia 2 | | | | pb0 pb4 | | pb0 | | == (o) (o) | | (o) | | |..| pb1 pb5 | | pb1 | | |..| (o) (o) | | (o) | | |..| pb2 pb6 | | P pb2 | | |..| (o) (o) | | I (o) | | |..| pb3 pb7 | | A pb3 | | |..| (o) (o) | | 2 (o) | | == cb1 cb2 | | cb1 | | (o) (o) | | (o) | | | | | | RULBUS | | RULBUS | +----------------------+ +-----------+
PIA and VIA offer the following interface pins.
port pin direction description A PA0..PA7 i/o level inputs and outputs A CA1 input active edge transition sets interrupt flag A CA2 i/o complex operation B PB0..PB7 i/o level inputs and outputs B CB1 input active edge transition sets interrupt flag B CB2 i/o complex operation
See Pia and Via for a more detailed description of the IC's capabilities.
The 50-pin connector for Pia 1 makes all its pins of Port A and Port B available. Of Pia 2, the BNC-connectors provide access to only Port B pins.
A Pia parallel interface is created using class Rulbus::RB8506_Pia. A Via parallel interface is created using class Rulbus::RB8506_Via.
See pport.cpp for an example program. It contains several bit-manipulation functions.
For more informations on the available methods, see class Rulbus::PiaVia.
Classes | |
class | RB8506_Pia |
dual parallel interface (Pia). More... | |
class | RB8506_Via |
dual parallel interface (Via). More... |