zephyr::raw

Function flash_get_parameters

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

@brief Get pointer to flash_parameters structure

Returned pointer points to a structure that should be considered constant through a runtime, regardless if it is defined in RAM or Flash. Developer is free to cache the structure pointer or copy its contents.

@return pointer to flash_parameters structure characteristic for the device.