|
Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
BBRAM emulator backend API. More...
Functions | |
| static int | emul_bbram_backend_set_data (const struct emul *target, size_t offset, size_t count, const uint8_t *data) |
| Set the expected data in the bbram region. | |
| static int | emul_bbram_backend_get_data (const struct emul *target, size_t offset, size_t count, uint8_t *data) |
| Get the expected data in the bbram region. | |
BBRAM emulator backend API.
|
inlinestatic |
#include <include/zephyr/drivers/emul_bbram.h>
Get the expected data in the bbram region.
| target | Pointer to the emulator instance to operate on |
| offset | Offset within the memory to get |
| count | Number of bytes to read |
| data | The data buffer to hold the result |
|
inlinestatic |
#include <include/zephyr/drivers/emul_bbram.h>
Set the expected data in the bbram region.
| target | Pointer to the emulator instance to operate on |
| offset | Offset within the memory to set |
| count | Number of bytes to write |
| data | The data to write |