/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_flash_ex.c | 114 static HAL_StatusTypeDef FLASH_OB_EnablePCROP(uint32_t Sector); 115 static HAL_StatusTypeDef FLASH_OB_DisablePCROP(uint32_t Sector); 193 assert_param(IS_FLASH_NBSECTORS(pEraseInit->NbSectors + pEraseInit->Sector)); in HAL_FLASHEx_Erase() 196 … for (index = pEraseInit->Sector; index < (pEraseInit->NbSectors + pEraseInit->Sector); index++) in HAL_FLASHEx_Erase() 260 assert_param(IS_FLASH_NBSECTORS(pEraseInit->NbSectors + pEraseInit->Sector)); in HAL_FLASHEx_Erase_IT() 264 pFlash.Sector = pEraseInit->Sector; in HAL_FLASHEx_Erase_IT() 268 FLASH_Erase_Sector(pEraseInit->Sector, pEraseInit->VoltageRange); in HAL_FLASHEx_Erase_IT() 581 void FLASH_Erase_Sector(uint32_t Sector, uint8_t VoltageRange) in FLASH_Erase_Sector() argument 586 assert_param(IS_FLASH_SECTOR(Sector)); in FLASH_Erase_Sector() 607 if (Sector > FLASH_SECTOR_11) in FLASH_Erase_Sector() [all …]
|
D | stm32f4xx_hal_flash.c | 272 addresstmp = pFlash.Sector; in HAL_FLASH_IRQHandler() 273 pFlash.Sector = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler() 310 addresstmp = pFlash.Sector; in HAL_FLASH_IRQHandler() 315 pFlash.Sector++; in HAL_FLASH_IRQHandler() 316 addresstmp = pFlash.Sector; in HAL_FLASH_IRQHandler() 323 pFlash.Sector = addresstmp = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler()
|
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_flash_ex.c | 193 assert_param(IS_FLASH_NBSECTORS(pEraseInit->NbSectors + pEraseInit->Sector)); in HAL_FLASHEx_Erase() 196 for(index = pEraseInit->Sector; index < (pEraseInit->NbSectors + pEraseInit->Sector); index++) in HAL_FLASHEx_Erase() 264 assert_param(IS_FLASH_NBSECTORS(pEraseInit->NbSectors + pEraseInit->Sector)); in HAL_FLASHEx_Erase_IT() 268 pFlash.Sector = pEraseInit->Sector; in HAL_FLASHEx_Erase_IT() 272 FLASH_Erase_Sector(pEraseInit->Sector, pEraseInit->VoltageRange); in HAL_FLASHEx_Erase_IT() 486 void FLASH_Erase_Sector(uint32_t Sector, uint8_t VoltageRange) in FLASH_Erase_Sector() argument 491 assert_param(IS_FLASH_SECTOR(Sector)); in FLASH_Erase_Sector() 512 if(Sector > FLASH_SECTOR_11) in FLASH_Erase_Sector() 514 Sector += 4; in FLASH_Erase_Sector() 521 FLASH->CR |= FLASH_CR_SER | (Sector << FLASH_CR_SNB_Pos); in FLASH_Erase_Sector() [all …]
|
D | stm32f7xx_hal_flash.c | 323 temp = pFlash.Sector; in HAL_FLASH_IRQHandler() 328 temp = ++pFlash.Sector; in HAL_FLASH_IRQHandler() 335 pFlash.Sector = temp = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler() 376 temp = pFlash.Sector; in HAL_FLASH_IRQHandler() 377 pFlash.Sector = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler()
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_flash.c | 493 HAL_FLASH_EndOfOperationCallback(pFlash.Sector); in HAL_FLASH_IRQHandler() 499 pFlash.Sector++; in HAL_FLASH_IRQHandler() 500 temp = pFlash.Sector; in HAL_FLASH_IRQHandler() 507 pFlash.Sector = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler() 511 HAL_FLASH_EndOfOperationCallback(pFlash.Sector); in HAL_FLASH_IRQHandler() 562 HAL_FLASH_EndOfOperationCallback(pFlash.Sector); in HAL_FLASH_IRQHandler() 568 pFlash.Sector++; in HAL_FLASH_IRQHandler() 569 temp = pFlash.Sector; in HAL_FLASH_IRQHandler() 576 pFlash.Sector = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler() 580 HAL_FLASH_EndOfOperationCallback(pFlash.Sector); in HAL_FLASH_IRQHandler() [all …]
|
D | stm32h7xx_hal_flash_ex.c | 130 static void FLASH_CRC_AddSector(uint32_t Sector, uint32_t Bank); 257 …for(sector_index = pEraseInit->Sector; sector_index < (pEraseInit->NbSectors + pEraseInit->Sector)… in HAL_FLASHEx_Erase() 406 pFlash.Sector = pEraseInit->Sector; in HAL_FLASHEx_Erase_IT() 410 FLASH_Erase_Sector(pEraseInit->Sector, pEraseInit->Banks, pEraseInit->VoltageRange); in HAL_FLASHEx_Erase_IT() 741 …for(sector_index = pCRCInit->Sector; sector_index < (pCRCInit->NbSectors + pCRCInit->Sector); sect… in HAL_FLASHEx_ComputeCRC() 790 …for(sector_index = pCRCInit->Sector; sector_index < (pCRCInit->NbSectors + pCRCInit->Sector); sect… in HAL_FLASHEx_ComputeCRC() 1180 void FLASH_Erase_Sector(uint32_t Sector, uint32_t Banks, uint32_t VoltageRange) in FLASH_Erase_Sector() argument 1182 assert_param(IS_FLASH_SECTOR(Sector)); in FLASH_Erase_Sector() 1196 FLASH->CR1 |= (FLASH_CR_SER | VoltageRange | (Sector << FLASH_CR_SNB_Pos) | FLASH_CR_START); in FLASH_Erase_Sector() 1201 FLASH->CR1 |= (FLASH_CR_SER | (Sector << FLASH_CR_SNB_Pos) | FLASH_CR_START); in FLASH_Erase_Sector() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_hal_flash_ex.c | 128 static void FLASH_CRC_AddSector(uint32_t Sector); 197 …for (sector_index = pEraseInit->Sector; sector_index < (pEraseInit->Sector + pEraseInit->NbSectors… in HAL_FLASHEx_Erase() 269 pFlash.Sector = pEraseInit->Sector; in HAL_FLASHEx_Erase_IT() 272 FLASH_SectorErase(pEraseInit->Sector); in HAL_FLASHEx_Erase_IT() 688 …for (sector_index = pCRCInit->Sector; sector_index < (pCRCInit->NbSectors + pCRCInit->Sector); sec… in HAL_FLASHEx_ComputeCRC() 899 void FLASH_SectorErase(uint32_t Sector) in FLASH_SectorErase() argument 902 assert_param(IS_FLASH_SECTOR(Sector)); in FLASH_SectorErase() 906 ((Sector << FLASH_CR_SSN_Pos) | FLASH_CR_SER | FLASH_CR_START)); in FLASH_SectorErase() 1237 static void FLASH_CRC_AddSector(uint32_t Sector) in FLASH_CRC_AddSector() argument 1240 assert_param(IS_FLASH_SECTOR(Sector)); in FLASH_CRC_AddSector() [all …]
|
D | stm32h7rsxx_hal_flash.c | 106 .Sector = 0U, \ 338 param = pFlash.Sector; in HAL_FLASH_IRQHandler() 384 pFlash.Sector++; in HAL_FLASH_IRQHandler() 385 FLASH_SectorErase(pFlash.Sector); in HAL_FLASH_IRQHandler()
|
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_flash_ex.c | 166 assert_param(IS_FLASH_NBSECTORS(pEraseInit->NbSectors + pEraseInit->Sector)); in HAL_FLASHEx_Erase() 169 for(index = pEraseInit->Sector; index < (pEraseInit->NbSectors + pEraseInit->Sector); index++) in HAL_FLASHEx_Erase() 233 assert_param(IS_FLASH_NBSECTORS(pEraseInit->NbSectors + pEraseInit->Sector)); in HAL_FLASHEx_Erase_IT() 237 pFlash.Sector = pEraseInit->Sector; in HAL_FLASHEx_Erase_IT() 241 FLASH_Erase_Sector(pEraseInit->Sector, pEraseInit->VoltageRange); in HAL_FLASHEx_Erase_IT() 351 void FLASH_Erase_Sector(uint32_t Sector, uint8_t VoltageRange) in FLASH_Erase_Sector() argument 356 assert_param(IS_FLASH_SECTOR(Sector)); in FLASH_Erase_Sector() 380 FLASH->CR |= FLASH_CR_SER | (Sector << POSITION_VAL(FLASH_CR_SNB)); in FLASH_Erase_Sector()
|
D | stm32f2xx_hal_flash.c | 270 addresstmp = pFlash.Sector; in HAL_FLASH_IRQHandler() 271 pFlash.Sector = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler() 308 addresstmp = pFlash.Sector; in HAL_FLASH_IRQHandler() 313 pFlash.Sector++; in HAL_FLASH_IRQHandler() 314 addresstmp = pFlash.Sector; in HAL_FLASH_IRQHandler() 321 pFlash.Sector = addresstmp = 0xFFFFFFFFU; in HAL_FLASH_IRQHandler()
|
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_flash_ex.c | 222 …for (sector_index = pEraseInit->Sector; sector_index < (pEraseInit->NbSectors + pEraseInit->Sector… in HAL_FLASHEx_Erase() 313 pFlash.Sector = pEraseInit->Sector; in HAL_FLASHEx_Erase_IT() 316 FLASH_Erase_Sector(pEraseInit->Sector, pEraseInit->Banks); in HAL_FLASHEx_Erase_IT() 992 void FLASH_Erase_Sector(uint32_t Sector, uint32_t Banks) in FLASH_Erase_Sector() argument 997 assert_param(IS_FLASH_SECTOR(Sector)); in FLASH_Erase_Sector() 1012 (*reg_cr) |= (FLASH_CR_SER | (Sector << FLASH_CR_SNB_Pos) | FLASH_CR_START); in FLASH_Erase_Sector() 1019 (*reg_cr) |= (FLASH_CR_SER | FLASH_CR_BKSEL | (Sector << FLASH_CR_SNB_Pos) | FLASH_CR_START); in FLASH_Erase_Sector()
|
D | stm32h5xx_hal_flash.c | 112 .Sector = 0U, \ 399 param = pFlash.Sector; in HAL_FLASH_IRQHandler() 454 pFlash.Sector++; in HAL_FLASH_IRQHandler() 455 FLASH_Erase_Sector(pFlash.Sector, pFlash.Bank); in HAL_FLASH_IRQHandler()
|
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_flash_ex.c | 109 static HAL_StatusTypeDef FLASH_OB_ProtectedSectorsConfig(uint32_t Sector, uint32_t Sector2, uint32… 111 static HAL_StatusTypeDef FLASH_OB_ProtectedSectorsConfig(uint32_t Sector, uint32_t NewState); 1025 static HAL_StatusTypeDef FLASH_OB_ProtectedSectorsConfig(uint32_t Sector, uint32_t Sector2, uint32_… in FLASH_OB_ProtectedSectorsConfig() argument 1036 static HAL_StatusTypeDef FLASH_OB_ProtectedSectorsConfig(uint32_t Sector, uint32_t NewState) in FLASH_OB_ProtectedSectorsConfig() 1041 uint32_t OB_WRP = Sector; in FLASH_OB_ProtectedSectorsConfig()
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/ |
D | stm32h7rsxx_hal_flash_ex.h | 66 uint32_t Sector; /*!< Initial FLASH sector from which starts the CRC computation member 221 void FLASH_SectorErase(uint32_t Sector);
|
D | stm32h7rsxx_hal_flash.h | 50 uint32_t Sector; /*!< Initial Flash sector to erase when sector erase is enabled member 106 …uint32_t Sector; /* Internal variable to define the current sector which … member
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/ |
D | stm32h7xx_hal_flash_ex.h | 53 uint32_t Sector; /*!< Initial FLASH sector to erase when Mass erase is disabled member 165 uint32_t Sector; /*!< Initial FLASH sector from which starts the CRC computation member 1053 void FLASH_Erase_Sector(uint32_t Sector, uint32_t Banks, uint32_t VoltageRange);
|
D | stm32h7xx_hal_flash.h | 69 …__IO uint32_t Sector; /*!< Internal variable to define the current secto… member
|
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/ |
D | stm32f2xx_hal_flash_ex.h | 53 uint32_t Sector; /*!< Initial FLASH sector to erase when Mass erase is disabled member 387 void FLASH_Erase_Sector(uint32_t Sector, uint8_t VoltageRange);
|
D | stm32f2xx_hal_flash.h | 64 …__IO uint32_t Sector; /*Internal variable to define the current sector w… member
|
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/ |
D | stm32f7xx_hal_flash_ex.h | 55 uint32_t Sector; /*!< Initial FLASH sector to erase when Mass erase is disabled member 679 void FLASH_Erase_Sector(uint32_t Sector, uint8_t VoltageRange);
|
D | stm32f7xx_hal_flash.h | 65 …__IO uint32_t Sector; /* Internal variable to define the current sector … member
|
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/ |
D | stm32h5xx_hal_flash_ex.h | 55 uint32_t Sector; /*!< Initial FLASH sector to erase when Mass erase is disabled member 1051 void FLASH_Erase_Sector(uint32_t Sector, uint32_t Banks);
|
D | stm32h5xx_hal_flash.h | 60 …uint32_t Sector; /*!< Internal variable to define the current sector whi… member
|
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/ |
D | stm32f4xx_hal_flash_ex.h | 53 uint32_t Sector; /*!< Initial FLASH sector to erase when Mass erase is disabled member 1044 void FLASH_Erase_Sector(uint32_t Sector, uint8_t VoltageRange);
|
D | stm32f4xx_hal_flash.h | 64 …__IO uint32_t Sector; /*Internal variable to define the current sector w… member
|