# CARD_TerminateForPulledOut

## C Specification

      #include <nitro/card.h>

      void CARD_TerminateForPulledOut( void );

## Arguments

None

## Return Values

None

## Description

This function stops the ARM7 processor and the program. This function is called after a card removal is detected. However, if the cover is closed when this function is called, it turns off power to the device.

Use the callback that is set by `CARD_SetPulledOutCallback` and `CARD_IsPulledOut` to detect a game card removal.

The stop notification that is sent to ARM7 is sent internally by a PXI signal. Do not call this function when PXI interrupts are prohibited.

## See Also

`CARD_SetPulledOutCallback, CARD_IsPulledOut`

## Revision History

11/10/2004 Added that it turns the power off if the cover is closed.
09/16/2004 Initial version.