ChibiOS 21.11.5
mmc_spi_driver_t Struct Reference

Structure representing a MMC/SD over SPI driver. More...

#include <hal_mmc_spi.h>

Inheritance diagram for mmc_spi_driver_t:
Inheritance graph
Collaboration diagram for mmc_spi_driver_t:
Collaboration graph

Data Fields

const struct mmc_spi_driver_vmt * vmt
 Virtual Methods Table.
_mmcsd_block_device_data const mmc_spi_config_t * config
 Current configuration data.
bool block_addresses
 Addresses use blocks instead of bytes.
uint8_t * buffer
 Pointer to an un-cacheable buffer of size MMC_BUFFER_SIZE.
Data Fields inherited from MMCSDBlockDevice
const struct MMCSDBlockDeviceVMT * vmt
 Virtual Methods Table.
Data Fields inherited from BaseBlockDevice
const struct BaseBlockDeviceVMT * vmt
 Virtual Methods Table.
Data Fields inherited from BaseObject
const struct BaseObjectVMT * vmt
 Virtual Methods Table.

Detailed Description

Structure representing a MMC/SD over SPI driver.

Definition at line 130 of file hal_mmc_spi.h.

Field Documentation

◆ vmt

const struct mmc_spi_driver_vmt* mmc_spi_driver_t::vmt

Virtual Methods Table.

Definition at line 134 of file hal_mmc_spi.h.

Referenced by mmcObjectInit().

◆ config

◆ block_addresses

bool mmc_spi_driver_t::block_addresses

Addresses use blocks instead of bytes.

Definition at line 143 of file hal_mmc_spi.h.

Referenced by mmcConnect(), mmcErase(), mmcObjectInit(), mmcStartSequentialRead(), and mmcStartSequentialWrite().

◆ buffer

uint8_t* mmc_spi_driver_t::buffer

Pointer to an un-cacheable buffer of size MMC_BUFFER_SIZE.

Definition at line 147 of file hal_mmc_spi.h.

Referenced by mmc_read_CxD(), mmc_recvr1(), mmc_recvr3(), mmc_send_hdr(), mmc_wait_idle(), mmcConnect(), mmcObjectInit(), mmcSequentialRead(), and mmcSequentialWrite().