Instruction manual
AMPDIO DRIVERS
Page 87
6.4.1 Initialization Functions
The board can not be registered with the library unless it has been correctly installed and
configured in he system registry, using the configuration tool supplied (in the control panel).
6.4.1.1 Register a Board with the Library — registerBoard
Requests a card matching a model number, base address and IRQ setting. This function
returns a Board Handle greater than or equal to 0 on success, which must be used in all
subsequent calls to library functions for this board.
i = registerBoard (model, ba, irq)
where model short: board’s model number. The following
pre-defined constants may be used for the
boards supported:
PC212E = 212
PC214E = 214
PC215E = 215
PC272E = 272
PC218E = 218
PC263 = 263
PC272E = 272
PC36AT = 36
PC24E = 24
PC25E = 24 (25 may also be used in v4.30)
PC26AT = 26
PC27E = 27
PC30AT = 30
PCI215 = 215 (same as PC215E)
PCI224 = 224
PCI230 = 230
PCI234 = 234
PCI236 = 36 (236 may also be used)
PCI260 = 260
PCI263 = 263 (same as PC263)
PCI272 = 272 (same as PC272E)
ba short: board’s base address. Factory default is
300 hex. See section 2.3 for details on
selecting the board's base address.
irq short: board’s Interrupt level. Factory default is
5. See section 2.3 for details on selecting the
board's interrupt level. The value can be the
real IRQ value or one of the following special
values:
IRQ_ANY = –1: Match any (or no) IRQ
IRQ_NONE = 255: Match IRQ-less card
Returns short: Board handle to be used in all subsequent function calls for that
board.
or ERRSUPPORT
ERRBASE
ERRIRQ