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

The card as the application sees it: what it is, how it is accessed and what the host found. More...

#include <stdbool.h>
#include <stdint.h>
#include <hal/device.h>
#include <hal/mmc/cid.h>

Go to the source code of this file.

Data Structures

struct  mmc_card_info
 What the host found out about the card. More...
struct  mmc_card
 A card known to the mmc core. More...

Detailed Description

The card as the application sees it: what it is, how it is accessed and what the host found.

The structure is owned by the mmc core; get a reference with mmc_host_card_get().