|
PebbleOS v4.47.0-512-g5285d4236
|
#include <stdint.h>Enumerations | |
| enum | { OTP_HWVER = 0 , OTP_SERIAL = 1 , OTP_PCBA_SERIAL = 2 , NUM_OTP_SLOTS = 3 } |
| OTP slot indexes. More... | |
Functions | |
| bool | otp_is_locked (const uint8_t index) |
| Check whether the OTP storage is locked. | |
| char * | otp_get_slot (const uint8_t index) |
| Read a slot. | |
| int | otp_write_slot (const uint8_t index, const char *value) |
| Write a string to an unwritten slot. | |