/* lock the FMC bank1 operation this function can be used for GD32F10x_XD and GD32F10x_CL with flash more than 512KB.  */
void fmc_bank1_lock(void)
/* lock the FMC bank1 operation this function can be used for GD32F10x_XD and GD32F10x_CL with flash more than 512KB.  */
void fmc_bank1_lock(void)
{
    FMC_CTL1 |= FMC_CTL1_LK;
}