Prusa MINI Firmware overview
HAL FLASH Aliased Defines maintained for legacy purpose

Macros

#define TYPEPROGRAM_BYTE   FLASH_TYPEPROGRAM_BYTE
 
#define TYPEPROGRAM_HALFWORD   FLASH_TYPEPROGRAM_HALFWORD
 
#define TYPEPROGRAM_WORD   FLASH_TYPEPROGRAM_WORD
 
#define TYPEPROGRAM_DOUBLEWORD   FLASH_TYPEPROGRAM_DOUBLEWORD
 
#define TYPEERASE_SECTORS   FLASH_TYPEERASE_SECTORS
 
#define TYPEERASE_PAGES   FLASH_TYPEERASE_PAGES
 
#define TYPEERASE_PAGEERASE   FLASH_TYPEERASE_PAGES
 
#define TYPEERASE_MASSERASE   FLASH_TYPEERASE_MASSERASE
 
#define WRPSTATE_DISABLE   OB_WRPSTATE_DISABLE
 
#define WRPSTATE_ENABLE   OB_WRPSTATE_ENABLE
 
#define HAL_FLASH_TIMEOUT_VALUE   FLASH_TIMEOUT_VALUE
 
#define OBEX_PCROP   OPTIONBYTE_PCROP
 
#define OBEX_BOOTCONFIG   OPTIONBYTE_BOOTCONFIG
 
#define PCROPSTATE_DISABLE   OB_PCROP_STATE_DISABLE
 
#define PCROPSTATE_ENABLE   OB_PCROP_STATE_ENABLE
 
#define TYPEERASEDATA_BYTE   FLASH_TYPEERASEDATA_BYTE
 
#define TYPEERASEDATA_HALFWORD   FLASH_TYPEERASEDATA_HALFWORD
 
#define TYPEERASEDATA_WORD   FLASH_TYPEERASEDATA_WORD
 
#define TYPEPROGRAMDATA_BYTE   FLASH_TYPEPROGRAMDATA_BYTE
 
#define TYPEPROGRAMDATA_HALFWORD   FLASH_TYPEPROGRAMDATA_HALFWORD
 
#define TYPEPROGRAMDATA_WORD   FLASH_TYPEPROGRAMDATA_WORD
 
#define TYPEPROGRAMDATA_FASTBYTE   FLASH_TYPEPROGRAMDATA_FASTBYTE
 
#define TYPEPROGRAMDATA_FASTHALFWORD   FLASH_TYPEPROGRAMDATA_FASTHALFWORD
 
#define TYPEPROGRAMDATA_FASTWORD   FLASH_TYPEPROGRAMDATA_FASTWORD
 
#define PAGESIZE   FLASH_PAGE_SIZE
 
#define TYPEPROGRAM_FASTBYTE   FLASH_TYPEPROGRAM_BYTE
 
#define TYPEPROGRAM_FASTHALFWORD   FLASH_TYPEPROGRAM_HALFWORD
 
#define TYPEPROGRAM_FASTWORD   FLASH_TYPEPROGRAM_WORD
 
#define VOLTAGE_RANGE_1   FLASH_VOLTAGE_RANGE_1
 
#define VOLTAGE_RANGE_2   FLASH_VOLTAGE_RANGE_2
 
#define VOLTAGE_RANGE_3   FLASH_VOLTAGE_RANGE_3
 
#define VOLTAGE_RANGE_4   FLASH_VOLTAGE_RANGE_4
 
#define TYPEPROGRAM_FAST   FLASH_TYPEPROGRAM_FAST
 
#define TYPEPROGRAM_FAST_AND_LAST   FLASH_TYPEPROGRAM_FAST_AND_LAST
 
#define WRPAREA_BANK1_AREAA   OB_WRPAREA_BANK1_AREAA
 
#define WRPAREA_BANK1_AREAB   OB_WRPAREA_BANK1_AREAB
 
#define WRPAREA_BANK2_AREAA   OB_WRPAREA_BANK2_AREAA
 
#define WRPAREA_BANK2_AREAB   OB_WRPAREA_BANK2_AREAB
 
#define IWDG_STDBY_FREEZE   OB_IWDG_STDBY_FREEZE
 
#define IWDG_STDBY_ACTIVE   OB_IWDG_STDBY_RUN
 
#define IWDG_STOP_FREEZE   OB_IWDG_STOP_FREEZE
 
