MXC: add io multiplexing functions for mx3