(Page 6 of 8 in this chapter)
MC1_QUERY_CONFIG
Description
- Reads the configuration of the MC1 board.
- To invoke this command, use it in a CxDriverCommand function call.
Parameters
typedef struct mc1_config_parms
{
DRVINT size ; /* size of this structure in bytes */
DRVINT disable_watchdog ; /* state of watchdog function */
DRVINT nstreams ; /* number of logical streams enabled */
DRVINT streams[22] ; /* array of MC1 streams enabled */
} mc1_config_parms
Number of Parameters
Return Values
Details
- The size field of the structure is the only element that must be passed in by the caller. The command fills in the rest of the structure with the configuration information. The size field will be updated to reflect the actual size of the returned structure.
- The disable_watchdog field indicates if the watchdog is enabled (disable_watchdog = 0) or disabled (disable_watchdog <> 0).
- The nstreams field indicates how many outgoing MC1 streams are enabled.
- The streams field is an array of the outgoing MC1 streams.
(Page 6 of 8 in this chapter)
Tech_Support@nmss.com
Copyright © 1996, Natural MicroSystems, Inc. All rights
reserved.