IP-708 Driver
Documentation
FOCUS Software Engineering

Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Industry Pack Carrier Board Driver API

This module describes the API of the driver for the Industry Pack carrier boards. More...

Driver Initialization and Clean-up Functions

IpCarrierHdl ipCarrierPciOpen (int pciBusNo, int pciDevNo)
 Opens access to an IP module carrier board.

int ipCarrierGetNoOfSlots (IpCarrierHdl ipCarrierHdl)
 Returns the number of IP slots supported by a carrier.

void ipCarrierSet32MhzClock (IpCarrierHdl ipCarrierHdl, int ipSlotNo)
 Configures the clock rate for a module to be 32 MHz.

void ipCarrierClose (IpCarrierHdl ipCarrierHdl)
 Closes access to the IP carrier board and releases associated resources including interrupts.


Diagnostic Functions

void ipCarrierShow ()
 Diagnostic functions which prints all automatically detected IP carrier boards.


Detailed Description

This module describes the API of the driver for the Industry Pack carrier boards.

Currently supported boards are:


Function Documentation

IpCarrierHdl ipCarrierPciOpen int    pciBusNo,
int    pciDevNo
 

Opens access to an IP module carrier board.

Parameters:
pciBusNo PCI bus number
pciDevNo PCI device number
Returns:
Handle to access IP carrier board or NULL if no carrier board found.

int ipCarrierGetNoOfSlots IpCarrierHdl    ipCarrierHdl
 

Returns the number of IP slots supported by a carrier.

Parameters:
ipCarrierHdl IP carrier handle
Returns:
Number of slots supported by carrier

void ipCarrierSet32MhzClock IpCarrierHdl    ipCarrierHdl,
int    ipSlotNo
 

Configures the clock rate for a module to be 32 MHz.

Parameters:
ipCarrierHdl IP carrier handle
ipSlotNo IP slot number (IP_SLOT_A = first slot)

void ipCarrierClose IpCarrierHdl    ipCarrierHdl
 

Closes access to the IP carrier board and releases associated resources including interrupts.

Parameters:
ipCarrierHdl IP carrier handle