HAL FLASH APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, enumerations, structures, functions, and macros.

HAL FLASH constants

HAL1

series

HAL2

Refer to

FLASH_BANK_1

u5, h5, l4, f4, g0, g4, h7

HAL_FLASH_BANK_1

Refer to

FLASH_BANK_2

u5, h5, l4, f4, g0, g4, h7

HAL_FLASH_BANK_2

Refer to

FLASH_BANK_BOTH

u5, h5, l4, f4, g4, h7

HAL_FLASH_BANK_ALL

Refer to

FLASH_FLAG_ALL_ERRORS

u5, h5, c0, l4, g4

Removed / New Usage changes

Refer to

FLASH_BB_PRIV

u5, h5

Removed / New Usage changes

Refer to

FLASH_BB_SEC

u5, h5

Removed / New Usage changes

Refer to

FLASH_FLAG_DBNE

h5

Removed / New Usage changes

Refer to

FLASH_FLAG_BSY

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

FLASH_FLAG_ECCC

u5, h5, l4, g0, g4

HAL_FLASH_ECC_FAIL_ECCC

Refer to

FLASH_FLAG_ECCD

u5, h5, l4, g0, g4

HAL_FLASH_ECC_FAIL_ECCD

Refer to

FLASH_FLAG_ECCR_ERRORS

u5, h5, l4, g4

Removed / New Usage changes

Refer to

FLASH_FLAG_EOP

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

FLASH_FLAG_OPERR

u5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_OPTWERR

u5

Removed / New Usage changes.

Refer to

FLASH_FLAG_PGAERR

u5, c0, l4, f4, g0, g4

Removed / New Usage changes.

Refer to

FLASH_FLAG_PGSERR

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_PROGERR

u5, c0, l4, g0, g4

Removed / New Usage changes.

Refer to

FLASH_FLAG_SIZERR

u5, c0, l4, g0, g4

Removed / New Usage changes.

Refer to

FLASH_FLAG_SR_ERRORS

u5, h5, l4, g4

Removed / New Usage changes.

Refer to

FLASH_FLAG_WDW

u5, h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_WRPERR

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

FLASH_IT_ECCC

u5, h5, l4, g0, g4

Removed / New Usage changes

Refer to

FLASH_IT_EOP

u5, h5, c0, l4, f4, g0, g4

Removed / New Usage changes

Refer to

FLASH_IT_OPERR

u5, c0, l4, g0, g4

Removed / New Usage changes

Refer to

FLASH_KEY1

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

FLASH_KEY2

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

FLASH_LATENCY_0

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_LATENCY_0

Refer to

FLASH_LATENCY_1

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_LATENCY_1

Refer to

FLASH_LATENCY_10

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_10

Refer to

FLASH_LATENCY_11

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_11

Refer to

FLASH_LATENCY_12

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_12

Refer to

FLASH_LATENCY_13

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_13

Refer to

FLASH_LATENCY_14

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_14

Refer to

FLASH_LATENCY_15

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_15

Refer to

FLASH_LATENCY_2

u5, h5, l4, f4, g0, g4, h7

HAL_FLASH_ITF_LATENCY_2

Refer to

FLASH_LATENCY_3

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_3

Refer to

FLASH_LATENCY_4

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_4

Refer to

FLASH_LATENCY_5

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_5

Refer to

FLASH_LATENCY_6

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_6

Refer to

FLASH_LATENCY_7

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_7

Refer to

FLASH_LATENCY_8

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_8

Refer to

FLASH_LATENCY_9

u5, h5, l4, f4, g4, h7

HAL_FLASH_ITF_LATENCY_9

Refer to

FLASH_OPTKEY1

u5, c0, l4, g0, g4, h7

Removed / New Usage changes

Refer to

FLASH_OPTKEY2

u5, c0, l4, g0, g4, h7

Removed / New Usage changes

Refer to

FLASH_PDKEY1_1

u5

Removed / New Usage changes.

Refer to

FLASH_PDKEY1_2

u5

Removed / New Usage changes.

Refer to

FLASH_PDKEY2_1

u5

Removed / New Usage changes.

Refer to

FLASH_PDKEY2_2

u5

Removed / New Usage changes.

Refer to

FLASH_SECTOR_0

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_1

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_10

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_11

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_100

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_101

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_102

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_103

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_104

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_105

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_106

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_107

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_108

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_109

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_110

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_111

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_112

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_113

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_114

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_115

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_116

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_117

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_118

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_119

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_12

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_120

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_121

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_122

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_123

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_124

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_125

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_126

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_127

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_13

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_14

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_15

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_16

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_17

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_18

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_19

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_2

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_20

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_21

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_22

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_23

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_24

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_25

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_26

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_27

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_28

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_29

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_3

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_30

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_31

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_32

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_33

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_34

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_35

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_36

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_37

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_38

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_39

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_4

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_40

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_41

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_42

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_43

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_44

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_45

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_46

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_47

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_48

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_49

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_5

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_50

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_51

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_52

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_53

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_54

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_55

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_56

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_57

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_58

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_59

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_6

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_60

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_61

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_62

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_63

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_64

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_65

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_66

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_67

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_68

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_69

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_7

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_70

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_71

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_72

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_73

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_74

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_75

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_76

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_77

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_78

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_79

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_8

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_80

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_81

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_82

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_83

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_84

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_85

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_86

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_87

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_88

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_89

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_9

h5, f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_90

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_91

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_92

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_93

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_94

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_95

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_96

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_97

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_98

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_SECTOR_99

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_TYPEPROGRAM_HALFWORD_EDATA

h5

Removed / New Usage changes.

Refer to

FLASH_TYPEPROGRAM_HALFWORD_EDATA_NS

h5

Removed / New Usage changes.

Refer to

FLASH_TYPEPROGRAM_HALFWORD_OTP

h5

Removed / New Usage changes.

Refer to

FLASH_TYPEPROGRAM_QUADWORD_OBK

h5

Removed / New Usage changes.

Refer to

FLASH_TYPEPROGRAM_QUADWORD_OBK_ALT

h5

Removed / New Usage changes.

Refer to

FLASH_TYPEPROGRAM_WORD_EDATA

h5

Removed / New Usage changes.

Refer to

FLASH_TYPEPROGRAM_WORD_EDATA_NS

h5

Removed / New Usage changes.

Refer to

HAL_FLASH_ERROR_INC

h5, h7

HAL_FLASH_ERROR_INC

Refer to

HAL_FLASH_ERROR_OBK

h5

HAL_FLASH_ERROR_OBK

Refer to

HAL_FLASH_ERROR_OBKW

h5

HAL_FLASH_ERROR_OBKW

Refer to

HAL_FLASH_ERROR_OB_CHANGE

h5, h7

Not implemented yet in HAL2.

Refer to

HAL_FLASH_ERROR_STRB

h5, h7

HAL_FLASH_ERROR_STRB

Refer to

FLASH_ECC_AREA_EDATA_BANK1

h5

Not implemented yet in HAL2.

Refer to

FLASH_ECC_AREA_EDATA_BANK2

h5

Not implemented yet in HAL2.

Refer to

FLASH_ECC_AREA_OBK

h5

Not implemented yet in HAL2.

Refer to

FLASH_ECC_AREA_OTP

h5

Not implemented yet in HAL2.

Refer to

FLASH_ECC_AREA_SYSTEM

h5

Not implemented yet in HAL2.

Refer to

FLASH_ECC_AREA_USER_BANK1

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_ECC_AREA_USER_BANK2

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OBK_SWAP_OFFSET_ALL

h5

Not implemented yet in HAL2.

Refer to

FLASH_OBK_SWAP_OFFSET_HDPL0

h5

HAL_FLASH_OBK_AREA_1.

Refer to

FLASH_OBK_SWAP_OFFSET_HDPL1

h5

HAL_FLASH_OBK_AREA_2.

Refer to

FLASH_OBK_SWAP_OFFSET_HDPL2

h5

HAL_FLASH_OBK_AREA_3S.

Refer to

FLASH_OBK_SWAP_OFFSET_HDPL3_S

h5

HAL_FLASH_OBK_AREA_3NS

Refer to

FLASH_OBK_SWAP_OFFSET_NO_DATA

h5

Not implemented yet in HAL2.

Refer to

FLASH_OPERATION_AREA_DATA

h5

sequence changed.

Refer to

FLASH_OPERATION_AREA_OTP

h5

sequence changed.

Refer to

FLASH_OPERATION_TYPE_OBKALTERASE

h5

HAL_FLASH_INTERRUPTED_OBK_ALT_PAGE_ERASE

Refer to

FLASH_OPERATION_TYPE_OBKSWAP

h5

HAL_FLASH_INTERRUPTED_OBK_SWAP_PAGE

Refer to

FLASH_OPERATION_TYPE_SECTORERASE

h5

sequence changed.

Refer to

FLASH_OTP_BLOCK_0

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_1

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_10

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_11

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_12

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_13

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_14

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_15

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_16

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_17

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_18

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_19

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_2

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_20

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_21

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_22

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_23

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_24

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_25

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_26

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_27

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_28

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_29

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_3

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_30

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_31

h5

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_4

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_5

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_6

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_7

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_8

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_9

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_OTP_BLOCK_ALL

h5, h7

Not implemented yet in HAL2.

Refer to

FLASH_PROGRAMMING_DELAY_0

h5, h7

HAL_FLASH_ITF_PROGRAM_DELAY_0

Refer to

FLASH_PROGRAMMING_DELAY_1

h5, h7

HAL_FLASH_ITF_PROGRAM_DELAY_1

Refer to

FLASH_PROGRAMMING_DELAY_2

h5, h7

HAL_FLASH_ITF_PROGRAM_DELAY_2

Refer to

FLASH_TYPEERASE_OBK_ALT

h5

removed and replaced by unitray APIs.

Refer to

FLASH_TYPEERASE_SECTORS

h5, f4, h7

removed and replaced by unitray APIs.

Refer to

FLASH_TYPEERASE_SECTORS_NS

h5

removed and replaced by unitray APIs.

Refer to

OB_BOOT_NS

h5

removed and replaced by unitray APIs.

Refer to

OB_BOOT_SEC

h5

removed and replaced by unitray APIs.

Refer to

OB_BORH_DISABLE

h5

removed and replaced by unitray APIs.

Refer to

OB_BORH_ENABLE

h5

removed and replaced by unitray APIs.

Refer to

OB_IWDG_STDBY_ACTIVE

h5, h7

removed and replaced by unitray APIs.

Refer to

OB_IWDG_STDBY_FREEZE

u5, h5, c0, l4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OB_IWDG_STDBY_RUN

u5, c0, l4, g0, g4

removed and replaced by unitray APIs.

Refer to

OB_IWDG_STOP_ACTIVE

h5, h7

removed and replaced by unitray APIs.

Refer to

OB_IWDG_STOP_FREEZE

u5, h5, c0, l4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OB_IWDG_STOP_RUN

u5, c0, l4, g0, g4

removed and replaced by unitray APIs.

Refer to

OB_PROD_STATE_CLOSED

h5

Not implemented yet in HAL2.

Refer to

OB_TZEN_DISABLE

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_TZEN_ENABLE

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_USER_BOR_LEV

u5, h5, c0, l4, g0, g4

removed/ sequence changed.

Refer to

OB_USER_DUALBANK

u5, l4

removed/ sequence changed.

Refer to

OB_USER_IO_VDDIO2_HSLV

u5, h5

removed/ sequence changed.

Refer to

OB_USER_IO_VDD_HSLV

u5, h5

removed/ sequence changed.

Refer to

OB_USER_IWDG_STDBY

u5, h5, c0, l4, g0, g4, h7

removed/ sequence changed.

Refer to

OB_USER_IWDG_STOP

u5, h5, c0, l4, g0, g4, h7

removed/ sequence changed.

Refer to

OB_USER_IWDG_SW

u5, h5, c0, l4, g0, g4

removed/ sequence changed.

Refer to

OB_USER_NBOOT0

u5, c0

removed/ sequence changed.

Refer to

OB_USER_BKPRAM_ECC

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_USER_NRST_SHDW

u5, c0

removed and replaced by unitray APIs.

Refer to

OB_USER_NRST_STDBY

u5, h5, c0

removed and replaced by unitray APIs.

Refer to

OB_USER_NRST_STOP

u5, h5, c0

removed and replaced by unitray APIs.

Refer to

OB_USER_NSWBOOT0

u5

removed and replaced by unitray APIs.

Refer to

OB_USER_PA15_PUPEN

u5

removed and replaced by unitray APIs.

Refer to

OB_USER_SRAM2_ECC

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_USER_SRAM2_RST

u5, h5, l4

removed and replaced by unitray APIs.

Refer to

OB_USER_SRAM3_ECC

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_USER_SRAM_RST

u5

removed and replaced by unitray APIs.

Refer to

OB_USER_SWAP_BANK

u5, h5, h7

removed and replaced by unitray APIs.

Refer to

OB_USER_TZEN

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_USER_WWDG_SW

u5, h5, c0, l4, g0, g4

removed and replaced by unitray APIs.

Refer to

OB_PROD_STATE_IROT_PROVISIONED

h5

Not implemented yet in HAL2.

Refer to

OB_PROD_STATE_LOCKED

h5

Not implemented yet in HAL2.

Refer to

OB_PROD_STATE_NS_REGRESSION

h5

Not implemented yet in HAL2.

Refer to

OB_PROD_STATE_OPEN

h5

Not implemented yet in HAL2.

Refer to

OB_PROD_STATE_PROVISIONING

h5

Not implemented yet in HAL2.

Refer to

OB_PROD_STATE_REGRESSION

h5

Not implemented yet in HAL2.

Refer to

OB_PROD_STATE_TZ_CLOSED

h5

Not implemented yet in HAL2.

Refer to

OB_SRAM1_3_RST_ERASE

h5

HAL_FLASH_ITF_OB_SYS_RST_SRAM_ERASE

Refer to

OB_SRAM1_3_RST_NOT_ERASE

h5

HAL_FLASH_ITF_OB_SYS_RST_SRAM_NO_ERASE

Refer to

OB_SRAM1_ECC_DISABLE

h5

removed and replaced by unitray APIs.

Refer to

OB_SRAM1_ECC_ENABLE

h5

removed and replaced by unitray APIs.

Refer to

OB_SRAM1_RST_ERASE

h5

HAL_FLASH_ITF_OB_SYS_RST_SRAM_ERASE

Refer to

OB_SRAM1_RST_NOT_ERASE

h5

HAL_FLASH_ITF_OB_SYS_RST_SRAM_NO_ERASE

Refer to

OB_SRAM2_ECC_DISABLE

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_SRAM2_ECC_ENABLE

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_SRAM2_RST_ERASE

u5, h5, l4

HAL_FLASH_ITF_OB_SYS_RST_SRAM_ERASE

Refer to

OB_SRAM2_RST_NOT_ERASE

u5, h5, l4

HAL_FLASH_ITF_OB_SYS_RST_SRAM_NO_ERASE

Refer to

OB_SRAM3_ECC_DISABLE

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_SRAM3_ECC_ENABLE

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_SRAM_RST_ERASE

u5

HAL_FLASH_ITF_OB_SYS_RST_SRAM_ERASE

Refer to

OB_SRAM_RST_NOT_ERASE

u5

HAL_FLASH_ITF_OB_SYS_RST_SRAM_NO_ERASE

Refer to

OB_STANDBY_NORST

u5, h5, c0, l4, g0, g4

HAL_FLASH_ITF_OB_NO_RST_GENERATION

Refer to

OB_STANDBY_RST

u5, h5, c0, l4, g0, g4

HAL_FLASH_ITF_OB_RST_GENERATION

Refer to

OB_STOP_NORST

u5, h5, c0, l4, g0, g4

HAL_FLASH_ITF_OB_NO_RST_GENERATION

Refer to

OB_STOP_NO_RST

f4, h7

HAL_FLASH_ITF_OB_RST_GENERATION

Refer to

OB_UBE_OEM_IROT

h5

HAL_FLASH_ITF_OB_UNIQUE_BOOT_USER_FLASH

Refer to

OB_UBE_ST_IROT

h5

HAL_FLASH_ITF_OB_UNIQUE_BOOT_SYSTEM_FLASH

Refer to

OB_USBPD_DIS_DISABLE

h5

Not implemented yet in HAL2.

Refer to

OB_USBPD_DIS_ENABLE

h5

Not implemented yet in HAL2.

Refer to

OB_USER_ALL

h5, c0, g0, h7

removed

Refer to

OB_USER_BOOT_UBE

h5

removed and replaced by unitray APIs.

Refer to

OB_USER_BORH_EN

h5

removed and replaced by unitray APIs.

Refer to

OB_USER_SRAM1_3_RST

h5

removed and replaced by unitray APIs.

Refer to

OB_USER_SRAM1_ECC

h5

removed and replaced by unitray APIs.

Refer to

OB_USER_SRAM1_RST

h5

removed and replaced by unitray APIs.

Refer to

OB_USER_USBPD_DIS

h5

Not implemented yet in HAL2.

Refer to

OB_WRPSTATE_DISABLE

h5, f4, h7

removed and replaced by unitray APIs.

Refer to

OB_WRPSTATE_ENABLE

h5, f4, h7

removed and replaced by unitray APIs.

Refer to

OB_WRP_SECTOR_0

h5, f4, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_0TO3

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_1

h5, f4, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_100TO103

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_104TO107

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_108TO111

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_112TO115

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_116TO119

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_120TO123

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_124TO127

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_12TO15

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_16TO19

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_2

h5, f4, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_20TO23

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_24TO27

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_28TO31

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_3

h5, f4, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_32TO35

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_36TO39

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_4

h5, f4, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_40TO43

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_44TO47

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_48TO51

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_4TO7

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_5

h5, f4, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_52TO55

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_56TO59

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_6

h5, f4, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_60TO63

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_64TO67

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_68TO71

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_7

h5, f4, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_72TO75

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_76TO79

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_80TO83

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_84TO87

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_88TO91

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_8TO11

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_92TO95

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_96TO99

h5, h7

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_ALL

h5, h7

Not implemented yet in HAL2.

Refer to

OPTIONBYTE_ALL

h5, c0, g0, h7

removed.

Refer to

OPTIONBYTE_EDATA

h5

Removed / New Usage changes.

Refer to

OPTIONBYTE_HDP

h5

Removed / New Usage changes.

Refer to

OPTIONBYTE_OTP_LOCK

h5, h7

Removed / New Usage changes.

Refer to

OPTIONBYTE_PROD_STATE

h5

Removed / New Usage changes.

Refer to

FLASH_FLAG_CFGBSY

c0, g0

Removed / New Usage changes.

Refer to

FLASH_FLAG_FASTERR

c0, l4, g0, g4

Removed / New Usage changes.

Refer to

FLASH_FLAG_MISERR

c0, l4, g0, g4

Removed / New Usage changes.

Refer to

FLASH_FLAG_OPTVERR

c0, l4, g0, g4

Removed / New Usage changes.

Refer to

FLASH_FLAG_PESD

c0

this define does not exist anymore.

Refer to

FLASH_FLAG_RDERR

c0, l4, f4, g0, g4

Removed / New Usage changes.

Refer to

FLASH_IT_RDERR

c0, l4, g0, g4

Removed / New Usage changes.

Refer to

FLASH_TYPEERASE_MASS

c0, g0

removed and replaced by unitray APIs.

Refer to

FLASH_TYPEERASE_MASSERASE

u5, h5, l4, f4, g4, h7

removed and replaced by unitray APIs.

Refer to

FLASH_TYPEERASE_MASSERASE_NS

u5, h5

removed and replaced by unitray APIs.

Refer to

FLASH_TYPEERASE_PAGES

u5, c0, l4, g0, g4

removed and replaced by unitray APIs.

Refer to

FLASH_TYPEERASE_PAGES_NS

u5

removed and replaced by unitray APIs.

Refer to

FLASH_TYPEPROGRAM_BURST

u5

HAL_FLASH_PROGRAM_BURST.

Refer to

FLASH_TYPEPROGRAM_BURST_NS

u5

removed and replaced by unitray APIs.

Refer to

FLASH_TYPEPROGRAM_DOUBLEWORD

c0, l4, f4, g0, g4

HAL_FLASH_PROGRAM_DOUBLEWORD

Refer to

FLASH_TYPEPROGRAM_FAST

c0, l4, g0, g4

HAL_FLASH_PROGRAM_FAST

Refer to

FLASH_TYPEPROGRAM_QUADWORD

u5, h5

HAL_FLASH_PROGRAM_QUADWORD

Refer to

FLASH_TYPEPROGRAM_QUADWORD_NS

u5, h5

removed and replaced by unitray APIs

Refer to

HAL_FLASH_ERROR_FAST

c0, l4, g0, g4

HAL_FLASH_ERROR_FAST

Refer to

HAL_FLASH_ERROR_MIS

c0, l4, g0, g4

HAL_FLASH_ERROR_MISS

Refer to

HAL_FLASH_ERROR_OPTV

c0, l4, g0, g4

HAL_FLASH_ERROR_OPTV

Refer to

HAL_FLASH_ERROR_RD

c0, l4, f4, g0, g4

HAL_FLASH_ERROR_RD

Refer to

OB_BOOT1_SRAM

c0, l4, g0, g4

Removed / New Usage changes.

Refer to

OB_BOOT1_SYSTEM

c0, l4, g0, g4

Removed / New Usage changes.

Refer to

OB_BOOT_ENTRY_FORCED_FLASH

c0, g0, h7

removed and replaced by unitray API.

Refer to

OB_BOOT_ENTRY_FORCED_NONE

c0, g0, h7

removed and replaced by unitray API.

Refer to

OB_BOR_DISABLE

c0, g0

removed and replaced by unitray APIs.

Refer to

OB_BOR_ENABLE

c0, g0

removed and replaced by unitray APIs.

Refer to

OB_BOR_LEVEL_FALLING_0

c0, g0

HAL_FLASH_ITF_OB_BOR_LEVEL_1

Refer to

OB_BOR_LEVEL_FALLING_1

c0, g0

HAL_FLASH_ITF_OB_BOR_LEVEL_2

Refer to

OB_BOR_LEVEL_FALLING_2

c0, g0

HAL_FLASH_ITF_OB_BOR_LEVEL_3

Refer to

OB_BOR_LEVEL_FALLING_3

c0, g0

HAL_FLASH_ITF_OB_BOR_LEVEL_4

Refer to

OB_BOR_LEVEL_RISING_0

c0, g0

HAL_FLASH_ITF_OB_BOR_LEVEL_1

Refer to

OB_BOR_LEVEL_RISING_1

c0, g0

HAL_FLASH_ITF_OB_BOR_LEVEL_2

Refer to

OB_BOR_LEVEL_RISING_2

c0, g0

HAL_FLASH_ITF_OB_BOR_LEVEL_3

Refer to

OB_BOR_LEVEL_RISING_3

c0, g0

HAL_FLASH_ITF_OB_BOR_LEVEL_4

Refer to

OB_HSE_NOT_REMAPPED_DISABLE

c0

HAL_FLASH_ITF_OB_HSE_REMAP_DISABLED

Refer to

OB_HSE_NOT_REMAPPED_ENABLE

c0

HAL_FLASH_ITF_OB_HSE_REMAP_ENABLED

Refer to

OB_IRH_DISABLE

c0, g0, g4

HAL_FLASH_ITF_OB_RST_PULSE_PIN_LOW

Refer to

OB_IRH_ENABLE

c0, g0, g4

HAL_FLASH_ITF_OB_RST_HOLD_PIN_LOW

Refer to

OB_PCROP_RDP_ERASE

c0, l4, g0, g4, h7

HAL_FLASH_ITF_OB_PCROP_RDP_DISABLED

Refer to

OB_PCROP_RDP_NOT_ERASE

c0, l4, g0, g4, h7

HAL_FLASH_ITF_OB_PCROP_RDP_ENABLED

Refer to

OB_PCROP_ZONE_A

c0, g0

removed and replaced by unitray APIs.

Refer to

OB_PCROP_ZONE_B

c0, g0

removed and replaced by unitray APIs.

Refer to

OB_RESET_MODE_GPIO

c0, g0, g4

HAL_FLASH_OB_NRST_PIN_STANDARD_GPIO

Refer to

OB_RESET_MODE_INPUT_ONLY

c0, g0, g4

HAL_FLASH_OB_NRST_PIN_INPUT_ONLY

Refer to

OB_RESET_MODE_INPUT_OUTPUT

c0, g0, g4

HAL_FLASH_OB_NRST_PIN_BIDIRECTIONAL

Refer to

OB_SECURE_MUXING_DISABLE

c0

removed and replaced by unitray APIs.

Refer to

OB_SECURE_MUXING_ENABLE

c0

removed and replaced by unitray APIs.

Refer to

OB_SRAM_PARITY_DISABLE

c0, g0, g4

removed and replaced by unitray APIs.

Refer to

OB_SRAM_PARITY_ENABLE

c0, g0, g4

HAL_FLASH_ITF_OB_SRAM_PARITY_ENABLED

Refer to

OB_USER_BOR_EN

c0, g0

removed and replaced by unitray APIs.

Refer to

OB_USER_HSE_NOT_REMAPPED

c0

removed and replaced by unitray APIs.

Refer to

OB_USER_INPUT_RESET_HOLDER

c0, g0

removed and replaced by unitray APIs.

Refer to

OB_USER_NBOOT1

c0

removed and replaced by unitray APIs.

Refer to

OB_USER_NBOOT_SEL

c0

removed and replaced by unitray APIs.

Refer to

OB_USER_NRST_MODE

c0, g0, g4

removed and replaced by unitray APIs.

Refer to

OB_USER_RAM_PARITY_CHECK

c0, g0

removed and replaced by unitray APIs.

Refer to

OB_USER_SECURE_MUXING_EN

c0

removed and replaced by unitray APIs.

Refer to

OB_WRPAREA_ZONE_A

c0, g0

removed and replaced by unitray APIs.

Refer to

OB_WRPAREA_ZONE_B

c0, g0

removed and replaced by unitray APIs.

Refer to

OPTIONBYTE_PCROP

c0, l4, f4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OPTIONBYTE_SEC

c0, g0, g4

removed and replaced by unitray APIs.

Refer to

FLASH_PROG_EMPTY

c0, g0

HAL_FLASH_ITF_BOOT_LOCATION_EMPTY

Refer to

FLASH_PROG_NOT_EMPTY

c0, g0

HAL_FLASH_ITF_BOOT_LOCATION_PROGRAMMED

Refer to

OB_SWAP_BANK_DISABLE

u5, h5, h7

HAL_FLASH_ITF_OB_BANK_NO_SWAP

Refer to

OB_SWAP_BANK_ENABLE

u5, h5, h7

HAL_FLASH_ITF_OB_BANK_SWAP

Refer to

FLASH_FLAG_PEMPTY

l4

Removed / New Usage changes.

Refer to

FLASH_PDKEY1

l4, g4

Removed / New Usage changes.

Refer to

FLASH_PDKEY2

l4, g4

Removed / New Usage changes.

Refer to

FLASH_TYPEPROGRAM_FAST_AND_LAST

l4, g4

Not implemented yet in HAL2.

Refer to

HAL_FLASH_ERROR_PEMPTY

l4

HAL_FLASH_ERROR_PEMPTY

Refer to

OB_BFB2_DISABLE

l4, g4

Not implemented yet in HAL2.

Refer to

OB_BFB2_ENABLE

l4, g4

Not implemented yet in HAL2.

Refer to

OB_BOOT0_RESET

l4

HAL_FLASH_ITF_OB_BOOT_LOW

Refer to

OB_BOOT0_SET

l4

HAL_FLASH_ITF_OB_BOOT_HIGH

Refer to

OB_DBANK_128_BITS

l4, g4

Removed / New Usage changes.

Refer to

OB_DBANK_64_BITS

l4, g4

Removed / New Usage changes.

Refer to

OB_SRAM2_PARITY_DISABLE

l4

removed and replaced by unitray APIs.

Refer to

OB_SRAM2_PARITY_ENABLE

l4

removed and replaced by unitray APIs.

Refer to

OB_USER_BFB2

l4, g4

Not implemented yet in HAL2.

Refer to

OPTIONBYTE_BOOT_LOCK

u5, h5, g4

Removed / New Usage changes.

Refer to

OPTIONBYTE_RDP

u5, c0, l4, f4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OPTIONBYTE_USER

u5, h5, c0, l4, f4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OPTIONBYTE_WMSEC

u5, h5

removed and replaced by unitray APIs.

Refer to

OPTIONBYTE_WRP

u5, h5, c0, l4, f4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OPTIONBYTE_RDPKEY

u5

removed and replaced by unitray APIs.

Refer to

OB_USER_DBANK

l4, g4

removed and replaced by unitray APIs.

Refer to

OB_USER_SRAM2_PE

l4

removed and replaced by unitray APIs.

Refer to

OB_USER_nBOOT0

l4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OB_USER_nBOOT1

l4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OB_USER_nRST_SHDW

l4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OB_USER_nRST_STDBY

l4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OB_USER_nRST_STOP

l4, g0, g4, h7

removed and replaced by unitray APIs.

Refer to

OB_USER_nSWBOOT0

l4, g4, h7

removed and replaced by unitray APIs.

Refer to

OB_BKPRAM_ECC_DISABLE

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_BKPRAM_ECC_ENABLE

u5, h5

removed and replaced by unitray APIs.

Refer to

OB_BOOT0_FROM_OB

u5, c0, l4, g0, g4

removed and replaced by unitray APIs.

Refer to

OB_BOOT0_FROM_PIN

u5, c0, l4, g0, g4

removed and replaced by unitray APIs.

Refer to

OB_BOOTADDR_NS0

u5

removed and replaced by unitray APIs.

Refer to

OB_BOOTADDR_NS1

u5

removed and replaced by unitray APIs.

Refer to

OB_BOOTADDR_SEC0

u5

removed and replaced by unitray APIs.

Refer to

OB_BOOT_LOCK_DISABLE

u5, h5, g4

removed and replaced by unitray APIs.

Refer to

OB_BOOT_LOCK_ENABLE

u5, h5, g4

removed and replaced by unitray APIs.

Refer to

OB_BOR_LEVEL_0

u5, l4, g4

HAL_FLASH_ITF_OB_BOR_LEVEL_0

Refer to

OB_BOR_LEVEL_1

u5, h5, l4, g4

HAL_FLASH_ITF_OB_BOR_LEVEL_1

Refer to

OB_BOR_LEVEL_2

u5, h5, l4, g4

HAL_FLASH_ITF_OB_BOR_LEVEL_2

Refer to

OB_BOR_LEVEL_3

u5, h5, l4, g4

HAL_FLASH_ITF_OB_BOR_LEVEL_3

Refer to

OB_BOR_LEVEL_4

u5, l4, g4

HAL_FLASH_ITF_OB_BOR_LEVEL_4

Refer to

OB_DUALBANK_DUAL

u5, l4

HAL_FLASH_ITF_OB_DUAL_BANK

Refer to

OB_DUALBANK_SINGLE

u5, l4

HAL_FLASH_ITF_OB_SINGLE_BANK

Refer to

OB_IO_VDDIO2_HSLV_DISABLE

u5, h5

Removed / New Usage changes.

Refer to

OB_IO_VDDIO2_HSLV_ENABLE

u5, h5

Removed / New Usage changes.

Refer to

OB_IO_VDD_HSLV_DISABLE

u5, h5

Removed / New Usage changes.

Refer to

OB_IO_VDD_HSLV_ENABLE

u5, h5

Removed / New Usage changes.

Refer to

OB_IWDG_HW

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_OB_WDG_HARDWARE

Refer to

OB_WMSEC_AREA1

u5

Removed / New Usage changes.

Refer to

OB_WMSEC_AREA2

u5

Removed / New Usage changes.

Refer to

OB_WMSEC_HDP_AREA_CONFIG

u5

Removed / New Usage changes.

Refer to

OB_WMSEC_HDP_AREA_DISABLE

u5

Removed / New Usage changes.

Refer to

OB_WMSEC_HDP_AREA_ENABLE

u5

Removed / New Usage changes.

Refer to

OB_WMSEC_SECURE_AREA_CONFIG

u5

Removed / New Usage changes.

Refer to

OB_WRPAREA_BANK1_AREAA

u5, l4, g4

Removed / New Usage changes.

Refer to

OB_WRPAREA_BANK1_AREAB

u5, l4, g4

Removed / New Usage changes.

Refer to

OB_WRPAREA_BANK2_AREAA

u5, l4, g4

Removed / New Usage changes.

Refer to

OB_WRPAREA_BANK2_AREAB

u5, l4, g4

Removed / New Usage changes.

Refer to

OB_WWDG_HW

u5, h5, c0, l4, g0, g4

HAL_FLASH_ITF_OB_WDG_HARDWARE

Refer to

OB_WWDG_SW

u5, h5, c0, l4, g0, g4

HAL_FLASH_ITF_OB_WDG_SOFTWARE

Refer to

FLASH_LVE_PIN_CTRL

l4

Not implemented yet in HAL2.

Refer to

FLASH_LVE_PIN_FORCED

l4

Not implemented yet in HAL2.

Refer to

CR_PSIZE_MASK

f4

Not implemented yet in HAL2.

Refer to

FLASH_FLAG_PGPERR

f4

Removed / New Usage changes.

Refer to

FLASH_IT_ERR

f4

Removed / New Usage changes.

Refer to

FLASH_PSIZE_BYTE

f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_PSIZE_DOUBLE_WORD

f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_PSIZE_HALF_WORD

f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_PSIZE_WORD

f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_TYPEPROGRAM_BYTE

f4

HAL_FLASH_PROGRAM_BYTE

Refer to

FLASH_TYPEPROGRAM_HALFWORD

f4

HAL_FLASH_PROGRAM_HALFWORD

Refer to

FLASH_TYPEPROGRAM_WORD

f4

HAL_FLASH_PROGRAM_WORD

Refer to

HAL_FLASH_ERROR_OPERATION

f4

HAL_FLASH_ERROR_OP

Refer to

HAL_FLASH_ERROR_PGP

f4

HAL_FLASH_ERROR_PGP

Refer to

RDP_KEY

f4

removed/ sequence changed.

Refer to

FLASH_MER_BIT

f4

Not implemented yet in HAL2.

Refer to

FLASH_VOLTAGE_RANGE_1

f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_VOLTAGE_RANGE_2

f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_VOLTAGE_RANGE_3

f4, h7

Not implemented yet in HAL2.

Refer to

FLASH_VOLTAGE_RANGE_4

f4, h7

Not implemented yet in HAL2.

Refer to

OB_BOR_LEVEL1

f4, h7

HAL_FLASH_ITF_OB_BOR_LEVEL_1

Refer to

OB_BOR_LEVEL2

f4, h7

HAL_FLASH_ITF_OB_BOR_LEVEL_2

Refer to

OB_BOR_LEVEL3

f4, h7

HAL_FLASH_ITF_OB_BOR_LEVEL_3

Refer to

OB_BOR_OFF

f4

HAL_FLASH_ITF_OB_BOR_LEVEL_0

Refer to

OB_DUAL_BOOT_DISABLE

f4

Not implemented yet in HAL2.

Refer to

OB_DUAL_BOOT_ENABLE

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_DESELECTED

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_0

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_1

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_10

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_11

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_12

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_13

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_14

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_15

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_16

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_17

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_18

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_19

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_2

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_20

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_21

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_22

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_23

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_3

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_4

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_5

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_6

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_7

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_8

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_9

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SECTOR_All

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_SELECTED

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_STATE_DISABLE

f4

Not implemented yet in HAL2.

Refer to

OB_PCROP_STATE_ENABLE

f4

Not implemented yet in HAL2.

Refer to

OB_STDBY_NO_RST

f4, h7

removed and replaced by unitray API.

Refer to

OB_STDBY_RST

f4, h7

removed and replaced by unitray API.

Refer to

OB_STOP_NO_RST

f4, h7

removed and replaced by unitray API.

Refer to

OB_WRP_SECTOR_10

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_11

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_12

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_13

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_14

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_15

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_16

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_17

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_18

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_19

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_20

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_21

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_22

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_23

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_8

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_9

f4

Not implemented yet in HAL2.

Refer to

OB_WRP_SECTOR_All

f4, h7

Not implemented yet in HAL2.

Refer to

OPTIONBYTE_BOOTCONFIG

f4

removed and replaced by unitray APIs.

Refer to

OPTIONBYTE_BOR

f4, h7

removed and replaced by unitray APIs.

Refer to

FLASH_FLAG_BSY1

g0

Removed / New Usage changes.

Refer to

FLASH_FLAG_BSY2

g0

Removed / New Usage changes.

Refer to

FLASH_FLAG_ECCC1

g0

Removed / New Usage changes.

Refer to

FLASH_FLAG_ECCC2

g0, g4

Removed / New Usage changes.

Refer to

FLASH_FLAG_ECCD1

g0

Removed / New Usage changes.

Refer to

FLASH_FLAG_ECCD2

g0, g4

Removed / New Usage changes.

Refer to

FLASH_IT_ECCC1

g0

Removed / New Usage changes.

Refer to

FLASH_IT_ECCC2

g0

Removed / New Usage changes.

Refer to

OB_PCROP_ZONE2_A

g0

Removed / New Usage changes.

Refer to

OB_PCROP_ZONE2_B

g0

Removed / New Usage changes.

Refer to

OB_USER_BANK_SWAP

g0

Removed / New Usage changes.

Refer to

OPTIONBYTE_BOOTADDR

u5, h5

Removed / New Usage changes.

Refer to

OB_USER_DUALBANK_DISABLE

g0

Removed / New Usage changes.

Refer to

OB_USER_DUALBANK_ENABLE

g0

Removed / New Usage changes.

Refer to

OB_USER_DUALBANK_SWAP_DISABLE

g0

Removed / New Usage changes.

Refer to

OB_USER_DUALBANK_SWAP_ENABLE

g0

Removed / New Usage changes.

Refer to

OB_USER_DUAL_BANK

g0

Removed / New Usage changes.

Refer to

OB_USER_nBOOT_SEL

g0, h7

removed and replaced by unitray APIs.

Refer to

OB_WRPAREA_ZONE2_A

g0

Removed / New Usage changes.

Refer to

OB_WRPAREA_ZONE2_B

g0

Removed / New Usage changes.

Refer to

OB_nBOOT0_RESET

g0, g4, h7

HAL_FLASH_ITF_OB_BOOT_LOW

Refer to

OB_nBOOT0_SET

g0, g4, h7

HAL_FLASH_ITF_OB_BOOT_HIGH

Refer to

HAL_FLASH_ERROR_ECCC2

g4

HAL_FLASH_ECC_FAIL_ECCC

Refer to

HAL_FLASH_ERROR_ECCD2

g4

HAL_FLASH_ECC_FAIL_ECCD

Refer to

OB_CCMSRAM_RST_ERASE

g4

Not implemented yet in HAL2.

Refer to

OB_CCMSRAM_RST_NOT_ERASE

g4

Not implemented yet in HAL2.

Refer to

OB_IWDG_SW

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_OB_WDG_SOFTWARE

Refer to

OB_NBOOT0_RESET

u5, c0

HAL_FLASH_ITF_OB_BOOT_LOW

Refer to

OB_NBOOT0_SET

u5, c0

HAL_FLASH_ITF_OB_BOOT_HIGH

Refer to

OB_NRST_MODE_GPIO

g4

HAL_FLASH_OB_NRST_PIN_STANDARD_GPIO

Refer to

OB_NRST_MODE_INPUT_ONLY

g4

HAL_FLASH_OB_NRST_PIN_INPUT_ONLY

Refer to

OB_NRST_MODE_INPUT_OUTPUT

g4

HAL_FLASH_OB_NRST_PIN_BIDIRECTIONAL

Refer to

OB_PA15_PUP_DISABLE

u5

Removed / New Usage changes.

Refer to

OB_PA15_PUP_ENABLE

u5

Removed / New Usage changes.

Refer to

OB_PB4_PUPEN_DISABLE

g4

Removed / New Usage changes.

Refer to

OB_PB4_PUPEN_ENABLE

g4

Removed / New Usage changes.

Refer to

OB_RDP_KEY_OEM1

u5

Removed / New Usage changes.

Refer to

OB_RDP_KEY_OEM2

u5

Removed / New Usage changes.

Refer to

OB_RDP_LEVEL_0

u5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_OB_RDP_LEVEL_0

Refer to

OB_RDP_LEVEL_0_5

u5

HAL_FLASH_ITF_OB_RDP_LEVEL_0_5

Refer to

OB_RDP_LEVEL_1

u5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_OB_RDP_LEVEL_1

Refer to

OB_RDP_LEVEL_2

u5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_OB_RDP_LEVEL_2

Refer to

OB_USER_CCMSRAM_RST

g4

Removed / New Usage changes.

Refer to

OB_USER_IRHEN

g4

removed and replaced by unitray APIs.

Refer to

OB_USER_PB4_PUPEN

g4

Removed / New Usage changes.

Refer to

OB_USER_SRAM_PE

g4

Removed / New Usage changes.

Refer to

FLASH_CRC_ADDR

h7

Not implemented yet in HAL2.

Refer to

FLASH_CRC_BANK

h7

Not implemented yet in HAL2.

Refer to

FLASH_CRC_BURST_SIZE_16

h7

Not implemented yet in HAL2.

Refer to

FLASH_CRC_BURST_SIZE_256

h7

Not implemented yet in HAL2.

Refer to

FLASH_CRC_BURST_SIZE_4

h7

Not implemented yet in HAL2.

Refer to

FLASH_CRC_BURST_SIZE_64

h7

Not implemented yet in HAL2.

Refer to

FLASH_CRC_SECTORS

h7

Not implemented yet in HAL2.

Refer to

FLASH_FLAG_ALL_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_ALL_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_ALL_ERRORS_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_ALL_ERRORS_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_BSY_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_BSY_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRCEND

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRCEND_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRCEND_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRCRDERR

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRCRDERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRCRDERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRC_BUSY

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRC_BUSY_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_CRC_BUSY_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_DBECCERR

h7

HAL_FLASH_ECC_DOUBLE

Refer to

FLASH_FLAG_DBECCERR_BANK1

h7

HAL_FLASH_ECC_DOUBLE

Refer to

FLASH_FLAG_DBECCERR_BANK2

h7

HAL_FLASH_ECC_DOUBLE

Refer to

FLASH_FLAG_EOP_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_EOP_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_INCERR

h5, h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_INCERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_INCERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_OBKERR

h5

Removed / New Usage changes.

Refer to

FLASH_FLAG_OBKWERR

h5

Removed / New Usage changes.

Refer to

FLASH_FLAG_OPTCHANGEERR

h5

Removed / New Usage changes.

Refer to

FLASH_FLAG_OPERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_OPERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_PGSERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_PGSERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_QW

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_QW_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_QW_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_RDPERR

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_RDPERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_RDPERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_RDSERR

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_RDSERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_RDSERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_SNECCERR

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_SNECCERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_SNECCERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_STRBERR

h5, h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_STRBERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_STRBERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_WBNE

h5, h7

Removed / New Usage changes.

Refer to

FLASH_INV_DISABLE

u5, h5

Removed / New Usage changes.

Refer to

FLASH_INV_ENABLE

u5, h5

Removed / New Usage changes.

Refer to

FLASH_IT_ALL

h5

Removed / New Usage changes.

Refer to

FLASH_IT_INCERR

h5

Removed / New Usage changes.

Refer to

FLASH_IT_OBKERR

h5

Removed / New Usage changes.

Refer to

FLASH_IT_OBKWERR

h5

Removed / New Usage changes.

Refer to

FLASH_IT_OPTCHANGEERR

h5

Removed / New Usage changes.

Refer to

FLASH_IT_PGSERR

h5

Removed / New Usage changes.

Refer to

FLASH_FLAG_WBNE_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_WBNE_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_WRPERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_FLAG_WRPERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_ALL_BANK1

h7

Not implemented yet in HAL2.

Refer to

FLASH_IT_ALL_BANK2

h7

Not implemented yet in HAL2.

Refer to

FLASH_IT_CRCEND_BANK1

h7

removed and replaced by unitray APIs.

Refer to

FLASH_IT_CRCEND_BANK2

h7

removed and replaced by unitray APIs.

Refer to

FLASH_IT_CRCRDERR_BANK1

h7

removed and replaced by unitray APIs.

Refer to

FLASH_IT_CRCRDERR_BANK2

h7

removed and replaced by unitray APIs.

Refer to

FLASH_IT_DBECCERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_IT_DBECCERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_EOP_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_IT_EOP_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_INCERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_IT_INCERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_OPERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_IT_OPERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_PGSERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_IT_PGSERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_RDPERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_IT_RDPERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_RDSERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_IT_RDSERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_SNECCERR_BANK1

h7

HAL_FLASH_ITF_IT_ECC_SINGLE

Refer to

FLASH_IT_SNECCERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_STRBERR

h5

Removed / New Usage changes.

Refer to

FLASH_IT_STRBERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_IT_STRBERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_IT_WRPERR

h5

Removed / New Usage changes.

Refer to

FLASH_IT_WRPERR_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_LPM_DISABLE

u5

Removed / New Usage changes.

Refer to

FLASH_LPM_ENABLE

u5

Removed / New Usage changes.

Refer to

FLASH_NSPRIV_DENIED

u5, h5

Removed / New Usage changes.

Refer to

FLASH_NSPRIV_GRANTED

u5, h5

Removed / New Usage changes.

Refer to

FLASH_SPRIV_DENIED

u5, h5

Removed / New Usage changes.

Refer to

FLASH_SPRIV_GRANTED

u5, h5

Removed / New Usage changes.

Refer to

FLASH_OBK_KEY1

h5

Removed / New Usage changes.

Refer to

FLASH_OBK_KEY2

h5

Removed / New Usage changes.

Refer to

FLASH_OPERATION_AREA_BANK_1

u5, h5

sequence changed.

Refer to

FLASH_OPERATION_AREA_BANK_2

u5, h5

sequence changed.

Refer to

FLASH_OPERATION_AREA_SYSF

u5, h5

sequence changed.

Refer to

FLASH_OPERATION_TYPE_BANKERASE

u5, h5

HAL_FLASH_INTERRUPTED_BANK_ERASE

Refer to

FLASH_OPERATION_TYPE_BURST

u5, h5

HAL_FLASH_INTERRUPTED_BURST_WRITE

Refer to

FLASH_OPERATION_TYPE_MASSERASE

u5, h5

HAL_FLASH_INTERRUPTED_MASS_ERASE

Refer to

FLASH_OPERATION_TYPE_NONE

u5, h5

HAL_FLASH_INTERRUPTED_NO_OPERATION

Refer to

FLASH_OPERATION_TYPE_OPTIONCHANGE

u5, h5

HAL_FLASH_INTERRUPTED_OB_CHANGE

Refer to

FLASH_OPERATION_TYPE_PAGEERASE

u5, h5

HAL_FLASH_INTERRUPTED_PAGE_ERASE

Refer to

FLASH_OPERATION_TYPE_QUADWORD

u5, h5

HAL_FLASH_INTERRUPTED_SINGLE_WRITE

Refer to

FLASH_OPT_KEY1

h5, f4, h7

Removed / New Usage changes.

Refer to

FLASH_OPT_KEY2

h5, f4, h7

Removed / New Usage changes.

Refer to

FLASH_IT_WRPERR_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_PROGRAMMING_DELAY_3

h7

HAL_FLASH_ITF_PROGRAM_DELAY_0

Refer to

FLASH_TYPEPROGRAM_FLASHWORD

h7

HAL_FLASH_PROGRAM_WORD

Refer to

FLASH_TYPEPROGRAM_OTPWORD

h7

removed replaced by unitary API.

Refer to

HAL_FLASH_ERROR_CRCRD

h7

HAL_FLASH_ERROR_CRCRD

Refer to

HAL_FLASH_ERROR_CRCRD_BANK1

h7

HAL_FLASH_ERROR_CRCRD

Refer to

HAL_FLASH_ERROR_CRCRD_BANK2

h7

HAL_FLASH_ERROR_CRCRD

Refer to

HAL_FLASH_ERROR_DBECC

h7

HAL_FLASH_ECC_DOUBLE

Refer to

HAL_FLASH_ERROR_DBECC_BANK1

h7

HAL_FLASH_ECC_DOUBLE

Refer to

HAL_FLASH_ERROR_DBECC_BANK2

h7

HAL_FLASH_ECC_DOUBLE

Refer to

HAL_FLASH_ERROR_ECCC

u5, h5, l4, g4

HAL_FLASH_ECC_SINGLE

Refer to

HAL_FLASH_ERROR_ECCD

u5, h5, l4, g0, g4

HAL_FLASH_ECC_DOUBLE

Refer to

HAL_FLASH_ERROR_NONE

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ERROR_NONE.

Refer to

HAL_FLASH_ERROR_OP

u5, c0, l4, g0, g4

HAL_FLASH_ERROR_OP.

Refer to

HAL_FLASH_ERROR_OPTW

u5

Removed / New Usage changes.

Refer to

HAL_FLASH_ERROR_PGA

u5, c0, l4, f4, g0, g4

HAL_FLASH_ERROR_PGA

Refer to

HAL_FLASH_ERROR_PGS

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ERROR_PGS

Refer to

HAL_FLASH_ERROR_PROG

u5, c0, l4, g0, g4

HAL_FLASH_ERROR_PROG

Refer to

HAL_FLASH_ERROR_SIZ

u5, c0, l4, g0, g4

HAL_FLASH_ERROR_SIZE

Refer to

HAL_FLASH_ERROR_WRP

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ERROR_WRP

Refer to

HAL_FLASH_ERROR_INC_BANK1

h7

HAL_FLASH_ERROR_INC

Refer to

HAL_FLASH_ERROR_INC_BANK2

h7

HAL_FLASH_ERROR_INC

Refer to

HAL_FLASH_ERROR_OPE

h7

HAL_FLASH_ERROR_OP

Refer to

HAL_FLASH_ERROR_OPE_BANK1

h7

HAL_FLASH_ERROR_OP

Refer to

HAL_FLASH_ERROR_OPE_BANK2

h7

HAL_FLASH_ERROR_OP

Refer to

HAL_FLASH_ERROR_PGS_BANK1

h7

HAL_FLASH_ERROR_PGS

Refer to

HAL_FLASH_ERROR_PGS_BANK2

h7

HAL_FLASH_ERROR_PGS

Refer to

HAL_FLASH_ERROR_RDP

h7

HAL_FLASH_ERROR_RD

Refer to

HAL_FLASH_ERROR_RDP_BANK1

h7

HAL_FLASH_ERROR_RD

Refer to

HAL_FLASH_ERROR_RDP_BANK2

h7

HAL_FLASH_ERROR_RD

Refer to

HAL_FLASH_ERROR_RDS

h7

HAL_FLASH_ERROR_RDS

Refer to

HAL_FLASH_ERROR_RDS_BANK1

h7

HAL_FLASH_ERROR_RDS

Refer to

HAL_FLASH_ERROR_RDS_BANK2

h7

HAL_FLASH_ERROR_RDS

Refer to

HAL_FLASH_ERROR_SNECC

h7

HAL_FLASH_ECC_SINGLE

Refer to

HAL_FLASH_ERROR_SNECC_BANK1

h7

HAL_FLASH_ECC_SINGLE

Refer to

HAL_FLASH_ERROR_SNECC_BANK2

h7

HAL_FLASH_ECC_SINGLE

Refer to

HAL_FLASH_ERROR_STRB_BANK1

h7

HAL_FLASH_ERROR_STRB

Refer to

HAL_FLASH_ERROR_STRB_BANK2

h7

HAL_FLASH_ERROR_STRB

Refer to

HAL_FLASH_ERROR_WRP_BANK1

h7

HAL_FLASH_ERROR_WRP

Refer to

HAL_FLASH_ERROR_WRP_BANK2

h7

HAL_FLASH_ERROR_WRP

Refer to

OB_BCM4_DISABLE

h7

Not implemented yet in HAL2.

Refer to

OB_BCM4_ENABLE

h7

Not implemented yet in HAL2.

Refer to

OB_BCM7_DISABLE

h7

Not implemented yet in HAL2.

Refer to

OB_BCM7_ENABLE

h7

Not implemented yet in HAL2.

Refer to

OB_BOOTADDR_AXIM_FLASH

h7

Not implemented yet in HAL2.

Refer to

OB_BOOTADDR_DTCM_RAM

h7

Not implemented yet in HAL2.

Refer to

OB_BOOTADDR_ITCM_FLASH

h7

Not implemented yet in HAL2.

Refer to

OB_BOOTADDR_ITCM_RAM

h7

Not implemented yet in HAL2.

Refer to

OB_BOOTADDR_SRAM1

h7

Not implemented yet in HAL2.

Refer to

OB_BOOTADDR_SRAM2

h7

Not implemented yet in HAL2.

Refer to

OB_BOOTADDR_SYSTEM

h7

Not implemented yet in HAL2.

Refer to

OB_BOOT_ADD0

h7

Not implemented yet in HAL2.

Refer to

OB_BOOT_ADD1

h7

Not implemented yet in HAL2.

Refer to

OB_BOOT_ADD_BOTH

h7

Not implemented yet in HAL2.

Refer to

OB_BOR_LEVEL0

h7

HAL_FLASH_ITF_OB_BOR_LEVEL_0

Refer to

OB_CPUFREQ_BOOST_DISABLE

h7

removed replaced by unitary API.

Refer to

OB_CPUFREQ_BOOST_ENABLE

h7

removed replaced by unitary API.

Refer to

OB_IOHSLV_DISABLE

h7

removed and replaced by unitray API.

Refer to

OB_IOHSLV_ENABLE

h7

removed and replaced by unitray API.

Refer to

OB_IWDG1_HW

h7

HAL_FLASH_ITF_OB_WDG_HARDWARE

Refer to

OB_IWDG1_SW

h7

HAL_FLASH_ITF_OB_WDG_SOFTWARE

Refer to

OB_IWDG2_HW

h7

HAL_FLASH_ITF_OB_WDG_HARDWARE

Refer to

OB_IWDG2_SW

h7

HAL_FLASH_ITF_OB_WDG_SOFTWARE

Refer to

OB_SECURE_RDP_ERASE

h7

removed and replaced by unitray APIs.

Refer to

OB_SECURE_RDP_NOT_ERASE

h7

removed and replaced by unitray APIs.

Refer to

OB_SECURITY_DISABLE

h7

removed and replaced by unitray APIs.

Refer to

OB_SECURITY_ENABLE

h7

removed and replaced by unitray APIs.

Refer to

OB_SHUTDOWN_NORST

u5, c0, l4, g0, g4

HAL_FLASH_ITF_OB_NO_RST_GENERATION

Refer to

OB_SHUTDOWN_RST

u5, c0, l4, g0, g4

HAL_FLASH_ITF_OB_RST_GENERATION

Refer to

OB_STDBY_NO_RST_D1

h7

removed and replaced by unitray API.

Refer to

OB_STDBY_NO_RST_D2

h7

removed and replaced by unitray API.

Refer to

OB_STDBY_RST_D1

h7

removed and replaced by unitray API.

Refer to

OB_STDBY_RST_D2

h7

removed and replaced by unitray API.

Refer to

OB_STOP_NO_RST_D1

h7

removed and replaced by unitray API.

Refer to

OB_STOP_NO_RST_D2

h7

removed and replaced by unitray API.

Refer to

OB_STOP_RST

u5, h5, c0, l4, f4, g0, g4, h7

removed and replaced by unitray API.

Refer to

OB_STOP_RST_D1

h7

removed and replaced by unitray API.

Refer to

OB_STOP_RST_D2

h7

removed and replaced by unitray API.

Refer to

OB_ST_RAM_SIZE_16KB

h7

Not implemented yet in HAL2.

Refer to

OB_ST_RAM_SIZE_2KB

h7

Not implemented yet in HAL2.

Refer to

OB_ST_RAM_SIZE_4KB

h7

Not implemented yet in HAL2.

Refer to

OB_ST_RAM_SIZE_8KB

h7

Not implemented yet in HAL2.

Refer to

OB_TCM_AXI_SHARED_ITCM128KB

h7

HAL_FLASH_ITF_OB_ITCM_AXI_SHARE_128KB

Refer to

OB_TCM_AXI_SHARED_ITCM192KB

h7

HAL_FLASH_ITF_OB_ITCM_AXI_SHARE_192KB

Refer to

OB_TCM_AXI_SHARED_ITCM256KB

h7

HAL_FLASH_ITF_OB_ITCM_AXI_SHARE_256KB

Refer to

OB_TCM_AXI_SHARED_ITCM64KB

h7

HAL_FLASH_ITF_OB_ITCM_AXI_SHARE_64KB

Refer to

OB_USER_BCM4

h7

Removed / New Usage changes.

Refer to

OB_USER_BCM7

h7

Removed / New Usage changes.

Refer to

OB_USER_IOHSLV

h7

Removed / New Usage changes.

Refer to

OB_USER_IWDG1_SW

h7

Removed / New Usage changes.

Refer to

OB_USER_IWDG2_SW

h7

Removed / New Usage changes.

Refer to

OB_USER_NRST_STDBY_D1

h7

Removed / New Usage changes.

Refer to

OB_USER_NRST_STDBY_D2

h7

Removed / New Usage changes.

Refer to

OB_USER_NRST_STOP_D1

h7

Removed / New Usage changes.

Refer to

OB_USER_NRST_STOP_D2

h7

Removed / New Usage changes.

Refer to

OB_USER_SECURITY

h7

removed and replaced by unitray APIs.

Refer to

OB_USER_ST_RAM_SIZE

h7

Removed / New Usage changes.

Refer to

OB_USER_VDDMMC_HSLV

h7

Removed / New Usage changes.

Refer to

OB_VDDMMC_HSLV_DISABLE

h7

removed and replaced by unitray API.

Refer to

OB_VDDMMC_HSLV_ENABLE

h7

removed and replaced by unitray API.

Refer to

OPTIONBYTE_BOOTADD

h7

removed and replaced by unitray API.

Refer to

OPTIONBYTE_CM4_BOOTADD

h7

removed and replaced by unitray API.

Refer to

OPTIONBYTE_CM7_BOOTADD

h7

removed and replaced by unitray API.

Refer to

OPTIONBYTE_FREQ_BOOST

h7

removed replaced by unitary API.

Refer to

OPTIONBYTE_SECURE_AREA

h7

remove / sequence changed.

Refer to

OPTIONBYTE_SHARED_RAM

h7

removed replaced by unitary API.

Refer to


HAL FLASH enumerations

HAL1

series

HAL2

Refer to

FLASH_CACHE_DCACHE_ENABLED

l4, g4

removed and replaced by unitray API.

Refer to

FLASH_CACHE_DISABLED

l4, g4

removed and replaced by unitray API.

Refer to

FLASH_CACHE_ICACHE_DCACHE_ENABLED

l4, g4

removed and replaced by unitray API.

Refer to

FLASH_CACHE_ICACHE_ENABLED

l4, g4

removed and replaced by unitray API.

Refer to

FLASH_PROC_MASS_ERASE

l4, g4

Removed / New Usage changes.

Refer to

FLASH_PROC_NONE

l4, f4, g4, h7

Removed / New Usage changes.

Refer to

FLASH_PROC_PAGE_ERASE

l4, g4

HAL_FLASH_ErasePage / HAL_FLASH_EraseByAddr

Refer to

FLASH_PROC_PROGRAM

l4, f4, g4

HAL_FLASH_Program / HAL_FLASH_Program_IT

Refer to

FLASH_PROC_PROGRAM_LAST

l4, g4

Removed / New Usage changes.

Refer to

FLASH_PROC_MASSERASE

f4

