|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
OTP read register (OTP_READ) More...
#include <tmc51x0_registers.hpp>
Public Attributes | ||
| uint32_t | value | |
| struct { | ||
| uint32_t otp_fclktrim: 5 | ||
| Bits 4..0: Reset default for FCLKTRIM (0-31) More... | ||
| uint32_t otp_S2_level: 1 | ||
| Bit 5: Reset default for Short detection levels. More... | ||
| uint32_t otp_bbm: 1 | ||
| Bit 6: Reset default for DRVCONF.BBMCLKS. More... | ||
| uint32_t otp_tbl: 1 | ||
| Bit 7: Reset default for TBL. More... | ||
| uint32_t reserved: 24 | ||
| Reserved bits. More... | ||
| } | bits | |
OTP read register (OTP_READ)
One-time programmable configuration memory read register.
OTP memory holds power-up defaults for certain registers. All OTP bits are cleared to 0 by default. Programming can only set bits, clearing is not possible.
Bit assignments per datasheet OTP memory map:
| struct { ... } tmc51x0::OTP_READ_Register::bits |
| uint32_t tmc51x0::OTP_READ_Register::otp_bbm |
Bit 6: Reset default for DRVCONF.BBMCLKS.
| uint32_t tmc51x0::OTP_READ_Register::otp_fclktrim |
Bits 4..0: Reset default for FCLKTRIM (0-31)
| uint32_t tmc51x0::OTP_READ_Register::otp_S2_level |
Bit 5: Reset default for Short detection levels.
| uint32_t tmc51x0::OTP_READ_Register::otp_tbl |
Bit 7: Reset default for TBL.
| uint32_t tmc51x0::OTP_READ_Register::reserved |
Reserved bits.
| uint32_t tmc51x0::OTP_READ_Register::value |