FreeBSD/sys/boot/arm/at91/libat91/sd-card.c
//*----------------------------------------------------------------------------
//* \fn    MCI_GetStatus
//* \brief Addressed card sends its status register
//*----------------------------------------------------------------------------
\fn    MCI_GetStatus
\brief Addressed card sends its status register
\ fn MCI_GetStatus \ brief Addressed card sends its status register
static unsigned int
MCI_GetStatus()
{
	if (MCI_SendCommand(SEND_STATUS_CMD, MCI_Device.RCA << 16))
		return 0;
	return (AT91C_BASE_MCI->MCI_RSPR[0]);
}
static unsigned int MCI_GetStatus ( ) { if ( MCI_SendCommand ( SEND_STATUS_CMD , MCI_Device . RCA << 16 ) ) return 0 ; return ( AT91C_BASE_MCI -> MCI_RSPR [ 0 ] ) ; }
\fn    MCI_GetStatus
\brief Addressed card sends its status register
\ fn MCI_GetStatus \ brief Addressed card sends its status register