|
AS5047U Driver
API 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 {} |
Outcome of AS5047U::ProgramOTP().
The step numbers are those of the datasheet's step-by-step OTP procedure (DS000637 v1-01, page 41-42).
| 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.
| uint8_t as5047u::OtpResult::failed_step = 0 |
Datasheet step that failed (4 to 19), or 0 when every step succeeded.
| 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().