IPMCSDB Driver
Documentation
FOCUS Software Engineering

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

ipcarrier.h File Reference

Industry Pack carrier board support library header file. More...

Include dependency graph for ipcarrier.h:

Include dependency graph

Data Structures

struct  IpCarrierDescr
 IP carrier descriptor. More...


Typedefs

typedef IpCarrierDescrIpCarrierHdl
 IP carrier handle.


Enumerations

enum  IpCarrierType
 IP carrier types.


Functions

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

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

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

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

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


Detailed Description

Industry Pack carrier board support library header file.


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.

void ipCarrierClose IpCarrierHdl    ipCarrierHdl
 

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

Parameters:
ipCarrierHdl IP carrier handle

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)

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