ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::storage::BlockGeometry Struct Reference

The shape of a block device. A block_count of 0 means no media is present. More...

#include <block_device.h>

Data Fields

uint32_t block_size {0}
 
uint32_t block_count {0}
 
uint16_t read_size {1}
 
uint16_t program_size {1}
 
uint8_t flags {0}
 

Detailed Description

The shape of a block device. A block_count of 0 means no media is present.

Definition at line 29 of file block_device.h.

Field Documentation

◆ block_count

uint32_t esphome::storage::BlockGeometry::block_count {0}

Definition at line 31 of file block_device.h.

◆ block_size

uint32_t esphome::storage::BlockGeometry::block_size {0}

Definition at line 30 of file block_device.h.

◆ flags

uint8_t esphome::storage::BlockGeometry::flags {0}

Definition at line 34 of file block_device.h.

◆ program_size

uint16_t esphome::storage::BlockGeometry::program_size {1}

Definition at line 33 of file block_device.h.

◆ read_size

uint16_t esphome::storage::BlockGeometry::read_size {1}

Definition at line 32 of file block_device.h.


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