Veethree D7 SDK
Loading...
Searching...
No Matches
otp_interface.h
Go to the documentation of this file.
1
5#ifndef OTP_INTERFACE_H
6#define OTP_INTERFACE_H
7
8#include "otp_common.h"
9#include <cstdint>
10#include <vector>
11
12namespace vsdk::sys {
13
18 virtual ~otp_interface() = default;
19
27 virtual otp_result read(uint32_t word_address, size_t num_words, std::vector<uint32_t>& data) = 0;
28
30
36 virtual otp_result write(uint32_t word_address, const std::vector<uint32_t>& data) = 0;
38};
39
40} // namespace vsdk::sys
41
42#endif // OTP_INTERFACE_H
Any entities that belong to the system library.
otp_result
OTP operation result codes.
Definition otp_common.h:16
OTP Common Definitions.
Interface for OTP register operations.
Definition otp_interface.h:17
virtual otp_result read(uint32_t word_address, size_t num_words, std::vector< uint32_t > &data)=0
Read OTP registers.