Nut/OS  5.0.5
API Reference
_MMCFCB Struct Reference

Local multimedia card mount information. More...

Collaboration diagram for _MMCFCB:
[legend]

Data Fields

NUTDEVICEfcb_fsdev
 Attached file system device.
DOSPART fcb_part
 Partition table entry of the currently mounted partition.
uint32_t fcb_blknum
 Next block number to read.
u_char fcb_blkbuf [MMC_BLOCK_SIZE]
 Internal block buffer.
uint8_t fcb_blkbuf [MMC_BLOCK_SIZE]
 Internal block buffer.
uint32_t fcb_address
 Next block number to read.

Detailed Description

Local multimedia card mount information.

Local multimedia card status information.


Field Documentation

Attached file system device.

Referenced by MmCardMount(), MmCardUnmount(), SpiMmcMount(), and SpiMmcUnmount().

Partition table entry of the currently mounted partition.

Referenced by MmCardBlockRead(), MmCardBlockWrite(), MmCardIOCtl(), MmCardMount(), SpiMmcIOCtl(), and SpiMmcMount().

Next block number to read.

The file system driver will send a NUTBLKDEV_SEEK control command to set this value before calling the read or the write routine.

The number is partition relative.

Referenced by MmCardBlockRead(), MmCardBlockWrite(), and MmCardIOCtl().

Internal block buffer.

A file system driver may use this one or optionally provide it's own buffers.

Minimal systems may share their external bus interface with device I/O lines, in which case the buffer must be located in internal memory.

Referenced by MmCardBlockRead(), MmCardBlockWrite(), MmCardIOCtl(), MmCardMount(), SpiMmcBlockRead(), SpiMmcBlockWrite(), SpiMmcIOCtl(), and SpiMmcMount().

uint8_t _MMCFCB::fcb_blkbuf[MMC_BLOCK_SIZE]

Internal block buffer.

A file system driver may use this one or optionally provide it's own buffers.

Minimal systems may share their external bus interface with device I/O lines, in which case the buffer must be located in internal memory.

Next block number to read.

The file system driver will send a NUTBLKDEV_SEEK control command to set this value before calling the read or the write routine.

The number is partition relative.

Referenced by SpiMmcBlockRead(), SpiMmcBlockWrite(), and SpiMmcIOCtl().


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