[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        CardResetRemove -- Set/Clear reset on card removal.

   SYNOPSIS
        success=CardResetRemove( handle, flag );
                                 a1      d0

        bool cardresetremove( struct cardhandle *, ulong );

   FUNCTION
        Used to set/clear HARDWARE reset on card change detect.

        This function should generally not be used by devices
        which support HOT-REMOVAL.  HARDWARE reset on removal
        is generally intended for execute-in-place software, or
        ram cards whose memory has been added as system ram.

   INPUTS
        handle - Same handle as that used when owncard() was called.

        flag - TRUE if you want to SET HARDWARE reset on credit
               card removal.  FALSE if you want to CLEAR HARDWARE
               reset.

   RETURNS
        1  - Success.

        0  - Function failed (most likely because the card was removed
             by the user, and you are no longer the owner of the card).

        -1 - This function is not being made available.

   NOTES
        This function should only be called from a task.

   SEE ALSO
        owncard()