RTEMS  5.1
Data Fields
rtems_fdisk_device_desc Struct Reference

Flash Device Descriptor holds the segments in a device. More...

#include <flashdisk.h>

Data Fields

uint32_t segment_count
 
const rtems_fdisk_segment_descsegments
 
const rtems_fdisk_driver_handlersflash_ops
 

Detailed Description

Flash Device Descriptor holds the segments in a device.

The placing of the segments in a device decriptor allows the low level driver to share the segment descriptors for a number of devices.

Typically this structure is part of a table of segments in the device which is referenced in the flash disk configuration table. The reference is kept in the driver and used all the time to manage the flash device, therefore it must always exist.

Field Documentation

◆ flash_ops

const rtems_fdisk_driver_handlers* rtems_fdisk_device_desc::flash_ops

Device handlers.

◆ segment_count

uint32_t rtems_fdisk_device_desc::segment_count

Number of segments.

◆ segments

const rtems_fdisk_segment_desc* rtems_fdisk_device_desc::segments

Array of segments.


The documentation for this struct was generated from the following file: