CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
host.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
8
9#ifndef CARDSIGHT_MMC_HOST_H
10#define CARDSIGHT_MMC_HOST_H
11
12#include <hal/mmc/card.h>
13
15struct mmc_host;
16
23struct mmc_host *mmc_host_get(uint32_t index);
24
32struct mmc_card *mmc_host_card_get(struct mmc_host *host);
33
34#endif /* CARDSIGHT_MMC_HOST_H */
The card as the application sees it: what it is, how it is accessed and what the host found.
struct mmc_host * mmc_host_get(uint32_t index)
Return the host at an index.
struct mmc_card * mmc_host_card_get(struct mmc_host *host)
Return the card in a host with a reference.
A card known to the mmc core.
Definition card.h:43
struct mmc_host * host
Definition card.h:45