RTEMS: rtems_fdisk_segment_desc Struct Reference

| RTEMS 5.4-rc2

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

Flash Segment Descriptor holds, number of continuous segments in the device of this type, the base segment number in the device, the address offset of the base segment in the device, and the size of segment. More...

`#include <flashdisk.h>`

## Data Fields
uint16_t | count
uint16_t | segment
uint32_t | offset
uint32_t | size

## Detailed Description

Flash Segment Descriptor holds, number of continuous segments in the device of this type, the base segment number in the device, the address offset of the base segment in the device, and the size of segment.

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

## ◆ count

uint16_t rtems_fdisk_segment_desc::count

Number of segments of this type in a row.

## ◆ offset

uint32_t rtems_fdisk_segment_desc::offset

Address offset of base segment in device.

## ◆ segment

uint16_t rtems_fdisk_segment_desc::segment

The base segment number.

## ◆ size

uint32_t rtems_fdisk_segment_desc::size

Size of the segment in bytes.

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

- cpukit/include/rtems/flashdisk.h