#define IWDG_STOP_ACTIVE   OB_IWDG_STOP_RUN
 
#define FLASH_ERROR_NONE   HAL_FLASH_ERROR_NONE
 
#define FLASH_ERROR_RD   HAL_FLASH_ERROR_RD
 
#define FLASH_ERROR_PG   HAL_FLASH_ERROR_PROG
 
#define FLASH_ERROR_PGP   HAL_FLASH_ERROR_PGS
 
#define FLASH_ERROR_WRP   HAL_FLASH_ERROR_WRP
 
#define FLASH_ERROR_OPTV   HAL_FLASH_ERROR_OPTV
 
#define FLASH_ERROR_OPTVUSR   HAL_FLASH_ERROR_OPTVUSR
 
#define FLASH_ERROR_PROG   HAL_FLASH_ERROR_PROG
 
#define FLASH_ERROR_OP   HAL_FLASH_ERROR_OPERATION
 
#define FLASH_ERROR_PGA   HAL_FLASH_ERROR_PGA
 
#define FLASH_ERROR_SIZE   HAL_FLASH_ERROR_SIZE
 
#define FLASH_ERROR_SIZ   HAL_FLASH_ERROR_SIZE
 
#define FLASH_ERROR_PGS   HAL_FLASH_ERROR_PGS
 
#define FLASH_ERROR_MIS   HAL_FLASH_ERROR_MIS
 
#define FLASH_ERROR_FAST   HAL_FLASH_ERROR_FAST
 
#define FLASH_ERROR_FWWERR   HAL_FLASH_ERROR_FWWERR
 
#define FLASH_ERROR_NOTZERO   HAL_FLASH_ERROR_NOTZERO
 
#define FLASH_ERROR_OPERATION   HAL_FLASH_ERROR_OPERATION
 
#define FLASH_ERROR_ERS   HAL_FLASH_ERROR_ERS
 
#define OB_WDG_SW   OB_IWDG_SW
 
#define OB_WDG_HW   OB_IWDG_HW
 
#define OB_SDADC12_VDD_MONITOR_SET   OB_SDACD_VDD_MONITOR_SET
 
#define OB_SDADC12_VDD_MONITOR_RESET   OB_SDACD_VDD_MONITOR_RESET
 
#define OB_RAM_PARITY_CHECK_SET   OB_SRAM_PARITY_SET
 
#define OB_RAM_PARITY_CHECK_RESET   OB_SRAM_PARITY_RESET
 
#define IS_OB_SDADC12_VDD_MONITOR   IS_OB_SDACD_VDD_MONITOR
 
#define OB_RDP_LEVEL0   OB_RDP_LEVEL_0
 
#define OB_RDP_LEVEL1   OB_RDP_LEVEL_1
 
#define OB_RDP_LEVEL2   OB_RDP_LEVEL_2
 

Detailed Description

Macro Definition Documentation

◆ TYPEPROGRAM_BYTE

#define TYPEPROGRAM_BYTE   FLASH_TYPEPROGRAM_BYTE

◆ TYPEPROGRAM_HALFWORD

#define TYPEPROGRAM_HALFWORD   FLASH_TYPEPROGRAM_HALFWORD

◆ TYPEPROGRAM_WORD

#define TYPEPROGRAM_WORD   FLASH_TYPEPROGRAM_WORD

◆ TYPEPROGRAM_DOUBLEWORD

#define TYPEPROGRAM_DOUBLEWORD   FLASH_TYPEPROGRAM_DOUBLEWORD

◆ TYPEERASE_SECTORS

#define TYPEERASE_SECTORS   FLASH_TYPEERASE_SECTORS

◆ TYPEERASE_PAGES

#define TYPEERASE_PAGES   FLASH_TYPEERASE_PAGES

◆ TYPEERASE_PAGEERASE

#define TYPEERASE_PAGEERASE   FLASH_TYPEERASE_PAGES

◆ TYPEERASE_MASSERASE

#define TYPEERASE_MASSERASE   FLASH_TYPEERASE_MASSERASE

◆ WRPSTATE_DISABLE

#define WRPSTATE_DISABLE   OB_WRPSTATE_DISABLE

◆ WRPSTATE_ENABLE

#define WRPSTATE_ENABLE   OB_WRPSTATE_ENABLE

◆ HAL_FLASH_TIMEOUT_VALUE

