Re: I'm qurious about some code in CSDIOControllerBase::GetCommandResponse member function



On 5월29일, 오전9시50분, shj...@xxxxxxxxx wrote:
I'm meaning that I want to tell you that there is some wrong code.

*(respBuff + 1) = (BYTE)(vm_pSDIReg->SDIRSP0 ); <- the first
byte of SDIRSP0 is LSByte

but

*(respBuff + 5) = (BYTE)(vm_pSDIReg->SDIRSP1); <- the first byte of
SDIRSP1 is MSByte

I said that if this is to be correct code, the first byte of SDIRSP1
would be LSByte, wouldn't it?

I made a mistake..
I perused spec. again. Then I found MSB of SDIRSP1 is used as RCRC7.
Thanx u.
.