Data Fields

# partition_struct Struct Reference
[Partition table support]

Describes a partition. More...

## 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 blocks on the disk where this partition starts.
uint32_t | length
| The length in blocks of this partition.

## Detailed Description

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