Home
last modified time | relevance | path

Searched refs:rawCid (Results 1 – 2 of 2) sorted by relevance

/bsp/rv32m1_vega/rv32m1_sdk_riscv/sdmmc_2.1.2/src/
A Dfsl_sd.c164 static void SD_DecodeCid(sd_card_t *card, uint32_t *rawCid);
892 static void SD_DecodeCid(sd_card_t *card, uint32_t *rawCid) in SD_DecodeCid() argument
895 assert(rawCid); in SD_DecodeCid()
900 cid->manufacturerID = (uint8_t)((rawCid[3U] & 0xFF000000U) >> 24U); in SD_DecodeCid()
901 cid->applicationID = (uint16_t)((rawCid[3U] & 0xFFFF00U) >> 8U); in SD_DecodeCid()
903 cid->productName[0U] = (uint8_t)((rawCid[3U] & 0xFFU)); in SD_DecodeCid()
905 cid->productName[2U] = (uint8_t)((rawCid[2U] & 0xFF0000U) >> 16U); in SD_DecodeCid()
906 cid->productName[3U] = (uint8_t)((rawCid[2U] & 0xFF00U) >> 8U); in SD_DecodeCid()
907 cid->productName[4U] = (uint8_t)((rawCid[2U] & 0xFFU)); in SD_DecodeCid()
914 cid->manufacturerData = (uint16_t)((rawCid[0U] & 0xFFF00U) >> 8U); in SD_DecodeCid()
[all …]
/bsp/rv32m1_vega/rv32m1_sdk_riscv/sdmmc_2.1.2/inc/
A Dfsl_card.h137 uint32_t rawCid[4U]; /*!< Raw CID content */ member
196 uint32_t rawCid[4U]; /*!< Raw CID content */ member

Completed in 13 milliseconds