Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
flash_simulator.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#ifndef __ZEPHYR_INCLUDE_DRIVERS__FLASH_SIMULATOR_H__
7
#define __ZEPHYR_INCLUDE_DRIVERS__FLASH_SIMULATOR_H__
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
31
__syscall
void
*
flash_simulator_get_memory
(
const
struct
device
*dev,
32
size_t
*mock_size);
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#include <zephyr/syscalls/flash_simulator.h>
38
39
#endif
/* __ZEPHYR_INCLUDE_DRIVERS__FLASH_SIMULATOR_H__ */
flash_simulator_get_memory
void * flash_simulator_get_memory(const struct device *dev, size_t *mock_size)
Obtain a pointer to the RAM buffer used but by the simulator.
device
Runtime device structure (in ROM) per driver instance.
Definition
device.h:411
zephyr
drivers
flash
flash_simulator.h
Generated on Sun Dec 22 2024 09:02:42 for Zephyr API Documentation by
1.12.0