Computer Control of Channel Settings
part of
In Vitro System Additional Documentation
by aegrumet@alum.mit.edu
Selecting channels
The mux control software/hardware uses DAP digital output bits 15 through 12.
Bits 12 through 14 are used to
select one of the eight amplifier channels using Bit 12
as the MSB.
Hence
Bit 14
| Bit 13
| Bit 12
|
0
| 1
| 1
|
selects channel 6, or channel G.
Advancing the counter for selected channel
Stepping Bit 15 advances the counter for the selected channel.
Reading the current setting for selected channel
The software/hardware uses the DAP digital input Bits 6, 7, and 8
and to read the setting for the selected channel.
Bit 6 is interpreted as the MSB.
Examples
NOTE: In the examples below, the bit order is
15 14 13 12 .... 3 2 1 0.
To select channel G:
0011 xxxx xxxx xxxx
To select channel G and advance its setting by one count:
0011 xxxx xxxx xxxx
1011 xxxx xxxx xxxx
0011 xxxx xxxx xxxx
With channel G selected, if we read in
xxxx xxx0 01xx xxxx
then the channel setting is G4.
aegrumet@alum.mit.edu