FSMC_THOLD_MASK
thold = (tims->thold & FSMC_THOLD_MASK) << FSMC_THOLD_SHIFT;
else if (tims->thold > FSMC_THOLD_MASK)
tims->thold = FSMC_THOLD_MASK;