|
CardSight 0.1.0
C API reference for the CardSight firmware and application
|
The cards of the board. More...
#include <hal/mmc/card.h>Go to the source code of this file.
Functions | |
| 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. | |
The cards of the board.
The host is a singleton here: CardSight has one SD slot, index 0.
| struct mmc_card * mmc_host_card_get | ( | struct mmc_host * | host | ) |
Return the card in a host with a reference.
| [in] | host | Host to query. |
| struct mmc_host * mmc_host_get | ( | uint32_t | index | ) |
Return the host at an index.
| [in] | index | Host index; the board has only index 0. |
index.