This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123AE6PM: TivaC series internal eeprom

Part Number: TM4C123AE6PM

i need to read/write to internal eeprom. Using EEPROMProgram() function causes some delay. that is why i need to use EEPROMProgramNonBlocking() function. Do i have to use interrupt when i use EEPROMProgramNonBlocking function?  Is there any way to use EEPROMProgramNonBlocking() function without using interrupt?

if i need to use interrupt for using EEPROMProgramNonBlocking function, how can i apply it? Is  there any sample code?

Regards

Erdem

  • Hi Erdem,

      The NonBlocking version of the EEpromProgram() is meant to be used with the interrupt control. The EEpromProgrammNonBlocking() will return immediately and if you don't have the interrupt control, you have no way of knowing if the programming was successful or not. Below is the description of the EEpromProgramNonBlocking() API.

    Description:
    This function is intended to allow EEPROM programming under interrupt control. It may be
    called to start the process of writing a single word of data into the EEPROM at a given wordaligned
    address. The call is asynchronous and returns immediately without waiting for the
    write to complete. Completion of the operation is signaled by means of an interrupt from the
    EEPROM module. The EEPROM peripheral shares a single interrupt vector with the flash
    memory subsystem, INT_FLASH.