1 of 1 people found this helpful
Yes, you can extend the functionality by making modifications to the Generated Source files. In the header file SerialNVRAM_1.h you can add another #define for the second memory control register (let's call it SerialNVRAM_I2C_MEM_CTR_REG2_ADDR).
And, then modify/add functions to write to the second memory control register (SerialNVRAM_I2C_MEM_CTR_REG2_ADDR) instead of SerialNVRAM_MEM_CTR_REG_ADDR in SerialNVRAM_1.c file.
After this right click on the project > Build Settings > Code Generation > Skip Code Generation > True. This will ensure all your changes aren't lost when you build the project.
Thank you Dheeraj