Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Structure for stream flash context. More...

#include <stream_flash.h>

Data Fields

uint8_tbuf
 
size_t buf_len
 
size_t buf_bytes
 
const struct devicefdev
 
size_t bytes_written
 
size_t offset
 
size_t available
 
stream_flash_callback_t callback
 
size_t write_block_size
 
uint8_t erase_value
 

Detailed Description

Structure for stream flash context.

Users should treat these structures as opaque values and only interact with them through the below API.

Field Documentation

◆ available

size_t stream_flash_ctx::available

◆ buf

uint8_t* stream_flash_ctx::buf

◆ buf_bytes

size_t stream_flash_ctx::buf_bytes

◆ buf_len

size_t stream_flash_ctx::buf_len

◆ bytes_written

size_t stream_flash_ctx::bytes_written

◆ callback

stream_flash_callback_t stream_flash_ctx::callback

◆ erase_value

uint8_t stream_flash_ctx::erase_value

◆ fdev

const struct device* stream_flash_ctx::fdev

◆ offset

size_t stream_flash_ctx::offset

◆ write_block_size

size_t stream_flash_ctx::write_block_size

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