cpi_nmi

Controls the non-maskable interrupt (NMI) state on the TX board.

Prototype

#include txcpi.h

S16 cpi_nmi ( TX_HANDLE handle, U32 state)

Argument

Description

handle

TX handle number.

state

Desired state of the NMI signal. Valid values:

CPI_NMI_ASSERT

Assert NMI signal.

CPI_NMI_DEASSERT

Deassert NMI signal.


Return values

Return value

Description

CPI_SUCCESS

NMI signal state set as requested.

CPI_ERROR

Call cpi_get_last_error to obtain the error code.


Details

Use the NMI to halt all standard processing on the TX board and to place the board into a state where diagnostic information can be read from the board. An application should assert NMI first, and then deassert NMI to cause the TX board to begin executing in this diagnostic state.