Searched refs:regionCounter (Results 1 – 1 of 1) sorted by relevance
1693 uint32_t regionCounter; /* incrementing variable used to increment through the flash in FLASH_IsProtected() local1731 regionCounter = 0; /* make sure regionCounter is initialized to 0 first */ in FLASH_IsProtected()1734 while (regionCounter <= flashProtectionInfo.regionCount) in FLASH_IsProtected()1736 flashRegionAddress[regionCounter] = in FLASH_IsProtected()1737 flashProtectionInfo.regionBase + flashProtectionInfo.regionSize * regionCounter; in FLASH_IsProtected()1738 regionCounter++; in FLASH_IsProtected()1750 regionCounter = 0; /* make sure regionCounter is initialized to 0 first */ in FLASH_IsProtected()1751 while (regionCounter < flashProtectionInfo.regionCount) in FLASH_IsProtected()1756 if (regionCounter < 8) in FLASH_IsProtected()1758 … flashRegionProtectStatus[regionCounter] = (FTFx_FPROTSL_REG >> regionCounter) & (0x01u); in FLASH_IsProtected()[all …]