Nut/OS  5.0.5
API Reference
_MMC_CSD Struct Reference

Multimedia card identification register. More...

#include <lpc177x_8x_mmcard_sdio.h>

Collaboration diagram for _MMC_CSD:
[legend]

Data Fields

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


Field Documentation

Card specification.

Data read access time.

Data read access time 2.

Maximum data transfer rate.

Card command classes and max. read block length.

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.

Programmable field.


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