Prusa MINI Firmware overview
otp.h File Reference

Go to the source code of this file.

Macros

#define OTP_BOARD_REVISION_ADDR   0x1FFF7800
 
#define OTP_BOARD_REVISION_SIZE   3
 
#define OTP_BOARD_TIME_STAMP_ADDR   0x1FFF7804
 
#define OTP_BOARD_TIME_STAMP_SIZE   4
 
#define OTP_SERIAL_NUMBER_ADDR   0x1FFF7808
 
#define OTP_SERIAL_NUMBER_SIZE   16
 
#define OTP_MAC_ADDRESS_ADDR   0x1FFF781A
 
#define OTP_MAC_ADDRESS_SIZE   6
 
#define OTP_LOCK_BLOCK_ADDR   0x1FFF7A00
 
#define OTP_LOCK_BLOCK_SIZE   16
 
#define OTP_STM32_UUID_ADDR   0x1FFF7A10
 
#define OTP_STM32_UUID_SIZE   12
 
#define otp_lock_sector0   (*((uint8_t *)OTP_LOCK_BLOCK_ADDR))
 

Macro Definition Documentation

◆ OTP_BOARD_REVISION_ADDR

#define OTP_BOARD_REVISION_ADDR   0x1FFF7800

◆ OTP_BOARD_REVISION_SIZE

#define OTP_BOARD_REVISION_SIZE   3

◆ OTP_BOARD_TIME_STAMP_ADDR

#define OTP_BOARD_TIME_STAMP_ADDR   0x1FFF7804

◆ OTP_BOARD_TIME_STAMP_SIZE

#define OTP_BOARD_TIME_STAMP_SIZE   4

◆ OTP_SERIAL_NUMBER_ADDR

#define OTP_SERIAL_NUMBER_ADDR   0x1FFF7808

◆ OTP_SERIAL_NUMBER_SIZE

#define OTP_SERIAL_NUMBER_SIZE   16

◆ OTP_MAC_ADDRESS_ADDR

#define OTP_MAC_ADDRESS_ADDR   0x1FFF781A

◆ OTP_MAC_ADDRESS_SIZE

#define OTP_MAC_ADDRESS_SIZE   6

◆ OTP_LOCK_BLOCK_ADDR

#define OTP_LOCK_BLOCK_ADDR   0x1FFF7A00

◆ OTP_LOCK_BLOCK_SIZE

#define OTP_LOCK_BLOCK_SIZE   16

◆ OTP_STM32_UUID_ADDR

#define OTP_STM32_UUID_ADDR   0x1FFF7A10

◆ OTP_STM32_UUID_SIZE

#define OTP_STM32_UUID_SIZE   12

◆ otp_lock_sector0

#define otp_lock_sector0   (*((uint8_t *)OTP_LOCK_BLOCK_ADDR))