MPISynqNetStatus

Definition

typedef struct MPISynqNetStatus {
    MPISynqNetState             state;
    MPI_BOOL                    topologySaved;  /* TRUE/FALSE */
    MPISynqNetStatusCrcError    crcError;
    MPIEventMask                eventMask;
    MPISynqNetFailedNodeMask    failedNodeMask;
    MPISynqNetShutdownNodeMask  shutdownNodeMask;
} MPISynqNetStatus;

 

Required Header: stdmpi.h
Change History: Modified in 03.04.00 and 03.03.00.

Description

MPISynqNetStatus contains network state information, CRC counters, eventMask, and the failedNodeMask for a SynqNet network. The network status can be read with the mpiSynqNetStatus(...) method.

state Present operation mode for the network.
topologySaved Contains the status of the network topology.
FALSE means the topology is dynamically discovered at initialization.
TRUE means that the topology is verified against an expected topology at initialization. See Saving Current Topology To Flash for more information.
crcError CRC error counters for the controller's network ports. The CRC value increments when received data is corrupt. Range is from 0 to 255. Counter saturates at 255.
eventMask An array that defines the status for the event mask bits. The array is defined as:

typedef MPIEventMaskELEMENT_TYPE
MPIEventMask[MPIEventMaskELEMENTS]


The bits are defined by the MPIEventType enumerations.
failedNodeMask Array that defines the failed node mask bits. Each bit represents a failed node (0x1 = node 0, 0x2 = node 2, 0x4 = node 3, etc.). The array is defined as:

#define MPISynqNetNodeMaskELEMENTS (1) typedef int32_t MPISynqNetFailedNodeMask [MPISynqNetNodeMaskELEMENTS];
shutdownNodeMask Bit mask representing the nodes that have been shutdown by the user.

See Also

mpiSynqNetStatus | mpiSqNodeStatus | MPISqNodeStatus | mpiSynqNetNodeShutdown | mpiSynqNetNodeShutdownNodeMask