Searched refs:eepromParams_SectorSize (Results 1 – 1 of 1) sorted by relevance
42 uint32_t eepromParams_SectorSize; member63 startBlk = addr / s_eeState.eepromParams_SectorSize; in EEPROM_CleanEraseFlag()64 endBlk = (addr + noOfBytes) / s_eeState.eepromParams_SectorSize; in EEPROM_CleanEraseFlag()66 if ((addr + noOfBytes) & s_eeState.eepromParams_SectorSize) in EEPROM_CleanEraseFlag()81 startBlk = addr / s_eeState.eepromParams_SectorSize; in EEPROM_PrepareForWrite()82 endBlk = (addr + noOfBytes) / s_eeState.eepromParams_SectorSize; in EEPROM_PrepareForWrite()84 if ((addr + noOfBytes) & s_eeState.eepromParams_SectorSize) in EEPROM_PrepareForWrite()94 … if (EEPROM_EraseBlock(i * s_eeState.eepromParams_SectorSize, s_eeState.eepromParams_SectorSize) != in EEPROM_PrepareForWrite()134 HAL_FlashGetProperty(kHAL_Flash_PropertyPflashSectorSize, &s_eeState.eepromParams_SectorSize); in EEPROM_Init()135 …otalSize = pflashTotalSize / 2 - ((pflashTotalSize / 2) & (s_eeState.eepromParams_SectorSize - 1)); in EEPROM_Init()[all …]