(Page 14 of 26 in this chapter)
cpi_get_resources
Description
- Identifies which TX Series boards, if any, are available.
Prototype
- #include <txcpi.h>
- short cpi_get_resources (short max_cps, long cps[])
Return Values
Details
- Each element of the array cps will be filled with 0 if there is not a CP of the corresponding index or will be filled with TX_1000, TX_2000, ... if a CP does exist for that index. The parameter max_cps indicates the number of CPs to check for. The cps array should have max_cps + 1 elements since the array is filled according to board number, i.e., there is no board number 0 and this element is not used by this routine.
(Page 14 of 26 in this chapter)
tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights
reserved.