COSA
An Object-Oriented Platform for Arduino Programming
FAT16::part_t Struct Reference

#include <FAT16.hh>

Collaboration diagram for FAT16::part_t:
Collaboration graph

Public Attributes

uint8_t boot
 
uint8_t beginHead
 
unsigned beginSector: 6
 
unsigned beginCylinderHigh: 2
 
uint8_t beginCylinderLow
 
uint8_t type
 
uint8_t endHead
 
unsigned endSector: 6
 
unsigned endCylinderHigh: 2
 
uint8_t endCylinderLow
 
uint32_t firstSector
 
uint32_t totalSectors
 

Detailed Description

MBR partition table entry. A partition table entry for a MBR formatted storage device. The MBR partition table has four entries.

Definition at line 53 of file FAT16.hh.

Member Data Documentation

unsigned FAT16::part_t::beginCylinderHigh

High bits cylinder for first block in partition.

Definition at line 73 of file FAT16.hh.

uint8_t FAT16::part_t::beginCylinderLow

Combine beginCylinderLow with beginCylinderHigh. Legal values are 0-1023. Only used in old PC BIOS.

Definition at line 78 of file FAT16.hh.

uint8_t FAT16::part_t::beginHead

Head part of Cylinder-head-sector address of the first block in the partition. Legal values are 0-255. Only used in old PC BIOS.

Definition at line 64 of file FAT16.hh.

unsigned FAT16::part_t::beginSector

Sector part of Cylinder-head-sector address of the first block in the partition. Legal values are 1-63. Only used in old PC BIOS.

Definition at line 69 of file FAT16.hh.

uint8_t FAT16::part_t::boot

Boot Indicator. Indicates whether the volume is the active partition. Legal values include: 0X00. Do not use for booting. 0X80 Active partition.

Definition at line 59 of file FAT16.hh.

unsigned FAT16::part_t::endCylinderHigh

High bits of end cylinder

Definition at line 97 of file FAT16.hh.

uint8_t FAT16::part_t::endCylinderLow

Combine endCylinderLow with endCylinderHigh. Legal values are 0-1023. Only used in old PC BIOS.

Definition at line 102 of file FAT16.hh.

uint8_t FAT16::part_t::endHead

head part of cylinder-head-sector address of the last sector in the partition. Legal values are 0-255. Only used in old PC BIOS.

Definition at line 88 of file FAT16.hh.

unsigned FAT16::part_t::endSector

Sector part of cylinder-head-sector address of the last sector in the partition. Legal values are 1-63. Only used in old PC BIOS.

Definition at line 93 of file FAT16.hh.

uint32_t FAT16::part_t::firstSector

Logical block address of the first block in the partition.

Definition at line 106 of file FAT16.hh.

uint32_t FAT16::part_t::totalSectors

Length of the partition, in blocks.

Definition at line 110 of file FAT16.hh.

uint8_t FAT16::part_t::type

Partition type. See defines that begin with PART_TYPE_ for some Microsoft partition types.

Definition at line 83 of file FAT16.hh.


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