partition_struct Struct Reference
[Partition table support]


Detailed Description

Describes a partition.

Data Fields

device_read_t device_read
 The function which reads data from the partition.
device_read_interval_t device_read_interval
 The function which repeatedly reads a constant amount of data from the partition.
device_write_t device_write
 The function which writes data to the partition.
device_write_interval_t device_write_interval
 The function which repeatedly writes data to the partition.
uint8_t type
 The type of the partition.
uint32_t offset
 The offset in bytes on the disk where this partition starts.
uint32_t length
 The length in bytes of this partition.

Field Documentation

device_read_t partition_struct::device_read

The function which reads data from the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

device_read_interval_t partition_struct::device_read_interval

The function which repeatedly reads a constant amount of data from the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

device_write_t partition_struct::device_write

The function which writes data to the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

device_write_interval_t partition_struct::device_write_interval

The function which repeatedly writes data to the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

uint8_t partition_struct::type

The type of the partition.

Compare this value to the PARTITION_TYPE_* constants.


Generated on Thu Dec 13 19:38:48 2007 for sd-reader by  doxygen 1.5.3-20071008