Hanna
Sourcecode Batteriemanagementsystem
Datenfelder
partition_struct Strukturreferenz

#include <partition.h>

Datenfelder

device_read_t device_read
 
device_read_interval_t device_read_interval
 
device_write_t device_write
 
device_write_interval_t device_write_interval
 
uint32_t length
 
uint32_t offset
 
uint8_t type
 

Ausführliche Beschreibung

Describes a partition.

Definiert in Zeile 165 der Datei partition.h.

Dokumentation der Datenelemente

device_read_t partition_struct::device_read

The function which reads data from the partition.

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

Definiert in Zeile 173 der Datei partition.h.

device_read_interval_t partition_struct::device_read_interval

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

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

Definiert in Zeile 180 der Datei partition.h.

device_write_t partition_struct::device_write

The function which writes data to the partition.

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

Definiert in Zeile 187 der Datei partition.h.

device_write_interval_t partition_struct::device_write_interval

The function which repeatedly writes data to the partition.

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

Definiert in Zeile 194 der Datei partition.h.

uint32_t partition_struct::length

The length in blocks of this partition.

Definiert in Zeile 209 der Datei partition.h.

uint32_t partition_struct::offset

The offset in blocks on the disk where this partition starts.

Definiert in Zeile 205 der Datei partition.h.

uint8_t partition_struct::type

The type of the partition.

Compare this value to the PARTITION_TYPE_* constants.

Definiert in Zeile 201 der Datei partition.h.