|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Main header file for OTP driver API. More...
#include <stddef.h>#include <sys/types.h>#include <zephyr/device.h>#include <zephyr/types.h>#include <zephyr/syscalls/otp.h>Go to the source code of this file.
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. | |
Functions | |
| int | otp_read (const struct device *dev, off_t offset, void *data, size_t len) |
| Read data from OTP memory. | |
| int | otp_program (const struct device *dev, off_t offset, const void *data, size_t len) |
| Program data to the given OTP memory. | |
Main header file for OTP driver API.