AS5047U Driver
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
as5047u::OtpResult Struct Reference

Outcome of AS5047U::ProgramOTP(). More...

#include <as5047u.hpp>

Public Attributes

uint8_t failed_step = 0
 Datasheet step that failed (4 to 19), or 0 when every step succeeded.
 
bool burn_started = false
 
std::array< uint16_t, kOtpRegisterCount > written {}
 

Detailed Description

Outcome of AS5047U::ProgramOTP().

The step numbers are those of the datasheet's step-by-step OTP procedure (DS000637 v1-01, page 41-42).

Member Data Documentation

◆ burn_started

bool as5047u::OtpResult::burn_started = false

True once step 13 (PROGOTP) was sent: the fuses may be burned, even if a later step failed. A part that failed after this must not be used.

◆ failed_step

uint8_t as5047u::OtpResult::failed_step = 0

Datasheet step that failed (4 to 19), or 0 when every step succeeded.

◆ written

std::array<uint16_t, kOtpRegisterCount> as5047u::OtpResult::written {}

DISABLE..ECC (0x0015..0x001B) as verified in step 11, the content that was burned. Compare after the power-on cycle with VerifyOTP().


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