
7.7.
Test of the card
After installation the card could be tested. Therefor you can use the example-pro-
grams on the disc or the frontpanel-software.
8.
The registers of the PCI 1389-S02
The PCI 1389-S02 uses 2 IO-address-ranges and 1 interrupt. Because of the
plug-and-play of the PCI-bus these data should be found out for direct program-
ming. Therefore functions of the BIOS has to be used like described in “PCI BIOS
SPECIFICATION Revision 2.1" or later.
The PCI 1389-S02 uses a configuration space header type 00h. The datas could
be found in the PCI-configuration space on BaseAddress0, BaseAddress1 and
InterruptLine. With BIOS-functions the data could be read out of the configuration
space. BaseAddress0 is used for the PCI-target controller, BaseAddress1 for the
functions of the card.
If the PCI1389S02.DLL is used (described later), these informations are handled
within the dll.
8.1.
Counterregisters for Counter 1 and 2
Read
BaseAd 0
Read fifo of counter 1
BaseAd 4
Read fifo of counter 2
Write
BaseAd 0
Set counter 1 value
BaseAd 4
Set counter 2 value
The 32-Bit counter registers of counter 1 and 2 are used to read and write the
counters. To set a counter value, the counter must be stopped! The counter values
can only be read out of the fifo. Therefore the counter has to be triggered or
latched.
8.2.
Mode register
The mode register controls the modes of the PCI 1389-S02 and is used to start
and stop the counters. Unused bits should be masked or set to 0. The bits are
used as follows:
8. The registers of the PCI 1389-S02
ERMA-Electronic GmbH
12
Содержание PCI 1389-S02
Страница 10: ...7 1 1 Component layout 7 Installation 9 ERMA Electronic GmbH ...
Страница 27: ......