#define HAL_FLASH_TIMEOUT_VALUE   FLASH_TIMEOUT_VALUE

◆ OBEX_PCROP

#define OBEX_PCROP   OPTIONBYTE_PCROP

◆ OBEX_BOOTCONFIG

#define OBEX_BOOTCONFIG   OPTIONBYTE_BOOTCONFIG

◆ PCROPSTATE_DISABLE

#define PCROPSTATE_DISABLE   OB_PCROP_STATE_DISABLE

◆ PCROPSTATE_ENABLE

#define PCROPSTATE_ENABLE   OB_PCROP_STATE_ENABLE

◆ TYPEERASEDATA_BYTE

#define TYPEERASEDATA_BYTE   FLASH_TYPEERASEDATA_BYTE

◆ TYPEERASEDATA_HALFWORD

#define TYPEERASEDATA_HALFWORD   FLASH_TYPEERASEDATA_HALFWORD

◆ TYPEERASEDATA_WORD

#define TYPEERASEDATA_WORD   FLASH_TYPEERASEDATA_WORD

◆ TYPEPROGRAMDATA_BYTE

#define TYPEPROGRAMDATA_BYTE   FLASH_TYPEPROGRAMDATA_BYTE

◆ TYPEPROGRAMDATA_HALFWORD

#define TYPEPROGRAMDATA_HALFWORD   FLASH_TYPEPROGRAMDATA_HALFWORD

◆ TYPEPROGRAMDATA_WORD

#define TYPEPROGRAMDATA_WORD   FLASH_TYPEPROGRAMDATA_WORD

◆ TYPEPROGRAMDATA_FASTBYTE

#define TYPEPROGRAMDATA_FASTBYTE   FLASH_TYPEPROGRAMDATA_FASTBYTE

◆ TYPEPROGRAMDATA_FASTHALFWORD

#define TYPEPROGRAMDATA_FASTHALFWORD   FLASH_TYPEPROGRAMDATA_FASTHALFWORD

◆ TYPEPROGRAMDATA_FASTWORD

#define TYPEPROGRAMDATA_FASTWORD   FLASH_TYPEPROGRAMDATA_FASTWORD

◆ PAGESIZE

#define PAGESIZE   FLASH_PAGE_SIZE

◆ TYPEPROGRAM_FASTBYTE

#define TYPEPROGRAM_FASTBYTE   FLASH_TYPEPROGRAM_BYTE

◆ TYPEPROGRAM_FASTHALFWORD

#define TYPEPROGRAM_FASTHALFWORD   FLASH_TYPEPROGRAM_HALFWORD

◆ TYPEPROGRAM_FASTWORD

#define TYPEPROGRAM_FASTWORD   FLASH_TYPEPROGRAM_WORD

◆ VOLTAGE_RANGE_1

#define VOLTAGE_RANGE_1   FLASH_VOLTAGE_RANGE_1

◆ VOLTAGE_RANGE_2

#define VOLTAGE_RANGE_2   FLASH_VOLTAGE_RANGE_2

◆ VOLTAGE_RANGE_3

#define VOLTAGE_RANGE_3   FLASH_VOLTAGE_RANGE_3

◆ VOLTAGE_RANGE_4

#define VOLTAGE_RANGE_4   FLASH_VOLTAGE_RANGE_4

◆ TYPEPROGRAM_FAST

#define TYPEPROGRAM_FAST   FLASH_TYPEPROGRAM_FAST

◆ TYPEPROGRAM_FAST_AND_LAST

#define TYPEPROGRAM_FAST_AND_LAST   FLASH_TYPEPROGRAM_FAST_AND_LAST

◆ WRPAREA_BANK1_AREAA

#define WRPAREA_BANK1_AREAA   OB_WRPAREA_BANK1_AREAA

◆ WRPAREA_BANK1_AREAB

#define WRPAREA_BANK1_AREAB   OB_WRPAREA_BANK1_AREAB

◆ WRPAREA_BANK2_AREAA

#define WRPAREA_BANK2_AREAA   OB_WRPAREA_BANK2_AREAA

◆ WRPAREA_BANK2_AREAB

#define WRPAREA_BANK2_AREAB   OB_WRPAREA_BANK2_AREAB

◆ IWDG_STDBY_FREEZE

#define IWDG_STDBY_FREEZE   OB_IWDG_STDBY_FREEZE