HAL_FLASH_MassErase / HAL_FLASH_EraseBank

Refer to

FLASH_PROC_SECTERASE

f4

HAL_FLASH_ErasePage / HAL_FLASH_EraseByAddr

Refer to

FLASH_CacheTypeDef

l4, g4

Removed / New Usage changes.

Refer to

FLASH_ProcedureTypeDef

l4, f4, g4, h7

Removed / New Usage changes.

Refer to

FLASH_PROC_ALLBANK_MASSERASE

h7

Removed / New Usage changes.

Refer to

FLASH_PROC_MASSERASE_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_PROC_MASSERASE_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_PROC_PROGRAM_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_PROC_PROGRAM_BANK2

h7

Removed / New Usage changes.

Refer to

FLASH_PROC_SECTERASE_BANK1

h7

Removed / New Usage changes.

Refer to

FLASH_PROC_SECTERASE_BANK2

h7

Removed / New Usage changes.

Refer to


HAL FLASH macros

HAL1

series

HAL2

Refer to

__HAL_FLASH_GET_LATENCY

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_GetLatency

Refer to

__HAL_FLASH_PREFETCH_BUFFER_DISABLE

u5, h5, c0, l4, f4, g0, g4

HAL_FLASH_ITF_DisablePrefetch

Refer to

__HAL_FLASH_PREFETCH_BUFFER_ENABLE

u5, h5, c0, l4, f4, g0, g4

HAL_FLASH_ITF_EnablePrefetch

Refer to

__HAL_FLASH_SET_LATENCY

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_SetLatency

Refer to

__HAL_FLASH_SLEEP_POWERDOWN_DISABLE

u5, l4, g4

HAL_FLASH_ITF_DisablePWRDownSleepMode

Refer to

__HAL_FLASH_SLEEP_POWERDOWN_ENABLE

u5, l4, g4

HAL_FLASH_ITF_EnablePWRDownSleepMode

Refer to

__HAL_FLASH_CLEAR_FLAG

h5, f4, h7

moved to LL file

Refer to

__HAL_FLASH_CLEAR_FLAG_NS

h5

Removed to LL file

Refer to

__HAL_FLASH_DISABLE_IT

h5, f4, h7

moved to LL file

Refer to

__HAL_FLASH_DISABLE_IT_NS

h5

moved to LL file

Refer to

__HAL_FLASH_ENABLE_IT

h5, f4, h7

sequence changed

Refer to

__HAL_FLASH_ENABLE_IT_NS

h5

sequence changed

Refer to

__HAL_FLASH_GET_FLAG

h5, f4, h7

Removed to LL file

Refer to

__HAL_FLASH_GET_FLAG_NS

h5

Removed to LL file

Refer to

__HAL_FLASH_GET_PROGRAM_DELAY

h5, h7

HAL_FLASH_ITF_GetProgrammingDelay

Refer to

__HAL_FLASH_SET_PROGRAM_DELAY

h5, h7

HAL_FLASH_ITF_SetProgrammingDelay

Refer to

__HAL_FLASH_SMART_PREFETCH_BUFFER_DISABLE

h5

Not implemented yet in HAL2.

Refer to

__HAL_FLASH_SMART_PREFETCH_BUFFER_ENABLE

h5

Not implemented yet in HAL2.

Refer to

__HAL_FLASH_INSTRUCTION_CACHE_DISABLE

c0, l4, f4, g0, g4

HAL_FLASH_ITF_DisableIcache

Refer to

__HAL_FLASH_INSTRUCTION_CACHE_ENABLE

c0, l4, f4, g0, g4

HAL_FLASH_ITF_EnableIcache

Refer to

__HAL_FLASH_INSTRUCTION_CACHE_RESET

c0, l4, f4, g0, g4

HAL_FLASH_ITF_ResetIcache

Refer to

__HAL_FLASH_DATA_CACHE_DISABLE

l4, f4, g4

Not implemented yet in HAL2.

Refer to

__HAL_FLASH_DATA_CACHE_ENABLE

l4, f4, g4

Not implemented yet in HAL2.

Refer to

__HAL_FLASH_DATA_CACHE_RESET

l4, f4, g4

Not implemented yet in HAL2.

Refer to

__HAL_FLASH_POWER_DOWN_DISABLE

l4, g4

HAL_FLASH_ITF_DisablePWRDownSleepMode

Refer to

__HAL_FLASH_POWER_DOWN_ENABLE

l4, g4

HAL_FLASH_ITF_EnablePWRDownSleepMode

Refer to

__HAL_FLASH_CALC_BOOT_BASE_ADR

h7

HAL_FLASH_ITF_OB_GetBoot0()/HAL_FLASH_ITF_OB_GetBoot1()

Refer to

__HAL_FLASH_CLEAR_FLAG_BANK1

h7

Removed / New Usage changes.

Refer to

__HAL_FLASH_CLEAR_FLAG_BANK2

h7

Removed / New Usage changes.

Refer to

__HAL_FLASH_DISABLE_IT_BANK1

h7

Removed — replaced by per-interrupt HAL2 APIs

Refer to

__HAL_FLASH_DISABLE_IT_BANK2

h7

Removed — replaced by per-interrupt HAL2 APIs

Refer to

__HAL_FLASH_ENABLE_IT_BANK1

h7

Removed — replaced by per-interrupt HAL2 APIs

Refer to

__HAL_FLASH_ENABLE_IT_BANK2

h7

Removed — replaced by per-interrupt HAL2 APIs

Refer to

__HAL_FLASH_GET_FLAG_BANK1

h7

Removed / New Usage changes.

Refer to

__HAL_FLASH_GET_FLAG_BANK2

h7

Removed / New Usage changes.

Refer to

__HAL_FLASH_GET_PSIZE

h7

Not implemented yet in HAL2.

Refer to

__HAL_FLASH_SET_PSIZE

h7

Not implemented yet in HAL2.

Refer to


HAL FLASH structures

HAL1

series

HAL2

Refer to

FLASH_EraseInitTypeDef

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

FLASH_OBProgramInitTypeDef

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

FLASH_ProcessTypeDef

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

FLASH_BBAttributesTypeDef

u5, h5

Removed / New Usage changes.

Refer to

FLASH_OperationTypeDef

u5, h5

Removed / New Usage changes.

Refer to

FLASH_EccInfoTypeDef

h5, h7

Removed / New Usage changes.

Refer to

FLASH_HDPExtensionTypeDef

h5

Removed / New Usage changes.

Refer to

FLASH_AdvOBProgramInitTypeDef

f4

Removed / New Usage changes.

Refer to

FLASH_CRCInitTypeDef

h7

Removed / New Usage changes.

Refer to


HAL FLASH functions

HAL1

series

HAL2

Refer to

HAL_FLASH_EndOfOperationCallback

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

FLASH_WaitForLastOperation

f4

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_DisableEccCorrectionInterrupt

h5, h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_ECCD_IRQHandler

h5

Removed / New Usage changes.

Refer to

HAL_FLASHEx_EccCorrectionCallback

h5, h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_EccDetectionCallback

h5, h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_EnableEccCorrectionInterrupt

h5, h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_GetEccInfo

h5, h7

Removed / New Usage changes.

Refer to

HAL_FLASH_GetError

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_GetLastErrorCodes

Refer to

HAL_FLASH_IRQHandler

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_IRQHandler

Refer to

HAL_FLASH_Lock

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_Lock

Refer to

HAL_FLASH_OB_Launch

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_OB_Launch

Refer to

HAL_FLASH_OB_Lock

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_OB_Lock

Refer to

HAL_FLASH_OB_Unlock

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_OB_Unlock

Refer to

HAL_FLASH_OperationErrorCallback

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

HAL_FLASH_Program

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

HAL_FLASH_Program_IT

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

HAL_FLASH_Unlock

u5, h5, c0, l4, f4, g0, g4, h7

HAL_FLASH_ITF_Unlock

Refer to

HAL_FLASHEx_ConfigBBAttributes

u5, h5

Removed / New Usage changes.

Refer to

HAL_FLASHEx_ConfigLowPowerRead

u5

Removed / New Usage changes.

Refer to

HAL_FLASHEx_ConfigPrivMode

u5, h5

HAL_FLASH_ITF_SetPrivAttr

Refer to

HAL_FLASHEx_ConfigSecInversion

u5, h5

Removed /sequence changed.

Refer to

HAL_FLASHEx_EnablePowerDown

u5

HAL_FLASH_ITF_EnablePWRDownSleepMode

Refer to

HAL_FLASHEx_EnableSecHideProtection

u5

HAL_FLASH_ITF_OB_SetHDPArea

Refer to

HAL_FLASHEx_Erase

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_Erase_IT

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_GetConfigBBAttributes

u5, h5

Removed / New Usage changes.

Refer to

HAL_FLASHEx_GetLowPowerRead

u5

HAL_FLASH_ITF_IsEnabledLowPWRReadMode

Refer to

HAL_FLASHEx_GetOperation

u5, h5

HAL_FLASH_GetInterruptedByResetOperationInfo

Refer to

HAL_FLASHEx_GetPrivMode

u5, h5

HAL_FLASH_ITF_GetPrivAttr

Refer to

HAL_FLASHEx_GetSecInversion

u5, h5

Removed /sequence changed.

Refer to

HAL_FLASHEx_OBGetConfig

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_OBProgram

u5, h5, c0, l4, f4, g0, g4, h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_ConfigHDPExtension

h5

Removed / New Usage changes.

Refer to

HAL_FLASHEx_OBK_Lock

h5

HAL_FLASH_ITF_OBK_Lock

Refer to

HAL_FLASHEx_OBK_Swap

h5

HAL_FLASH_ITF_OBK_SwapPage

Refer to

HAL_FLASHEx_OBK_Swap_IT

h5

HAL_FLASH_ITF_OBK_SwapPage_IT

Refer to

HAL_FLASHEx_OBK_Unlock

h5

HAL_FLASH_ITF_OBK_Unlock

Refer to

HAL_FLASHEx_DisableDebugger

c0, g0, g4

HAL_FLASHEx_EnableDebugger

Refer to

HAL_FLASHEx_EnableDebugger

c0, g0, g4

