Currently, following the example, I can only save one data. How should I handle saving multiple consecutive data?
void save_data()
{
uint32_t addr ;
FMC_Unlock();
/* Set address*/
addr = SECTOR_Addr;//0×08007C00;
FMC_ErasePage(addr);
FMC_ProgramWord(addr, Model_Type);
FMC_ProgramWord(addr+0×04,id_code);
FMC_ProgramWord(addr+0×08,power_on);
FMC_ProgramWord(addr+0×0c,lock);
FMC_ProgramWord(addr+0×10,channel[0]);
FMC_ProgramWord(addr+0×14,channel[1]);
FMC_ProgramWord(addr+0×18,volume[0]);
FMC_ProgramWord(addr+0×1c,volume[1]);
FMC_ProgramWord(addr+0×20,rf_gain[0]);
FMC_ProgramWord(addr+0×24,rf_gain[1]);
FMC_ProgramWord(addr+0×28,rf_txd[0]);
FMC_ProgramWord(addr+0×2c,rf_txd[1]);
FMC_Lock();
}