Nut/OS  4.10.3
API Reference
_MMC_CSD Struct Reference

Multimedia card identification register. More...

#include <mmcard.h>

Collaboration diagram for _MMC_CSD:

Data Fields

uint8_t mmcsd_spec
 Card specification.
uint8_t mmcsd_taac
 Data read access time.
uint8_t mmcsd_nsac
 Data read access time 2.
uint8_t mmcsd_speed
 Maximum data transfer rate.
uint8_t mmcsd_ccc_bl [2]
 Card command classes and max. read block length.
uint8_t mmcsd_rfld [8]
 Read-only fields.
uint8_t mmcsd_pfld
 Programmable field.
uint8_t mmcsd_crc
 Checksum.

Detailed Description

Multimedia card identification register.

Definition at line 348 of file mmcard.h.


Field Documentation

Card specification.

Definition at line 350 of file mmcard.h.

Data read access time.

Definition at line 352 of file mmcard.h.

Data read access time 2.

Definition at line 354 of file mmcard.h.

Maximum data transfer rate.

Definition at line 356 of file mmcard.h.

Card command classes and max. read block length.

Definition at line 358 of file mmcard.h.

Read-only fields.

  • [0] 0..1 Device size bits 10..11.
  • [0] 2..3 Reserved.
  • [0] 4 DSR implemented.
  • [0] 5 Read block misalignment.
  • [0] 6 Write block misalignment.
  • [0] 7 Partial blocks for read allowed.
  • [1] 0..7 Device size bits 2..9.
  • [2] 0..2 Max. read current at VDD max.
  • [2] 3..5 Max. read current at VDD min.
  • [2] 6..7 Device size bits 0..1.
  • [3] 0..1 Device size multiplier bits 1..2.
  • [3] 2..4 Max. write current at VDD max.
  • [3] 5..7 Max. write current at VDD min.
  • [4] 0..1 Erase group size multiplier bits 3..4.
  • [4] 2..6 Erase group size.
  • [4] 7 Device size multiplier bit 0.
  • [5] 0..4 Write protect group size.
  • [5] 5..7 Erase group size multiplier bits 0..2.
  • [6] 0..1 Max. write data block length bits 2..3.
  • [6] 2..4 Read to write speed factor.
  • [6] 5..6 Reserved.
  • [6] 7 Write protect group enable.
  • [7] 0 Content protection application.
  • [7] 1..4 Reserved.
  • [7] 5 Partial blocks for write allowed.
  • [7] 6..7 Max. write data block length bits 0..1.

Definition at line 388 of file mmcard.h.

Programmable field.

Definition at line 390 of file mmcard.h.

Checksum.

Definition at line 392 of file mmcard.h.


The documentation for this struct was generated from the following file: