Prusa MINI Firmware overview
|
#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 |