|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
OTP programming register (OTP_PROG) More...
#include <tmc51x0_registers.hpp>
Public Attributes | ||
| uint32_t | value | |
| struct { | ||
| uint32_t otpbit: 3 | ||
| uint32_t reserved1: 1 | ||
| Bit 3: Reserved. More... | ||
| uint32_t otpbyte: 2 | ||
| Bits 5..4: Selection of OTP byte. Set to 00. More... | ||
| uint32_t reserved2: 2 | ||
| Bits 7..6: Reserved. More... | ||
| uint32_t otpmagic: 8 | ||
| Bits 15..8: Set to 0xBD to enable programming. More... | ||
| uint32_t reserved3: 16 | ||
| Bits 31..16: Reserved bits. More... | ||
| } | bits | |
OTP programming register (OTP_PROG)
One-time programmable memory programming register.
Bit assignments per datasheet:
| struct { ... } tmc51x0::OTP_PROG_Register::bits |
| uint32_t tmc51x0::OTP_PROG_Register::otpbit |
Bits 2..0: Selection of OTP bit to be programmed (n=0..7: programs bit n to logic 1)
| uint32_t tmc51x0::OTP_PROG_Register::otpbyte |
Bits 5..4: Selection of OTP byte. Set to 00.
| uint32_t tmc51x0::OTP_PROG_Register::otpmagic |
Bits 15..8: Set to 0xBD to enable programming.
| uint32_t tmc51x0::OTP_PROG_Register::reserved1 |
Bit 3: Reserved.
| uint32_t tmc51x0::OTP_PROG_Register::reserved2 |
Bits 7..6: Reserved.
| uint32_t tmc51x0::OTP_PROG_Register::reserved3 |
Bits 31..16: Reserved bits.
| uint32_t tmc51x0::OTP_PROG_Register::value |