◆ IWDG_STDBY_ACTIVE

#define IWDG_STDBY_ACTIVE   OB_IWDG_STDBY_RUN

◆ IWDG_STOP_FREEZE

#define IWDG_STOP_FREEZE   OB_IWDG_STOP_FREEZE

◆ IWDG_STOP_ACTIVE

#define IWDG_STOP_ACTIVE   OB_IWDG_STOP_RUN

◆ FLASH_ERROR_NONE

#define FLASH_ERROR_NONE   HAL_FLASH_ERROR_NONE

◆ FLASH_ERROR_RD

#define FLASH_ERROR_RD   HAL_FLASH_ERROR_RD

◆ FLASH_ERROR_PG

#define FLASH_ERROR_PG   HAL_FLASH_ERROR_PROG

◆ FLASH_ERROR_PGP

#define FLASH_ERROR_PGP   HAL_FLASH_ERROR_PGS

◆ FLASH_ERROR_WRP

#define FLASH_ERROR_WRP   HAL_FLASH_ERROR_WRP

◆ FLASH_ERROR_OPTV

#define FLASH_ERROR_OPTV   HAL_FLASH_ERROR_OPTV

◆ FLASH_ERROR_OPTVUSR

#define FLASH_ERROR_OPTVUSR   HAL_FLASH_ERROR_OPTVUSR

◆ FLASH_ERROR_PROG

#define FLASH_ERROR_PROG   HAL_FLASH_ERROR_PROG

◆ FLASH_ERROR_OP

#define FLASH_ERROR_OP   HAL_FLASH_ERROR_OPERATION

◆ FLASH_ERROR_PGA

#define FLASH_ERROR_PGA   HAL_FLASH_ERROR_PGA

◆ FLASH_ERROR_SIZE

#define FLASH_ERROR_SIZE   HAL_FLASH_ERROR_SIZE

◆ FLASH_ERROR_SIZ

#define FLASH_ERROR_SIZ   HAL_FLASH_ERROR_SIZE

◆ FLASH_ERROR_PGS

#define FLASH_ERROR_PGS   HAL_FLASH_ERROR_PGS

◆ FLASH_ERROR_MIS

#define FLASH_ERROR_MIS   HAL_FLASH_ERROR_MIS

◆ FLASH_ERROR_FAST

#define FLASH_ERROR_FAST   HAL_FLASH_ERROR_FAST

◆ FLASH_ERROR_FWWERR

#define FLASH_ERROR_FWWERR   HAL_FLASH_ERROR_FWWERR

◆ FLASH_ERROR_NOTZERO

#define FLASH_ERROR_NOTZERO   HAL_FLASH_ERROR_NOTZERO

◆ FLASH_ERROR_OPERATION

#define FLASH_ERROR_OPERATION   HAL_FLASH_ERROR_OPERATION

◆ FLASH_ERROR_ERS

#define FLASH_ERROR_ERS   HAL_FLASH_ERROR_ERS

◆ OB_WDG_SW

#define OB_WDG_SW   OB_IWDG_SW

◆ OB_WDG_HW

#define OB_WDG_HW   OB_IWDG_HW

◆ OB_SDADC12_VDD_MONITOR_SET

#define OB_SDADC12_VDD_MONITOR_SET   OB_SDACD_VDD_MONITOR_SET

◆ OB_SDADC12_VDD_MONITOR_RESET

#define OB_SDADC12_VDD_MONITOR_RESET   OB_SDACD_VDD_MONITOR_RESET

◆ OB_RAM_PARITY_CHECK_SET

#define OB_RAM_PARITY_CHECK_SET   OB_SRAM_PARITY_SET

◆ OB_RAM_PARITY_CHECK_RESET

#define OB_RAM_PARITY_CHECK_RESET   OB_SRAM_PARITY_RESET

◆ IS_OB_SDADC12_VDD_MONITOR

#define IS_OB_SDADC12_VDD_MONITOR   IS_OB_SDACD_VDD_MONITOR

◆ OB_RDP_LEVEL0

#define OB_RDP_LEVEL0   OB_RDP_LEVEL_0

◆ OB_RDP_LEVEL1

#define OB_RDP_LEVEL1   OB_RDP_LEVEL_1

◆ OB_RDP_LEVEL2

#define OB_RDP_LEVEL2   OB_RDP_LEVEL_2