Block Devices
[Device Driver API.]

Mass storage block device driver. More...

Collaboration diagram for Block Devices:

Data Structures

struct  BLKPAR_SEEK
 Block seek parameter structure. More...
struct  BLKPAR_INFO
 Device information parameter structure. More...
struct  NUTBLOCKIO
 Generic block I/O device interface structure. More...

Modules

 Multimedia Card Driver
 

Block device driver for MM/SD Cards.


 Low Level MMC Interface
 

Bit banging SPI for MMC.


Control Codes



#define NUTBLKDEV_MEDIAAVAIL   0x1200
 Query for media change.
#define NUTBLKDEV_MEDIACHANGE   0x1201
 Query for media change.
#define NUTBLKDEV_INFO   0x1202
 Retrieve device information.
#define NUTBLKDEV_SEEK   0x1203
 Block seek request.

Detailed Description

Mass storage block device driver.


Define Documentation

#define NUTBLKDEV_MEDIAAVAIL   0x1200

Query for media change.

Definition at line 76 of file blockdev.h.

Referenced by MmCardIOCtl(), and SpiAt45dIOCtl().

#define NUTBLKDEV_MEDIACHANGE   0x1201

Query for media change.

Definition at line 78 of file blockdev.h.

Referenced by MmCardIOCtl(), and SpiAt45dIOCtl().

#define NUTBLKDEV_INFO   0x1202

Retrieve device information.

Definition at line 80 of file blockdev.h.

Referenced by MmCardIOCtl(), NutBlockDeviceIOCtl(), PhatVolMount(), and RawFsMount().

#define NUTBLKDEV_SEEK   0x1203

Block seek request.

Definition at line 82 of file blockdev.h.

Referenced by MmCardIOCtl(), NutBlockDeviceIOCtl(), PhatSectorFlush(), and PhatSectorRead().


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/