Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Driver Operations OTP driver operations More...

#include <zephyr/drivers/otp.h>

Data Fields

otp_api_read read
  REQ Read data from OTP memory.
otp_api_program program
  OPT Program data to the given OTP memory.

Detailed Description

Driver Operations OTP driver operations

This is the driver API structure any OTP driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.

Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ program

otp_api_program otp_driver_api::program

OPT Program data to the given OTP memory.

Attention
Available only when the following Kconfig option is enabled: CONFIG_OTP_PROGRAM.

◆ read

otp_api_read otp_driver_api::read

REQ Read data from OTP memory.


The documentation for this struct was generated from the following file: