/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_flash.c | 121 FLASH_ProcessTypeDef pFlash; variable 175 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 247 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 272 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 280 if (pFlash.ProcedureOnGoing != FLASH_PROC_NONE) in HAL_FLASH_Program_IT() 300 pFlash.Address = Address; in HAL_FLASH_Program_IT() 301 pFlash.Data = Data; in HAL_FLASH_Program_IT() 305 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMHALFWORD; in HAL_FLASH_Program_IT() 307 pFlash.DataRemaining = 1U; in HAL_FLASH_Program_IT() 311 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMWORD; in HAL_FLASH_Program_IT() [all …]
|
D | stm32f1xx_hal_flash_ex.c | 57 extern FLASH_ProcessTypeDef pFlash; 165 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase() 303 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase() 324 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 327 if (pFlash.ProcedureOnGoing != FLASH_PROC_NONE) in HAL_FLASHEx_Erase_IT() 346 pFlash.ProcedureOnGoing = FLASH_PROC_MASSERASE; in HAL_FLASHEx_Erase_IT() 357 pFlash.ProcedureOnGoing = FLASH_PROC_PAGEERASE; in HAL_FLASHEx_Erase_IT() 358 pFlash.DataRemaining = pEraseInit->NbPages; in HAL_FLASHEx_Erase_IT() 359 pFlash.Address = pEraseInit->PageAddress; in HAL_FLASHEx_Erase_IT() 411 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASHEx_OBErase() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_flash.c | 118 FLASH_ProcessTypeDef pFlash; variable 172 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 217 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 242 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 251 pFlash.Address = Address; in HAL_FLASH_Program_IT() 252 pFlash.Data = Data; in HAL_FLASH_Program_IT() 256 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMHALFWORD; in HAL_FLASH_Program_IT() 258 pFlash.DataRemaining = 1U; in HAL_FLASH_Program_IT() 262 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMWORD; in HAL_FLASH_Program_IT() 264 pFlash.DataRemaining = 2U; in HAL_FLASH_Program_IT() [all …]
|
D | stm32f0xx_hal_flash_ex.c | 55 extern FLASH_ProcessTypeDef pFlash; 163 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase() 222 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase() 243 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 246 if (pFlash.ProcedureOnGoing != FLASH_PROC_NONE) in HAL_FLASHEx_Erase_IT() 260 pFlash.ProcedureOnGoing = FLASH_PROC_MASSERASE; in HAL_FLASHEx_Erase_IT() 271 pFlash.ProcedureOnGoing = FLASH_PROC_PAGEERASE; in HAL_FLASHEx_Erase_IT() 272 pFlash.DataRemaining = pEraseInit->NbPages; in HAL_FLASHEx_Erase_IT() 273 pFlash.Address = pEraseInit->PageAddress; in HAL_FLASHEx_Erase_IT() 325 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASHEx_OBErase() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_flash.c | 119 FLASH_ProcessTypeDef pFlash; variable 173 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 218 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 243 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 252 pFlash.Address = Address; in HAL_FLASH_Program_IT() 253 pFlash.Data = Data; in HAL_FLASH_Program_IT() 257 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMHALFWORD; in HAL_FLASH_Program_IT() 259 pFlash.DataRemaining = 1U; in HAL_FLASH_Program_IT() 263 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMWORD; in HAL_FLASH_Program_IT() 265 pFlash.DataRemaining = 2U; in HAL_FLASH_Program_IT() [all …]
|
D | stm32f3xx_hal_flash_ex.c | 55 extern FLASH_ProcessTypeDef pFlash; 163 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase() 222 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase() 243 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 246 if (pFlash.ProcedureOnGoing != FLASH_PROC_NONE) in HAL_FLASHEx_Erase_IT() 260 pFlash.ProcedureOnGoing = FLASH_PROC_MASSERASE; in HAL_FLASHEx_Erase_IT() 271 pFlash.ProcedureOnGoing = FLASH_PROC_PAGEERASE; in HAL_FLASHEx_Erase_IT() 272 pFlash.DataRemaining = pEraseInit->NbPages; in HAL_FLASHEx_Erase_IT() 273 pFlash.Address = pEraseInit->PageAddress; in HAL_FLASHEx_Erase_IT() 325 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASHEx_OBErase() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_flash.c | 114 FLASH_ProcessTypeDef pFlash; variable 167 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 189 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 298 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 330 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 333 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 360 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 364 pFlash.Address = FlashAddress; in HAL_FLASH_Program_IT() 370 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM_BANK1; in HAL_FLASH_Program_IT() 397 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM_BANK2; in HAL_FLASH_Program_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_flash.c | 116 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 175 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 185 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 192 pFlash.CacheToReactivate = FLASH_CACHE_DCACHE_ENABLED; in HAL_FLASH_Program() 196 pFlash.CacheToReactivate = FLASH_CACHE_DISABLED; in HAL_FLASH_Program() 235 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 259 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 261 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 268 pFlash.CacheToReactivate = FLASH_CACHE_DCACHE_ENABLED; in HAL_FLASH_Program_IT() 272 pFlash.CacheToReactivate = FLASH_CACHE_DISABLED; in HAL_FLASH_Program_IT() [all …]
|
D | stm32l4xx_hal_flash_ex.c | 131 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase() 141 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASHEx_Erase() 150 pFlash.CacheToReactivate = FLASH_CACHE_ICACHE_DCACHE_ENABLED; in HAL_FLASHEx_Erase() 154 pFlash.CacheToReactivate = FLASH_CACHE_ICACHE_ENABLED; in HAL_FLASHEx_Erase() 161 pFlash.CacheToReactivate = FLASH_CACHE_DCACHE_ENABLED; in HAL_FLASHEx_Erase() 165 pFlash.CacheToReactivate = FLASH_CACHE_DISABLED; in HAL_FLASHEx_Erase() 216 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase() 233 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 238 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASHEx_Erase_IT() 247 pFlash.CacheToReactivate = FLASH_CACHE_ICACHE_DCACHE_ENABLED; in HAL_FLASHEx_Erase_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_flash.c | 187 FLASH_ProcessTypeDef pFlash; variable 233 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 245 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 255 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 275 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 284 pFlash.Address = Address; in HAL_FLASH_Program_IT() 285 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM; in HAL_FLASH_Program_IT() 287 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 323 if(pFlash.ProcedureOnGoing == FLASH_PROC_PAGEERASE) in HAL_FLASH_IRQHandler() 326 addresstmp = pFlash.Page; in HAL_FLASH_IRQHandler() [all …]
|
D | stm32l0xx_hal_flash_ex.c | 172 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase() 212 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase() 235 if (pFlash.ProcedureOnGoing != FLASH_PROC_NONE) in HAL_FLASHEx_Erase_IT() 247 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 257 pFlash.ProcedureOnGoing = FLASH_PROC_PAGEERASE; in HAL_FLASHEx_Erase_IT() 258 pFlash.NbPagesToErase = pEraseInit->NbPages; in HAL_FLASHEx_Erase_IT() 259 pFlash.Page = pEraseInit->PageAddress; in HAL_FLASHEx_Erase_IT() 267 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 327 __HAL_LOCK(&pFlash); in HAL_FLASHEx_OBProgram() 344 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_OBProgram() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_flash.c | 187 FLASH_ProcessTypeDef pFlash; variable 234 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 246 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 256 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 276 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 285 pFlash.Address = Address; in HAL_FLASH_Program_IT() 286 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM; in HAL_FLASH_Program_IT() 288 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 318 if(pFlash.ProcedureOnGoing == FLASH_PROC_PAGEERASE) in HAL_FLASH_IRQHandler() 321 addresstmp = pFlash.Page; in HAL_FLASH_IRQHandler() [all …]
|
D | stm32l1xx_hal_flash_ex.c | 63 extern FLASH_ProcessTypeDef pFlash; 191 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase() 218 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase() 231 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase() 261 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase() 286 if (pFlash.ProcedureOnGoing != FLASH_PROC_NONE) in HAL_FLASHEx_Erase_IT() 298 __HAL_LOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 311 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 324 __HAL_UNLOCK(&pFlash); in HAL_FLASHEx_Erase_IT() 338 pFlash.ProcedureOnGoing = FLASH_PROC_PAGEERASE; in HAL_FLASHEx_Erase_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_flash.c | 120 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, variable 182 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 189 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 224 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 249 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 252 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 260 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 267 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM_LAST; in HAL_FLASH_Program_IT() 271 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM; in HAL_FLASH_Program_IT() 273 pFlash.Address = Address; in HAL_FLASH_Program_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_flash.c | 104 FLASH_ProcessTypeDef pFlash; variable 159 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 198 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 217 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 228 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM; in HAL_FLASH_Program_IT() 229 pFlash.Address = Address; in HAL_FLASH_Program_IT() 272 if(pFlash.ProcedureOnGoing == FLASH_PROC_SECTERASE) in HAL_FLASH_IRQHandler() 275 addresstmp = pFlash.Sector; in HAL_FLASH_IRQHandler() 276 pFlash.Sector = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler() 278 else if(pFlash.ProcedureOnGoing == FLASH_PROC_MASSERASE) in HAL_FLASH_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_flash.c | 106 FLASH_ProcessTypeDef pFlash; variable 162 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 201 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 220 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 231 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM; in HAL_FLASH_Program_IT() 232 pFlash.Address = Address; in HAL_FLASH_Program_IT() 270 if(pFlash.ProcedureOnGoing == FLASH_PROC_SECTERASE) in HAL_FLASH_IRQHandler() 273 addresstmp = pFlash.Sector; in HAL_FLASH_IRQHandler() 274 pFlash.Sector = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler() 276 else if(pFlash.ProcedureOnGoing == FLASH_PROC_MASSERASE) in HAL_FLASH_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_flash.c | 112 FLASH_ProcessTypeDef pFlash; variable 167 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 217 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 236 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 251 pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAM; in HAL_FLASH_Program_IT() 252 pFlash.Address = Address; in HAL_FLASH_Program_IT() 313 switch (pFlash.ProcedureOnGoing) in HAL_FLASH_IRQHandler() 318 pFlash.NbSectorsToErase--; in HAL_FLASH_IRQHandler() 321 if(pFlash.NbSectorsToErase != 0) in HAL_FLASH_IRQHandler() 323 temp = pFlash.Sector; in HAL_FLASH_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_flash.c | 109 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 171 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 174 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 182 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program() 206 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 232 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 235 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 243 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 248 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program_IT() 249 pFlash.Address = Address; in HAL_FLASH_Program_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_flash.c | 109 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 172 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 175 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 207 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 234 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 237 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 245 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 250 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program_IT() 251 pFlash.Address = Address; in HAL_FLASH_Program_IT() 292 if ((pFlash.ProcedureOnGoing & FLASH_TYPEERASE_MASS) != 0x00U) in HAL_FLASH_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_flash.c | 109 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 170 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 173 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 205 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 231 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 234 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 242 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 247 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program_IT() 248 pFlash.Address = Address; in HAL_FLASH_Program_IT() 287 CLEAR_BIT(FLASH->CR, pFlash.ProcedureOnGoing); in HAL_FLASH_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_flash.c | 124 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 188 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 191 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 227 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 256 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 259 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 267 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 272 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program_IT() 273 pFlash.Address = Address; in HAL_FLASH_Program_IT() 315 CLEAR_BIT(FLASH->C2CR, pFlash.ProcedureOnGoing); in HAL_FLASH_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_flash.c | 108 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 167 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 170 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 177 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program() 187 CLEAR_BIT((*reg), (pFlash.ProcedureOnGoing & ~(FLASH_NON_SECURE_MASK))); in HAL_FLASH_Program() 191 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 215 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 218 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 226 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 231 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_flash.c | 123 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 187 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 190 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 222 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 251 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 254 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 262 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 267 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program_IT() 268 pFlash.Address = Address; in HAL_FLASH_Program_IT() 308 CLEAR_BIT(FLASH->CR, pFlash.ProcedureOnGoing); in HAL_FLASH_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_flash.c | 107 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 174 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 177 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 185 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program() 250 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 275 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 278 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 286 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 291 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program_IT() 292 pFlash.Address = FlashAddress; in HAL_FLASH_Program_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_flash.c | 117 FLASH_ProcessTypeDef pFlash = {.Lock = HAL_UNLOCKED, \ variable 180 __HAL_LOCK(&pFlash); in HAL_FLASH_Program() 183 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program() 191 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program() 219 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program() 246 __HAL_LOCK(&pFlash); in HAL_FLASH_Program_IT() 249 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT() 257 __HAL_UNLOCK(&pFlash); in HAL_FLASH_Program_IT() 262 pFlash.ProcedureOnGoing = TypeProgram; in HAL_FLASH_Program_IT() 263 pFlash.Address = Address; in HAL_FLASH_Program_IT() [all …]
|