NTAGShutdown

Syntax

#include <cafe/ntag.h>

NTAGError NTAGShutdown( s32 chan );

Parameters

chan Controller number 0.

Return Values

NTAG_ERR_NONEThe command was issued normally.
NTAG_ERR_INVALID_COMMANDInvalid command.
NTAG_ERR_SHUTDOWNThe shutdown command failed.

Description

Shutdown function for the NTAG library. Handles the shutdown process for the NTAG module. If called before initialization has finished, an error (NTAG_ERR_SHUTDOWN) occurs. In general, call this function only when the return value for NTAGIsInit is TRUE.

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.
Multiple Cores Do not call this function from more than one Core.

See Also

NFCInit

Revision History

2013/05/08 Automated cleanup pass.
2013/01/31 Added error conditions.
2012/11/29 Initial version.


CONFIDENTIAL