macro_rules! on_param_change {
    ($self: ident, $freq: ident, $res: ident, $drive: ident, $ftype: ident, $smode: ident, $lmode: ident, $frame: ident,
     $ladder_mode_changed: ident,
     $on_change: block) => { ... };
}