added event flag manipulation for FRAM_READ and FRAM_WRITE