FreeBSD/sys/boot/arm/at91/libat91/sd-card.c
//*----------------------------------------------------------------------------
//* \fn    MCI_SDCard_SendAppCommand
//* \brief Specific function to send a specific command to the SDCard
//*----------------------------------------------------------------------------
\fn    MCI_SDCard_SendAppCommand
\brief Specific function to send a specific command to the SDCard
\ fn MCI_SDCard_SendAppCommand \ brief Specific function to send a specific command to the SDCard
static int
MCI_SDCard_SendAppCommand(
	unsigned int Cmd_App,
	unsigned int Arg)
{
	int status;
	if ((status = MCI_SendCommand(APP_CMD, (MCI_Device.RCA << 16))) == 0)
		status = MCI_SendCommand(Cmd_App,Arg);
	return status;
}
static int MCI_SDCard_SendAppCommand ( unsigned int Cmd_App , unsigned int Arg ) { int status ; if ( ( status = MCI_SendCommand ( APP_CMD , ( MCI_Device . RCA << 16 ) ) ) == 0 ) status = MCI_SendCommand ( Cmd_App , Arg ) ; return status ; }
\fn    MCI_SDCard_SendAppCommand
\brief Specific function to send a specific command to the SDCard
\ fn MCI_SDCard_SendAppCommand \ brief Specific function to send a specific command to the SDCard