CodeGen of an FTMPC ctrl