ChibiOS/HAL  6.1.0
hal_mmcsd.c File Reference

MMC/SD cards common code. More...

#include "hal.h"

Go to the source code of this file.

Functions

uint32_t _mmcsd_get_slice (const uint32_t *data, uint32_t end, uint32_t start)
 Gets a bit field from a words array. More...
 
uint32_t _mmcsd_get_capacity (const uint32_t *csd)
 Extract card capacity from a CSD. More...
 
uint32_t _mmcsd_get_capacity_ext (const uint8_t *ext_csd)
 Extract MMC card capacity from EXT_CSD. More...
 
void _mmcsd_unpack_sdc_cid (const MMCSDBlockDevice *sdcp, unpacked_sdc_cid_t *cidsdc)
 Unpacks SDC CID array in structure. More...
 
void _mmcsd_unpack_mmc_cid (const MMCSDBlockDevice *sdcp, unpacked_mmc_cid_t *cidmmc)
 Unpacks MMC CID array in structure. More...
 
void _mmcsd_unpack_csd_mmc (const MMCSDBlockDevice *sdcp, unpacked_mmc_csd_t *csdmmc)
 Unpacks MMC CSD array in structure. More...
 
void _mmcsd_unpack_csd_v10 (const MMCSDBlockDevice *sdcp, unpacked_sdc_csd_10_t *csd10)
 Unpacks SDC CSD v1.0 array in structure. More...
 
void _mmcsd_unpack_csd_v20 (const MMCSDBlockDevice *sdcp, unpacked_sdc_csd_20_t *csd20)
 Unpacks SDC CSD v2.0 array in structure. More...
 

Detailed Description

MMC/SD cards common code.

Definition in file hal_mmcsd.c.