/* \classmethod mapper() Get or set the pin mapper function.  */
STATIC mp_obj_t pin_mapper(mp_uint_t n_args, const mp_obj_t *args)
/* \classmethod mapper() Get or set the pin mapper function.  */
STATIC mp_obj_t pin_mapper(mp_uint_t n_args, const mp_obj_t *args)
{
        MP_STATE_PORT(pin_class_mapper) = args[1];
        return mp_const_none;
    }
    return MP_STATE_PORT(pin_class_mapper);
}