MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / executeCmd9

Function executeCmd9

source/devices/memory/SdCard.cpp:951–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

949 */
950
951std::pair<int, Csd> executeCmd9(SynchronousSdMmcCardLowLevel& sdCard, const uint16_t rca)
952{
953 const auto ret = executeCmdWithR2Response(sdCard, 9, static_cast<uint32_t>(rca) << 16, {});
954 return {ret.first, ret.second.getCsd()};
955}
956
957/**
958 * \brief Executes CMD12 command on SD card.

Callers 1

initializeMethod · 0.70

Calls 2

executeCmdWithR2ResponseFunction · 0.85
getCsdMethod · 0.80

Tested by

no test coverage detected