Searched refs:csd (Results 1 – 1 of 1) sorted by relevance
143 uint8_t csd[16]; in SDSPI_getNumSectors() local155 recvDataBlock(object->spiHandle, csd, 16)) { in SDSPI_getNumSectors()157 if ((csd[0] >> 6) == 1) { in SDSPI_getNumSectors()158 csize = csd[9] + (csd[8] << 8) + 1; in SDSPI_getNumSectors()163 n = (csd[5] & 15) + ((csd[10] & 128) >> 7) + in SDSPI_getNumSectors()164 ((csd[9] & 3) << 1) + 2; in SDSPI_getNumSectors()166 csize = (csd[8] >> 6) + ((uint16_t) csd[7] << 2) + in SDSPI_getNumSectors()167 ((uint16_t) (csd[6] & 3) << 10) + 1; in SDSPI_getNumSectors()