# MB_CommSetParentStateCallback

## C Specification

  `#include <nitro/mb.h>`
  `void MB_CommSetParentStateCallback(MBCommPStateCallback callback);`

## Arguments

callback | Pointer to the callback function that notifies the parent state This callback is called from the interrupt handler.

## Return Values

None.

## Description

This function sets the callback function for communicating the parent state. This callback is called each time an automatically occurring internal parent process enters a specific state.

## See Also

`MBCommPStateCallback`, `MBCommPState`, `MB_StartParent`, `MB_End`

## Revision History

06/01/2005 Added text indicating that the callback is called from the interrupt handler.
08/09/2004 Initial version.

CONFIDENTIAL