Searched refs:sectorSize (Results 1 – 1 of 1) sorted by relevance
929 uint32_t sectorSize; in FLASH_Erase() local952 sectorSize = flashOperationInfo.activeSectorSize; in FLASH_Erase()959 if (endAddress % sectorSize) in FLASH_Erase()961 numberOfSectors = endAddress / sectorSize + 1; in FLASH_Erase()962 endAddress = numberOfSectors * sectorSize - 1; in FLASH_Erase()985 start += sectorSize; in FLASH_Erase()1169 uint32_t sectorSize; in FLASH_ProgramSection() local1190 sectorSize = flashOperationInfo.activeSectorSize; in FLASH_ProgramSection()1211 uint32_t endAddressOfCurrentSector = ALIGN_UP(start, sectorSize); in FLASH_ProgramSection()1217 endAddressOfCurrentSector += sectorSize; in FLASH_ProgramSection()