Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
stream_flash_ctx Struct Reference

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
 

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

◆ fdev

const struct device* stream_flash_ctx::fdev

◆ offset

size_t stream_flash_ctx::offset

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