MPI 04.00 Reference >> mpiPlatform
mpiPlatformControllerCheck
Declaration
MPI_DECL1 long MPI_DECL2 mpiPlatformControllerCheck(MPIPlatform platform, long *unexpectedIntCode);
Required Header: stdmpi.h
Change History: Added in 04.00.04
Description
mpiPlatformControllerCheck checks condition of the controller internally when a timeout function is used and a timeout is detected. This function can also be called by the user at any time to verify that the controller’s processor is still running. If the controller has halted for some reason, the function will return MPIPlatformMessageCONTROLLER_HALTED and unexpectedIntCode will contain the interrupt vector that caused the controller to halt.
*unexpectedIntCode | *unexpectedIntCode contains the controller processor’s interrupt vector if an unexpected interrupt occurs in the processor. It is zero if the controller is Ok. |
---|
Returns |
---|
Returns controller halted error code MPIPlatformMessageCONTROLLER_HALTED and unexpected interrupt code. |