|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Data Structures | |
| struct | bbram_driver_api |
| Driver Operations BBRAM driver operations More... | |
Typedefs | |
| typedef int(* | bbram_api_check_invalid_t) (const struct device *dev) |
| Callback API to check if the BBRAM is invalid See bbram_check_invalid() for argument description. | |
| typedef int(* | bbram_api_check_standby_power_t) (const struct device *dev) |
| Callback API to check for standby power failure See bbram_check_standby_power() for argument description. | |
| typedef int(* | bbram_api_check_power_t) (const struct device *dev) |
| Callback API to check for V CC1 power failure See bbram_check_power() for argument description. | |
| typedef int(* | bbram_api_get_size_t) (const struct device *dev, size_t *size) |
| Callback API to get the size of the BBRAM See bbram_get_size() for argument description. | |
| typedef int(* | bbram_api_read_t) (const struct device *dev, size_t offset, size_t size, uint8_t *data) |
| Callback API to read from BBRAM See bbram_read() for argument description. | |
| typedef int(* | bbram_api_write_t) (const struct device *dev, size_t offset, size_t size, const uint8_t *data) |
| Callback API to write to BBRAM. | |
This group contains the API type definitions, callback signatures, and other helpers required to implement a BBRAM driver.
| typedef int(* bbram_api_check_invalid_t) (const struct device *dev) |
#include <zephyr/drivers/bbram.h>
Callback API to check if the BBRAM is invalid See bbram_check_invalid() for argument description.
| typedef int(* bbram_api_check_power_t) (const struct device *dev) |
#include <zephyr/drivers/bbram.h>
Callback API to check for V CC1 power failure See bbram_check_power() for argument description.
| typedef int(* bbram_api_check_standby_power_t) (const struct device *dev) |
#include <zephyr/drivers/bbram.h>
Callback API to check for standby power failure See bbram_check_standby_power() for argument description.
#include <zephyr/drivers/bbram.h>
Callback API to get the size of the BBRAM See bbram_get_size() for argument description.
| typedef int(* bbram_api_read_t) (const struct device *dev, size_t offset, size_t size, uint8_t *data) |
#include <zephyr/drivers/bbram.h>
Callback API to read from BBRAM See bbram_read() for argument description.
| typedef int(* bbram_api_write_t) (const struct device *dev, size_t offset, size_t size, const uint8_t *data) |
#include <zephyr/drivers/bbram.h>
Callback API to write to BBRAM.
See bbram_write() for argument description