CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
cid.h File Reference

The card identification register, decoded. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  mmc_cid_identity
 Friendly fields decoded from the card identification register. More...

Functions

void mmc_decode_cid (const uint8_t cid[16], struct mmc_cid_identity *identity)
 Decode a raw CID register into identity fields.

Detailed Description

The card identification register, decoded.

Function Documentation

◆ mmc_decode_cid()

void mmc_decode_cid ( const uint8_t cid[16],
struct mmc_cid_identity * identity )

Decode a raw CID register into identity fields.

Parameters
[in]cidThe 16-byte card identification register.
[out]identityReceives the decoded fields.