ChibiOS  21.6.0
SDCDriver Struct Reference

Structure representing an SDC driver. More...

#include <hal_sdc_lld.h>

Collaboration diagram for SDCDriver:
Collaboration graph

Data Fields

const struct SDCDriverVMTvmt
 Virtual Methods Table. More...
 
const _mmcsd_block_device_data SDCConfigconfig
 Current configuration data. More...
 
sdcmode_t cardmode
 Various flags regarding the mounted card. More...
 
sdcflags_t errors
 Errors flags. More...
 
uint32_t rca
 Card RCA. More...
 
uint8_t buf [MMCSD_BLOCK_SIZE]
 Buffer for internal operations. More...
 

Detailed Description

Structure representing an SDC driver.

Definition at line 105 of file hal_sdc_lld.h.

Field Documentation

◆ vmt

const struct SDCDriverVMT* SDCDriver::vmt

Virtual Methods Table.

Definition at line 109 of file hal_sdc_lld.h.

Referenced by sdcObjectInit().

◆ config

const _mmcsd_block_device_data SDCConfig* SDCDriver::config

Current configuration data.

Definition at line 114 of file hal_sdc_lld.h.

Referenced by sdcStart(), and sdcStop().

◆ cardmode

sdcmode_t SDCDriver::cardmode

Various flags regarding the mounted card.

Definition at line 118 of file hal_sdc_lld.h.

Referenced by sdc_init(), and sdcErase().

◆ errors

sdcflags_t SDCDriver::errors

Errors flags.

Definition at line 122 of file hal_sdc_lld.h.

Referenced by sdcGetAndClearErrors(), sdcObjectInit(), sdcRead(), and sdcWrite().

◆ rca

uint32_t SDCDriver::rca

Card RCA.

Definition at line 126 of file hal_sdc_lld.h.

◆ buf

uint8_t SDCDriver::buf[MMCSD_BLOCK_SIZE]

Buffer for internal operations.

Definition at line 130 of file hal_sdc_lld.h.