RTEMS: rtems_fdisk_device_desc Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
rtems_fdisk_device_desc Struct Reference
Device Drivers » Block Device Library » Block Device Management » Flash Disk Device

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

`#include <flashdisk.h>`

## Data Fields
uint32_t | segment_count
const rtems_fdisk_segment_desc * | segments
const rtems_fdisk_driver_handlers * | flash_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:

- cpukit/include/rtems/flashdisk.h