38 MODULE_FLASH0.CBAB[portId].CFG.B.CLR = 1;
54 MODULE_FLASH0.UBAB[portId].CFG.B.CLR = 1;
60 MODULE_FLASH0.CBAB[portId].CFG.B.DIS =
disable;
66 MODULE_FLASH0.UBAB[portId].CFG.B.DIS =
disable;
77 for (i = 0; i < 8; i++)
90 if ((pageAddr & 0xff000000) == 0xa0000000)
95 else if ((pageAddr & 0xff000000) == 0xaf000000)
205 uint32 fillingLevel = MODULE_FLASH0.CBAB[portId].STAT.U;
211 (fillingLevel & (1 << i)) != 0;
214 Ifx_FLASH_CBAB_TOP top;
215 top.U = MODULE_FLASH0.CBAB[portId].TOP.U;
219 trackedFlashAdresses[numErrors].
address = 0xa0000000 | (top.B.ADDR << 5);
220 trackedFlashAdresses[numErrors].
errorType = top.B.ERR;
225 MODULE_FLASH0.CBAB[portId].TOP.U = (1 << 31);
235 uint32 fillingLevel = MODULE_FLASH0.UBAB[portId].STAT.U;
241 (fillingLevel & (1 << i)) != 0;
244 Ifx_FLASH_UBAB_TOP top;
245 top.U = MODULE_FLASH0.UBAB[portId].TOP.U;
249 trackedFlashAdresses[numErrors].
address = 0xa0000000 | (top.B.ADDR << 5);
250 trackedFlashAdresses[numErrors].
errorType = top.B.ERR;
255 MODULE_FLASH0.UBAB[portId].TOP.U = (1 << 31);
311 MODULE_FLASH0.CBAB[portId].CFG.B.SEL = errorTracking;
321 MODULE_FLASH0.UBAB[portId].CFG.B.SEL = errorTracking;
361 while (FLASH0_FSR.U & (1 << flashType))
365 #if IFXFLASH_NUM_FLASH_MODULES > 1
368 while (FLASH1_FSR.U & (1 << flashType))