Home
last modified time | relevance | path

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

/bsp/nxp/mcx/mcxa/Libraries/drivers/
A Ddrv_chipflash.c25 flash_config_t s_flashDriver; /* flash driver */ member
60 …int32_t status = FLASH_ProgramPhrase(&mtd.s_flashDriver, mtd.destAdrss + offset, (uint8_t *)data, … in nxp_chipflash_write()
77 …FLASH_EraseSector(&mtd.s_flashDriver, mtd.destAdrss + offset, mtd.pflashSectorSize, kFLASH_ApiEras… in nxp_chipflash_erase_block()
94 memset(&mtd.s_flashDriver, 0, sizeof(flash_config_t)); in rt_onchip_flash_init()
95 if (FLASH_Init(&mtd.s_flashDriver) != kStatus_Success) in rt_onchip_flash_init()
101 FLASH_GetProperty(&mtd.s_flashDriver, kFLASH_PropertyPflashBlockBaseAddr, &mtd.pflashBlockBase); in rt_onchip_flash_init()
102 FLASH_GetProperty(&mtd.s_flashDriver, kFLASH_PropertyPflashSectorSize, &mtd.pflashSectorSize); in rt_onchip_flash_init()
103 FLASH_GetProperty(&mtd.s_flashDriver, kFLASH_PropertyPflashTotalSize, &mtd.pflashTotalSize); in rt_onchip_flash_init()
104 FLASH_GetProperty(&mtd.s_flashDriver, kFLASH_PropertyPflashPageSize, &mtd.PflashPageSize); in rt_onchip_flash_init()
105 FLASH_GetProperty(&mtd.s_flashDriver, kFLASH_PropertyPflashBlockSize, &mtd.pflashBlockSize); in rt_onchip_flash_init()
[all …]

Completed in 3 milliseconds