#include <errno.h>
#include <zephyr/device.h>
#include <syscalls/bbram.h>
Go to the source code of this file.
|
| int | bbram_check_invalid (const struct device *dev) |
| | Check if BBRAM is invalid. More...
|
| |
| int | bbram_check_standby_power (const struct device *dev) |
| | Check for standby (Volt SBY) power failure. More...
|
| |
| int | bbram_check_power (const struct device *dev) |
| | Check for V CC1 power failure. More...
|
| |
| int | bbram_get_size (const struct device *dev, size_t *size) |
| | Get the size of the BBRAM (in bytes). More...
|
| |
| int | bbram_read (const struct device *dev, size_t offset, size_t size, uint8_t *data) |
| | Read bytes from BBRAM. More...
|
| |
| int | bbram_write (const struct device *dev, size_t offset, size_t size, const uint8_t *data) |
| | Write bytes to BBRAM. More...
|
| |
| int | bbram_emul_set_invalid (const struct device *dev, bool is_invalid) |
| | Set the emulated BBRAM driver's invalid state. More...
|
| |
| int | bbram_emul_set_standby_power_state (const struct device *dev, bool failure) |
| | Set the emulated BBRAM driver's standby power state. More...
|
| |
| int | bbram_emul_set_power_state (const struct device *dev, bool failure) |
| | Set the emulated BBRAM driver's power state. More...
|
| |