/* Execute ISP FMC_ISPCMD_PROGRAM to program a word to flash.  */
void FMC_Write(uint32_t u32Addr, uint32_t u32Data)
/* Execute ISP FMC_ISPCMD_PROGRAM to program a word to flash.  */
void FMC_Write(uint32_t u32Addr, uint32_t u32Data)
{
    FMC->ISPCMD = FMC_ISPCMD_PROGRAM;
    FMC->ISPADDR = u32Addr;
    FMC->ISPDAT = u32Data;
    FMC->ISPTRG = FMC_ISPTRG_ISPGO_Msk;
    while (FMC->ISPTRG & FMC_ISPTRG_ISPGO_Msk) { }
}