// Returns the wide (default) passband for the given Mode. func (r *SerialRig) PassbandWide(m Mode) int { return int(C.rig_passband_wide(&r.r, C.rmode_t(m))) }
// Returns the narrow (closest) passband for the given Mode. func (r *SerialRig) PassbandNarrow(m Mode) int { return int(C.rig_passband_narrow(&r.r, C.rmode_t(m))) }
// Returns the normal (default) passband for the given Mode. func (r *SerialRig) PassbandNormal(m Mode) int { return int(C.rig_passband_normal(&r.r, C.rmode_t(m))) }
// SetMode switches to the given Mode using the supplied passband bandwidth. func (v cVFO) SetMode(m Mode, pbw int) error { return codeToError(C.rig_set_mode(&v.r.r, v.v, C.rmode_t(m), C.pbwidth_t(pbw), )) }