HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
tmc51x0::OTP_PROG_Register Union Reference

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 
 

Detailed Description

OTP programming register (OTP_PROG)

One-time programmable memory programming register.

Bit assignments per datasheet:

  • Bits 2..0: OTPBIT - Selection of OTP bit to be programmed to the selected byte location (n=0..7: programs bit n to a logic 1)
  • Bits 5..4: OTPBYTE - Set to 00
  • Bits 15..8: OTPMAGIC - Set to 0xBD to enable programming. A programming time of minimum 10ms per bit is recommended.

Member Data Documentation

◆ [struct]

struct { ... } tmc51x0::OTP_PROG_Register::bits

◆ otpbit

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)

◆ otpbyte

uint32_t tmc51x0::OTP_PROG_Register::otpbyte

Bits 5..4: Selection of OTP byte. Set to 00.

◆ otpmagic

uint32_t tmc51x0::OTP_PROG_Register::otpmagic

Bits 15..8: Set to 0xBD to enable programming.

◆ reserved1

uint32_t tmc51x0::OTP_PROG_Register::reserved1

Bit 3: Reserved.

◆ reserved2

uint32_t tmc51x0::OTP_PROG_Register::reserved2

Bits 7..6: Reserved.

◆ reserved3

uint32_t tmc51x0::OTP_PROG_Register::reserved3

Bits 31..16: Reserved bits.

◆ value

uint32_t tmc51x0::OTP_PROG_Register::value

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