Loading...
Searching...
No Matches
vcdiff_mtd_t Struct Reference

Context for the underlying MTD device. More...

Detailed Description

Context for the underlying MTD device.

Definition at line 43 of file vcdiff_mtd.h.

#include <vcdiff_mtd.h>

Data Fields

mtd_dev_tdev
 Instance of the backing MTD device.
 
size_t next_erase_sector
 Number of the next sector that must be erased.
 
uint8_t write_buffer [CONFIG_TINYVCDIFF_MTD_WRITE_SIZE]
 Buffer for aligned writes.
 
size_t offset
 Current offset on the MTD device.
 

Field Documentation

◆ dev

mtd_dev_t* vcdiff_mtd_t::dev

Instance of the backing MTD device.

Definition at line 47 of file vcdiff_mtd.h.

◆ next_erase_sector

size_t vcdiff_mtd_t::next_erase_sector

Number of the next sector that must be erased.

Definition at line 52 of file vcdiff_mtd.h.

◆ offset

size_t vcdiff_mtd_t::offset

Current offset on the MTD device.

Definition at line 62 of file vcdiff_mtd.h.

◆ write_buffer

uint8_t vcdiff_mtd_t::write_buffer[CONFIG_TINYVCDIFF_MTD_WRITE_SIZE]

Buffer for aligned writes.

Definition at line 57 of file vcdiff_mtd.h.


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