Block Devices
[Device Driver API.]

Collaboration diagram for Block Devices:


Detailed Description

Mass storage block device driver.


Modules

 Multimedia Card Driver
 Block device driver for MM/SD Cards.
 Low Level MMC Interface
 Bit banging SPI for MMC.

Data Structures

struct  _BLKPAR_SEEK
struct  _BLKPAR_INFO

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.

Typedefs

typedef _BLKPAR_SEEK BLKPAR_SEEK
typedef _BLKPAR_INFO BLKPAR_INFO


Define Documentation

#define NUTBLKDEV_MEDIAAVAIL   0x1200

Query for media change.

Definition at line 67 of file blockdev.h.

Referenced by MmCardIOCtl().

#define NUTBLKDEV_MEDIACHANGE   0x1201

Query for media change.

Definition at line 69 of file blockdev.h.

Referenced by MmCardIOCtl().

#define NUTBLKDEV_INFO   0x1202

Retrieve device information.

Definition at line 71 of file blockdev.h.

Referenced by MmCardIOCtl(), and PhatVolMount().

#define NUTBLKDEV_SEEK   0x1203

Block seek request.

Definition at line 73 of file blockdev.h.

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


Typedef Documentation

typedef struct _BLKPAR_SEEK BLKPAR_SEEK

typedef struct _BLKPAR_INFO BLKPAR_INFO


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