Hi,
I am working on MK22FX512VLL12 controller. I am trying to write into some data into flex memory. I using below function
void writeEeprom(unsigned long addr, unsigned char data)
{
*((uint8_t *)(addr)) = data;
/* Make sure the EEE is ready. If not wait for the command to complete */
while(!(FTFE_FCNFG & FTFE_FCNFG_EEERDY_MASK));
}
my program unable to execute (!(FTFE_FCNFG & FTFE_FCNFG_EEERDY_MASK)); instruction.
Please any one help me to resolve this issue.
Thanks in advance.