zephyr::raw

Function flash_get_write_block_size

Source
pub unsafe extern "C" fn flash_get_write_block_size(
    dev: *const device,
) -> usize
Expand description

@brief Get the minimum write block size supported by the driver

The write block size supported by the driver might differ from the write block size of memory used because the driver might implements write-modify algorithm.

@param dev flash device

@return write block size in bytes.