Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flash/
Dfsl_ftfx_flexnvm.c47 config->ftfxConfig.flashDesc.type = (uint8_t)kFTFx_MemTypeFlexnvm; in FLEXNVM_Init()
48 config->ftfxConfig.flashDesc.index = 0U; in FLEXNVM_Init()
51 …config->ftfxConfig.opsConfig.addrAligment.blockWriteUnitSize = FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_WR… in FLEXNVM_Init()
52 …config->ftfxConfig.opsConfig.addrAligment.sectorCmd = FSL_FEATURE_FLASH_FLEX_NVM_SECTOR_CMD_ADDR… in FLEXNVM_Init()
53 …config->ftfxConfig.opsConfig.addrAligment.sectionCmd = FSL_FEATURE_FLASH_FLEX_NVM_SECTION_CMD_ADD… in FLEXNVM_Init()
54 …config->ftfxConfig.opsConfig.addrAligment.resourceCmd = FSL_FEATURE_FLASH_FLEX_NVM_RESOURCE_CMD_AD… in FLEXNVM_Init()
55 …config->ftfxConfig.opsConfig.addrAligment.checkCmd = FSL_FEATURE_FLASH_FLEX_NVM_CHECK_CMD_ADDRE… in FLEXNVM_Init()
58 config->ftfxConfig.flashDesc.blockBase = FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS; in FLEXNVM_Init()
60 config->ftfxConfig.flashDesc.aliasBlockBase = FSL_FEATURE_FLASH_FLEX_NVM_ALIAS_START_ADDRESS; in FLEXNVM_Init()
62 config->ftfxConfig.flashDesc.sectorSize = FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE; in FLEXNVM_Init()
[all …]
Dfsl_ftfx_flash.c183 config->ftfxConfig[flashIndex].flashDesc.type = (uint8_t)kFTFx_MemTypePflash; in FLASH_Init()
185 config->ftfxConfig[flashIndex].flashDesc.index = flashIndex; in FLASH_Init()
187 flash_init_features(&config->ftfxConfig[flashIndex]); in FLASH_Init()
192 if (0U != (config->ftfxConfig[flashIndex].flashDesc.feature.hasXaccControl)) in FLASH_Init()
199 if (0U != (config->ftfxConfig[flashIndex].flashDesc.feature.hasProtControl)) in FLASH_Init()
207 FTFx_API_Init(&config->ftfxConfig[flashIndex]); in FLASH_Init()
251 flash_convert_start_address(&config->ftfxConfig[flashIndex], start); in FLASH_Erase()
253 return FTFx_CMD_Erase(&config->ftfxConfig[flashIndex], start, lengthInBytes, key); in FLASH_Erase()
276 flash_convert_start_address(&config->ftfxConfig[flashIndex], start); in FLASH_EraseSectorNonBlocking()
278 return FTFx_CMD_EraseSectorNonBlocking(&config->ftfxConfig[flashIndex], start, key); in FLASH_EraseSectorNonBlocking()
[all …]
Dfsl_ftfx_flexnvm.h46 ftfx_config_t ftfxConfig; member
Dfsl_ftfx_flash.h105 ftfx_config_t ftfxConfig[FTFx_FLASH_COUNT]; member