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.
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.

uint8_t partition_struct::type
 

The type of the partition.

Compare this value to the PARTITION_TYPE_* constants.


Generated on Sun Mar 19 16:43:04 2006 for sd-reader by  doxygen 1.4.6