successional question : about CSDIOControllerBase::GetCommandResponse




//*(pchRespBuff ) = (BYTE)(START_BIT | TRANSMISSION_BIT |
// START_RESERVED); <- why it is blocked?

above code in CSDIOControllerBase::GetCommandResponse function is
blocked,
but I couldn't figure out what the reason is.

Please, let me know.

Thanx in advance.
Have a good day~


SD_API_STATUS CSDIOControllerBase::GetCommandResponse(PSD_BUS_REQUEST
pRequest)
{
..... abbreviated....
case ResponseR2:
//DEBUGMSG(1, (TEXT("R2=0x%x\r\n"), vm_pXSDReg-
XSD_RSP_0));
//--- LONG RESPONSE (136 bits total ; 17 bytes)---
// Format: { START_BIT(1) | TRANSMISSION_BIT(1) |
RESERVED(6) | CARD_STATUS(127) | END_BIT(1) }
//
// NOTE: In this implementation, the caller doesn't
require the upper 8 bits of reserved data.
// Consequently, these bits aren't included and the
response info is copied directly into
// the beginning of the supplied buffer.
//
//*(pchRespBuff ) = (BYTE)(START_BIT | TRANSMISSION_BIT
|
// START_RESERVED); <- why it is blocked?
*(pchRespBuff + 0) = (BYTE)(vm_pXSDReg->RESP[3] );
*(pchRespBuff + 1) = (BYTE)(vm_pXSDReg->RESP[3] >> 8 );
*(pchRespBuff + 2) = (BYTE)(vm_pXSDReg->RESP[3] >> 16);
*(pchRespBuff + 3) = (BYTE)(vm_pXSDReg->RESP[3] >> 24);

*(pchRespBuff + 4) = (BYTE)(vm_pXSDReg->RESP[2] );
*(pchRespBuff + 5) = (BYTE)(vm_pXSDReg->RESP[2] >> 8 );
*(pchRespBuff + 6) = (BYTE)(vm_pXSDReg->RESP[2] >> 16);
*(pchRespBuff + 7) = (BYTE)(vm_pXSDReg->RESP[2] >> 24);

*(pchRespBuff + 8) = (BYTE)(vm_pXSDReg->RESP[1] );
*(pchRespBuff + 9) = (BYTE)(vm_pXSDReg->RESP[1] >> 8 );
*(pchRespBuff + 10)= (BYTE)(vm_pXSDReg->RESP[1] >> 16);
*(pchRespBuff + 11)= (BYTE)(vm_pXSDReg->RESP[1] >> 24);

*(pchRespBuff + 12)= (BYTE)(vm_pXSDReg->RESP[0] );
*(pchRespBuff + 13)= (BYTE)(vm_pXSDReg->RESP[0] >> 8 );
*(pchRespBuff + 14)= (BYTE)(vm_pXSDReg->RESP[0] >> 16);
*(pchRespBuff + 15)= (BYTE)(vm_pXSDReg->RESP[0] >> 24);
break;

default:
DEBUGMSG(SDCARD_ZONE_ERROR, (TEXT("SDHCD:GetCmdResponse():
Unrecognized response type!\r\n")));
break;
}

DEBUGMSG(SDCARD_ZONE_INFO,(TEXT("GetCommandResponse returned
SD_API_STATUS_SUCCESS\r\n")));
return SD_API_STATUS_SUCCESS;
}
.



Relevant Pages

  • Re: OT United Nations Offers Help...
    ... but she is more upset about what the Mayor ... > broke, however, the "one" that caused the resulting flooding of the city ... Was the slow response of rescue because ... > reason why there was no quick response? ...
    (rec.arts.tv.soaps.cbs)
  • Re: Thunderbird and KDE
    ... >> And speaking of your response to ... If I think she can reason deductively, ... > enough it will be over with the generalizations' general genericness. ... > Anyway, no, I'm not Australian, I'm Dutch. ...
    (alt.html)
  • Re: Thunderbird and KDE
    ... She had more ego than brains, ... >> response, tell 'em the consequences. ... >> when I stopped pretending I could whistle (not a tune, ... If I think she can reason deductively, ...
    (alt.html)
  • Re: First CCW shoot in Ohio
    ... Going to certain areas of my city not at all for any reason. ... Carrying pepper spray at all times. ... but we also understand that the only viable response to immediate ... We can see this with the number of states forced into liberalizing their ...
    (rec.crafts.metalworking)
  • Re: partial discovery -- what happens to motions?
    ... Did opposing counsel in his response to your discovery demands confirm ... some stated reason. ... such documents at trial, if plaintiff later so attempts and, if it ...
    (misc.legal)