luat_otp.h 327 B

12345678910111213
  1. #ifndef LUAT_OTP_H
  2. #define LUAT_OTP_H
  3. #include "luat_base.h"
  4. int luat_otp_read(int zone, char* buff, size_t offset, size_t len);
  5. int luat_otp_write(int zone, char* buff, size_t offset, size_t len);
  6. int luat_otp_erase(int zone, size_t offset, size_t len);
  7. int luat_otp_lock(int zone);
  8. size_t luat_otp_size(int zone);
  9. #endif