HAL_FLASH_ITF_EnableDebugAccess

Refer to

HAL_FLASHEx_EnableSecMemProtection

c0, g0, g4

HAL_FLASH_ITF_EnablePageSecProtection

Refer to

HAL_FLASHEx_FlashEmptyCheck

c0, g0

HAL_FLASH_ITF_GetEmptyBootLocation

Refer to

HAL_FLASHEx_ForceFlashEmpty

c0, g0

HAL_FLASH_ITF_GetEmptyBootLocation

Refer to

HAL_FLASHEx_ConfigLVEPin

l4

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_DisableRunPowerDown

l4, g4

HAL_FLASH_ITF_EnablePWRDownRunMode

Refer to

HAL_FLASHEx_EnableRunPowerDown

l4, g4

HAL_FLASH_ITF_EnablePWRDownRunMode

Refer to

HAL_FLASHEx_OB_DBankConfig

l4, g4

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_AdvOBGetConfig

f4

Removed / New Usage changes.

Refer to

HAL_FLASHEx_AdvOBProgram

f4

Removed / New Usage changes.

Refer to

HAL_FLASHEx_OB_DeSelectPCROP

f4

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_OB_GetBank2WRP

f4

HAL_FLASH_ITF_OB_GetWRPArea

Refer to

HAL_FLASHEx_OB_SelectPCROP

f4

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_DisableFlashSleepMode

f4

HAL_FLASH_ITF_DisablePWRDownSleepMode

Refer to

HAL_FLASHEx_EnableFlashSleepMode

f4

HAL_FLASH_ITF_EnablePWRDownSleepMode

Refer to

HAL_FLASHEx_StartFlashInterfaceClk

f4

Removed / New Usage changes.

Refer to

HAL_FLASHEx_StopFlashInterfaceClk

f4

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_BusFault_IRQHandler

h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_ComputeCRC

h7

Removed / New Usage changes.

Refer to

HAL_FLASHEx_DisableEccCorrectionInterrupt_Bank1

h7

HAL_FLASH_ITF_ECC_DisableSingleErrorIT

Refer to

HAL_FLASHEx_DisableEccCorrectionInterrupt_Bank2

h7

HAL_FLASH_ITF_ECC_DisableSingleErrorIT

Refer to

HAL_FLASHEx_DisableEccDetectionInterrupt

h7

HAL_FLASH_ITF_ECC_DisableIT

Refer to

HAL_FLASHEx_DisableEccDetectionInterrupt_Bank1

h7

HAL_FLASH_ITF_ECC_DisableDoubleErrorIT

Refer to

HAL_FLASHEx_DisableEccDetectionInterrupt_Bank2

h7

HAL_FLASH_ITF_ECC_DisableDoubleErrorIT

Refer to

HAL_FLASHEx_EnableEccCorrectionInterrupt_Bank1

h7

HAL_FLASH_ITF_ECC_EnableSingleErrorIT

Refer to

HAL_FLASHEx_EnableEccCorrectionInterrupt_Bank2

h7

HAL_FLASH_ITF_ECC_EnableSingleErrorIT

Refer to

HAL_FLASHEx_EnableEccDetectionInterrupt

h7

HAL_FLASH_ITF_ECC_EnableIT

Refer to

HAL_FLASHEx_EnableEccDetectionInterrupt_Bank1

h7

HAL_FLASH_ITF_ECC_EnableDoubleErrorIT

Refer to

HAL_FLASHEx_EnableEccDetectionInterrupt_Bank2

h7

HAL_FLASH_ITF_ECC_EnableDoubleErrorIT

Refer to

HAL_FLASHEx_Lock_Bank1

h7

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_Lock_Bank2

h7

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_Unlock_Bank1

h7

Not implemented yet in HAL2.

Refer to

HAL_FLASHEx_Unlock_Bank2

h7

Not implemented yet in HAL2.

Refer to


HAL FLASH legacy aliases (HAL1 to HAL1)

Note

This table provides a list of HAL1 to HAL1 legacy aliases defined in the stm32_hal_legacy.h HAL1 header file. To migrate the aliased HAL1 APIs, search for them in the HAL1 to HAL2 sections: HAL FLASH constants, HAL FLASH enumerations, HAL FLASH macros, HAL FLASH structures, HAL FLASH functions.

:header-rows: 1 :widths: 20 20

HAL1 legacy API alias

HAL1 API

WRPAREA_BANK1_AREAA

OB_WRPAREA_BANK1_AREAA

TYPEERASE_PAGEERASE

FLASH_TYPEERASE_PAGES

OB_BOOT_LOCK_ENABLE

OB_BOOT_ENTRY_FORCED_FLASH

WRPAREA_BANK2_AREAA

OB_WRPAREA_BANK2_AREAA

FLASH_ERROR_PG

HAL_FLASH_ERROR_PROG

OB_RDP_LEVEL2

OB_RDP_LEVEL_2

FLASH_OPTKEY2

FLASH_OPT_KEY2

TYPEPROGRAM_FASTBYTE

FLASH_TYPEPROGRAM_BYTE

TYPEPROGRAM_DOUBLEWORD

FLASH_TYPEPROGRAM_DOUBLEWORD

WRPSTATE_DISABLE

OB_WRPSTATE_DISABLE

WRPSTATE_ENABLE

OB_WRPSTATE_ENABLE

TYPEPROGRAM_BYTE

FLASH_TYPEPROGRAM_BYTE

FLASH_FLAG_WDW

FLASH_FLAG_WBNE

OB_WRP_SECTOR_All

OB_WRP_SECTOR_ALL

OB_USER_nRST_STOP

OB_USER_NRST_STOP

VOLTAGE_RANGE_4

FLASH_VOLTAGE_RANGE_4

FLASH_ERROR_PGS

HAL_FLASH_ERROR_PGS

FLASH_ERROR_OP

HAL_FLASH_ERROR_OPERATION

OB_RDP_LEVEL0

OB_RDP_LEVEL_0

FLASH_ERROR_PGP

HAL_FLASH_ERROR_PGS

IWDG_STOP_ACTIVE

OB_IWDG_STOP_RUN

OBEX_PCROP

OPTIONBYTE_PCROP

TYPEERASE_PAGES

FLASH_TYPEERASE_PAGES

OB_USER_nSWBOOT0

OB_USER_NSWBOOT0

IWDG_STDBY_ACTIVE

OB_IWDG_STDBY_RUN

OB_SRAM134_RST_ERASE

OB_SRAM_RST_ERASE

OBEX_BOOTCONFIG

OPTIONBYTE_BOOTCONFIG

OB_BOOT_ENTRY_FORCED_FLASH

OB_BOOT_LOCK_ENABLE

OB_WDG_HW

OB_IWDG_HW

OB_nBOOT0_RESET

OB_NBOOT0_RESET

FLASH_ERROR_FAST

HAL_FLASH_ERROR_FAST

TYPEPROGRAM_FAST_AND_LAST

FLASH_TYPEPROGRAM_FAST_AND_LAST

OB_BOOT_LOCK_DISABLE

OB_BOOT_ENTRY_FORCED_NONE

OB_USER_nBOOT_SEL

OB_USER_NBOOT_SEL

FLASH_ERROR_OPTV

HAL_FLASH_ERROR_OPTV

OB_USER_nBOOT1

OB_USER_NBOOT1

OB_RDP_LEVEL1

OB_RDP_LEVEL_1

WRPAREA_BANK1_AREAB

OB_WRPAREA_BANK1_AREAB

VOLTAGE_RANGE_3

FLASH_VOLTAGE_RANGE_3

OB_WDG_SW

OB_IWDG_SW

OB_USER_nRST_SHDW

OB_USER_NRST_SHDW

FLASH_ERROR_WRP

HAL_FLASH_ERROR_WRP

OB_BOOT_ENTRY_FORCED_NONE

OB_BOOT_LOCK_DISABLE

VOLTAGE_RANGE_1

FLASH_VOLTAGE_RANGE_1

FLASH_ERROR_MIS

HAL_FLASH_ERROR_MIS

FLASH_ERROR_RD

HAL_FLASH_ERROR_RD

IWDG_STOP_FREEZE

OB_IWDG_STOP_FREEZE

FLASH_ERROR_NONE

HAL_FLASH_ERROR_NONE

FLASH_ERROR_OPERATION

HAL_FLASH_ERROR_OPERATION

TYPEPROGRAM_FASTHALFWORD

FLASH_TYPEPROGRAM_HALFWORD

VOLTAGE_RANGE_2

FLASH_VOLTAGE_RANGE_2

TYPEERASE_SECTORS

FLASH_TYPEERASE_SECTORS

OB_USER_nRST_STDBY

OB_USER_NRST_STDBY

OB_nBOOT0_SET

OB_NBOOT0_SET

TYPEPROGRAM_FASTWORD

FLASH_TYPEPROGRAM_WORD

TYPEPROGRAM_FAST

FLASH_TYPEPROGRAM_FAST

OB_USER_SRAM134_RST

OB_USER_SRAM_RST

OB_USER_nBOOT0

OB_USER_NBOOT0

TYPEERASE_MASSERASE

FLASH_TYPEERASE_MASSERASE

TYPEPROGRAM_HALFWORD

FLASH_TYPEPROGRAM_HALFWORD

PCROPSTATE_DISABLE

OB_PCROP_STATE_DISABLE

PCROPSTATE_ENABLE

OB_PCROP_STATE_ENABLE

WRPAREA_BANK2_AREAB

OB_WRPAREA_BANK2_AREAB

FLASH_ERROR_PROG

HAL_FLASH_ERROR_PROG

FLASH_ERROR_PGA

HAL_FLASH_ERROR_PGA

FLASH_OPTKEY1

FLASH_OPT_KEY1

TYPEPROGRAM_WORD

FLASH_TYPEPROGRAM_WORD

OB_SRAM134_RST_NOT_ERASE

OB_SRAM_RST_NOT_ERASE

IWDG_STDBY_FREEZE

OB_IWDG_STDBY_FREEZE

FLASH_EnableRunPowerDown

HAL_FLASHEx_EnableRunPowerDown

FLASH_DisableRunPowerDown

HAL_FLASHEx_DisableRunPowerDown