Home
last modified time | relevance | path

Searched refs:Banks (Results 1 – 25 of 35) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_flash_ex.c114 static void FLASH_MassErase(uint32_t VoltageRange, uint32_t Banks);
115 static void FLASH_OB_EnableWRP(uint32_t WRPSector, uint32_t Banks);
120 …CROPConfig(uint32_t PCROConfigRDP, uint32_t PCROPStartAddr, uint32_t PCROPEndAddr, uint32_t Banks);
128 …nt32_t SecureAreaConfig, uint32_t SecureAreaStartAddr, uint32_t SecureAreaEndAddr, uint32_t Banks);
193 assert_param(IS_FLASH_BANK(pEraseInit->Banks)); in HAL_FLASHEx_Erase()
202 if((pEraseInit->Banks & FLASH_BANK_1) == FLASH_BANK_1) in HAL_FLASHEx_Erase()
212 if((pEraseInit->Banks & FLASH_BANK_2) == FLASH_BANK_2) in HAL_FLASHEx_Erase()
226 FLASH_MassErase(pEraseInit->VoltageRange, pEraseInit->Banks); in HAL_FLASHEx_Erase()
229 if((pEraseInit->Banks & FLASH_BANK_1) == FLASH_BANK_1) in HAL_FLASHEx_Erase()
240 if((pEraseInit->Banks & FLASH_BANK_2) == FLASH_BANK_2) in HAL_FLASHEx_Erase()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_flash_ex.c108 static void FLASH_MassErase(uint32_t Banks);
112 static void FLASH_OB_EnableWRP(uint32_t WRPSector, uint32_t Banks);
124 static void FLASH_OB_HDPConfig(uint32_t Banks, uint32_t HDPStartSector, uint32_t HDPEndSector);
127 static void FLASH_OB_EDATAConfig(uint32_t Banks, uint32_t EDATASize);
131 static void FLASH_OB_WMSECConfig(uint32_t Banks, uint32_t WMSecStartSector, uint32_t WMSecEndSector…
201 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase()
225 FLASH_Erase_Sector(sector_index, pEraseInit->Banks); in HAL_FLASHEx_Erase()
278 pFlash.Bank = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
300 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
316 FLASH_Erase_Sector(pEraseInit->Sector, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_flash_ex.c100 static void FLASH_MassErase(uint8_t VoltageRange, uint32_t Banks);
101 static HAL_StatusTypeDef FLASH_OB_EnableWRP(uint32_t WRPSector, uint32_t Banks);
102 static HAL_StatusTypeDef FLASH_OB_DisableWRP(uint32_t WRPSector, uint32_t Banks);
120 …HAL_StatusTypeDef FLASH_OB_EnablePCROP(uint32_t SectorBank1, uint32_t SectorBank2, uint32_t Banks);
121 …AL_StatusTypeDef FLASH_OB_DisablePCROP(uint32_t SectorBank1, uint32_t SectorBank2, uint32_t Banks);
182 FLASH_MassErase((uint8_t) pEraseInit->VoltageRange, pEraseInit->Banks); in HAL_FLASHEx_Erase()
252 pFlash.Bank = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
253 FLASH_MassErase((uint8_t) pEraseInit->VoltageRange, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
298 status = FLASH_OB_EnableWRP(pOBInit->WRPSector, pOBInit->Banks); in HAL_FLASHEx_OBProgram()
303 status = FLASH_OB_DisableWRP(pOBInit->WRPSector, pOBInit->Banks); in HAL_FLASHEx_OBProgram()
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_flash_ex.c87 static void FLASH_MassErase(uint8_t VoltageRange, uint32_t Banks);
88 static HAL_StatusTypeDef FLASH_OB_EnableWRP(uint32_t WRPSector, uint32_t Banks);
89 static HAL_StatusTypeDef FLASH_OB_DisableWRP(uint32_t WRPSector, uint32_t Banks);
155 FLASH_MassErase((uint8_t) pEraseInit->VoltageRange, pEraseInit->Banks); in HAL_FLASHEx_Erase()
225 pFlash.Bank = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
226 FLASH_MassErase((uint8_t) pEraseInit->VoltageRange, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
271 status = FLASH_OB_EnableWRP(pOBInit->WRPSector, pOBInit->Banks); in HAL_FLASHEx_OBProgram()
276 status = FLASH_OB_DisableWRP(pOBInit->WRPSector, pOBInit->Banks); in HAL_FLASHEx_OBProgram()
432 static void FLASH_MassErase(uint8_t VoltageRange, uint32_t Banks) in FLASH_MassErase() argument
435 UNUSED(Banks); in FLASH_MassErase()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_flash_ex.c92 static void FLASH_MassErase(uint32_t Banks);
175 pEraseInit->Banks = FLASH_BANK_1; in HAL_FLASHEx_Erase()
181 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase()
194 FLASH_PageErase(pEraseInit->Banks, index); in HAL_FLASHEx_Erase()
254 pEraseInit->Banks = FLASH_BANK_1; in HAL_FLASHEx_Erase_IT()
257 pFlash.Banks = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
268 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
277 FLASH_PageErase(pEraseInit->Banks, pEraseInit->Page); in HAL_FLASHEx_Erase_IT()
524 void HAL_FLASHEx_EnableSecMemProtection(uint32_t Banks) in HAL_FLASHEx_EnableSecMemProtection() argument
527 assert_param(IS_FLASH_BANK(Banks)); in HAL_FLASHEx_EnableSecMemProtection()
[all …]
Dstm32g0xx_hal_flash.c113 .Banks = 0U, \
295 param = pFlash.Banks; in HAL_FLASH_IRQHandler()
346 FLASH_PageErase(pFlash.Banks, pFlash.Page); in HAL_FLASH_IRQHandler()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_flash_ex.c124 static void FLASH_MassErase(uint32_t Banks);
209 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase()
221 FLASH_PageErase(page_index, pEraseInit->Banks); in HAL_FLASHEx_Erase()
278 pFlash.Bank = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
289 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
298 FLASH_PageErase(pEraseInit->Page, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
597 void HAL_FLASHEx_EnableSecHideProtection(uint32_t Banks) in HAL_FLASHEx_EnableSecHideProtection() argument
600 assert_param(IS_FLASH_BANK(Banks)); in HAL_FLASHEx_EnableSecHideProtection()
602 if ((Banks & FLASH_BANK_1) != 0U) in HAL_FLASHEx_EnableSecHideProtection()
607 if ((Banks & FLASH_BANK_2) != 0U) in HAL_FLASHEx_EnableSecHideProtection()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_flash_ex.c116 static void FLASH_MassErase(uint32_t Banks);
195 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase()
207 FLASH_PageErase(page_index, pEraseInit->Banks); in HAL_FLASHEx_Erase()
264 pFlash.Bank = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
275 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
284 FLASH_PageErase(pEraseInit->Page, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
538 void HAL_FLASHEx_EnableSecHideProtection(uint32_t Banks) in HAL_FLASHEx_EnableSecHideProtection() argument
541 assert_param(IS_FLASH_BANK(Banks)); in HAL_FLASHEx_EnableSecHideProtection()
543 if ((Banks & FLASH_BANK_1) != 0U) in HAL_FLASHEx_EnableSecHideProtection()
547 if((Banks & FLASH_BANK_2) != 0U) in HAL_FLASHEx_EnableSecHideProtection()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_flash_ex.c92 static void FLASH_MassErase(uint32_t Banks);
184 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase()
204 FLASH_PageErase(page_index, pEraseInit->Banks); in HAL_FLASHEx_Erase()
277 pFlash.Bank = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
283 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
293 FLASH_PageErase(pEraseInit->Page, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
537 static void FLASH_MassErase(uint32_t Banks) in FLASH_MassErase() argument
544 assert_param(IS_FLASH_BANK(Banks)); in FLASH_MassErase()
547 if ((Banks & FLASH_BANK_1) != 0U) in FLASH_MassErase()
554 if ((Banks & FLASH_BANK_2) != 0U) in FLASH_MassErase()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_flash_ex.c82 static void FLASH_MassErase(uint32_t Banks);
171 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase()
194 FLASH_PageErase(page_index, pEraseInit->Banks); in HAL_FLASHEx_Erase()
268 pFlash.Bank = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
274 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
284 FLASH_PageErase(pEraseInit->Page, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
504 static void FLASH_MassErase(uint32_t Banks) in FLASH_MassErase() argument
511 assert_param(IS_FLASH_BANK(Banks)); in FLASH_MassErase()
514 if((Banks & FLASH_BANK_1) != 0U) in FLASH_MassErase()
524 if((Banks & FLASH_BANK_2) != 0U) in FLASH_MassErase()
[all …]
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_flash_ex.c95 static void FLASH_MassErase(uint32_t Banks);
171 if (pEraseInit->Banks == FLASH_BANK_BOTH) in HAL_FLASHEx_Erase()
193 else if (pEraseInit->Banks == FLASH_BANK_2) in HAL_FLASHEx_Erase()
342 FLASH_MassErase(pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
590 static void FLASH_MassErase(uint32_t Banks) in FLASH_MassErase() argument
593 assert_param(IS_FLASH_BANK(Banks)); in FLASH_MassErase()
599 if(Banks == FLASH_BANK_BOTH) in FLASH_MassErase()
607 else if(Banks == FLASH_BANK_2) in FLASH_MassErase()
618 UNUSED(Banks); in FLASH_MassErase()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_flash_ex.c106 static void FLASH_MassErase(uint8_t VoltageRange, uint32_t Banks);
179 FLASH_MassErase((uint8_t) pEraseInit->VoltageRange, pEraseInit->Banks); in HAL_FLASHEx_Erase()
254 FLASH_MassErase((uint8_t) pEraseInit->VoltageRange, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT()
440 static void FLASH_MassErase(uint8_t VoltageRange, uint32_t Banks) in FLASH_MassErase() argument
444 assert_param(IS_FLASH_BANK(Banks)); in FLASH_MassErase()
448 if(Banks == FLASH_BANK_BOTH) in FLASH_MassErase()
453 else if(Banks == FLASH_BANK_2) in FLASH_MassErase()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_flash_ex.c159 pEraseInit->Banks = FLASH_BANK_1; in HAL_FLASHEx_Erase()
235 pEraseInit->Banks = FLASH_BANK_1; in HAL_FLASHEx_Erase_IT()
237 pFlash.Banks = pEraseInit->Banks; in HAL_FLASHEx_Erase_IT()
772 void HAL_FLASHEx_EnableHDPProtection(uint32_t Banks) in HAL_FLASHEx_EnableHDPProtection() argument
774 assert_param(IS_FLASH_BANK(Banks)); in HAL_FLASHEx_EnableHDPProtection()
Dstm32u0xx_hal_flash.c114 .Banks = 0U, \
296 param = pFlash.Banks; in HAL_FLASH_IRQHandler()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_hal_flash_ex.h171 void HAL_FLASHEx_EnableSecHideProtection(uint32_t Banks);
186 HAL_StatusTypeDef HAL_FLASHEx_EnablePowerDown(uint32_t Banks);
202 void FLASH_PageErase(uint32_t Page, uint32_t Banks);
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_flash_ex.h51 uint32_t Banks; /*!< Select banks to erase when Mass erase is enabled. member
94 uint32_t Banks; /*!< Select banks for WRP , HDP and secure area configuration. member
168 uint32_t Banks; /*!< Selection of the associated bank of HDP Area. member
1051 void FLASH_Erase_Sector(uint32_t Sector, uint32_t Banks);
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_hal_flash_ex.h71 void HAL_FLASHEx_EnableSecMemProtection(uint32_t Banks);
98 void FLASH_PageErase(uint32_t Banks, uint32_t Page);
Dstm32g0xx_hal_flash.h49 uint32_t Banks; /*!< Select bank to erase. member
142 …uint32_t Banks; /* Internal variable to save current bank selected during era… member
/hal_stm32-latest/lib/stm32wba/BLE_TransparentMode/System/Modules/Flash/
Dflash_driver.c139 p_erase_init.Banks = FLASH_BANK_2; in FD_EraseSectors()
143 p_erase_init.Banks = FLASH_BANK_1; in FD_EraseSectors()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_hal_flash_ex.h133 void HAL_FLASHEx_EnableSecHideProtection(uint32_t Banks);
163 void FLASH_PageErase(uint32_t Page, uint32_t Banks);
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_flash_ex.h50 uint32_t Banks; /*!< Select banks to erase when Mass erase is enabled. member
91 uint32_t Banks; /*!< Select banks for WRP , PCROP and secure area config . member
1053 void FLASH_Erase_Sector(uint32_t Sector, uint32_t Banks, uint32_t VoltageRange);
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_hal_flash_ex.h50 uint32_t Banks; /*!< Select banks to erase when Mass erase is enabled. member
78 uint32_t Banks; /*!< Select banks for WRP activation/deactivation of all sectors. member
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_hal_flash_ex.h50 uint32_t Banks; /*!< Select banks to erase when Mass erase is enabled. member
78 uint32_t Banks; /*!< Select banks for WRP activation/deactivation of all sectors. member
115 uint32_t Banks; /*!< Select banks for PCROP activation/deactivation of all sectors. member
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/
Dstm32u0xx_hal_flash.h49 uint32_t Banks; /*!< Select bank to erase. member
113 …uint32_t Banks; /* Internal variable to save current bank selected during erase… member
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_hal_flash_ex.h173 uint32_t Banks; /*!< Select banks to erase when Mass erase is enabled. member
199 uint32_t Banks; /*!< Select banks for WRP activation/deactivation of all sectors. member

12