Home
last modified time | relevance | path

Searched refs:regionCounter (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flash/
Dfsl_ftfx_flash.c606 uint32_t regionCounter; /* incrementing variable used to increment through the flash in FLASH_IsProtected() local
628 regionCounter = 0U; /* make sure regionCounter is initialized to 0 first */ in FLASH_IsProtected()
630 while (regionCounter <= ftfxConfig->flashDesc.protectRegionMem.count) in FLASH_IsProtected()
632 flashRegionAddress[regionCounter] = ftfxConfig->flashDesc.protectRegionMem.base + in FLASH_IsProtected()
633 … ftfxConfig->flashDesc.protectRegionMem.size * regionCounter; in FLASH_IsProtected()
634 regionCounter++; in FLASH_IsProtected()
646regionCounter = 0U; /* make sure regionCounter is initialized to 0 firs… in FLASH_IsProtected()
656 while (regionCounter < ftfxConfig->flashDesc.protectRegionMem.count) in FLASH_IsProtected()
663 if (regionCounter < (uint32_t)MAX_FLASH_PROT_REGION_COUNT) in FLASH_IsProtected()
665 … flashRegionProtectStatus[regionCounter] = (uint8_t)(((kFPROTLx[0]) >> regionCounter) & 0x1U); in FLASH_IsProtected()
[all …]