|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Data Structures | |
| struct | otp_driver_api |
| Driver Operations OTP driver operations More... | |
Typedefs | |
| typedef int(* | otp_api_read) (const struct device *dev, off_t offset, void *data, size_t len) |
| Callback API upon reading from the OTP memory. | |
| typedef int(* | otp_api_program) (const struct device *dev, off_t offset, const void *data, size_t len) |
| Callback API upon writing to the OTP memory. | |
This group contains the API type definitions, callback signatures, and other helpers required to implement a OTP driver.
| typedef int(* otp_api_program) (const struct device *dev, off_t offset, const void *data, size_t len) |
#include <zephyr/drivers/otp.h>
Callback API upon writing to the OTP memory.
See otp_program() for argument description
#include <zephyr/drivers/otp.h>
Callback API upon reading from the OTP memory.
See otp_read() for argument description