CAPL Functions » MOST » mostSetShutdownReason
Function Syntax
Description
Sets the shutdown reason value. This function is needed for resetting the shutdown reason value to 0x00 (No result available). Note: It is recommended to call this function from the OnMostShutdownReason event procedure.Parameters
- channel: Channel of the connected interface.
- reason: The reason code for the last shutdown.
- 0: No result available
Return Values
- \< 0: See error codes