User adjustments
Page 5
Blue Chip Technology Ltd.
01271014.doc
Page 5
2.2
Port Map
The address which is set by this link is effectively the base address of the card.
The basic programs shown throughout this manual will ask for an input of the
base as you have set it on the link LKA.
All ports used by these programs are referenced to this base value. A list of
address offsets and the functions of the ports are shown below.
Base + 0
=
ADC Bit 7 = Busy Flag (Read)
Base + 1
=
ADC Result High Byte (Read)
Base + 2
=
ADC Result Low Byte (Read) and Start Conversion (Read)
Base + 3
=
DAC Update Output (Write)
Base + 4
=
DAC ‘A’ Low Byte Load Register (Write)
Base + 5
=
DAC ‘A’ High Byte Load Register (Write)
Base + 6
=
DAC ’B’ Low Byte Load Register (Write)
Base + 7
=
DAC ‘B’ High Byte Load Register (Write)
Base + 8
=
Digital PIO Port A
Base + 9
=
Digital PIO Port B
Base + 10
=
Digital PIO Port C
Base + 11
=
Digital PIO Control Register (Write)
Base + 12
=
Analogue Multiplexer Channel Address (Write)
Base + 13
=
Programmable Interrupt Source Control Register (Write)