pub struct VoxDelay(/* private fields */);Expand description
VOX delay in 100ms units (0-30, i.e. 0ms to 3000ms).
Controls how long the transmitter stays keyed after voice stops.
Used by the VD CAT command. VOX must be enabled (VX 1) first.
Menu No. 152. Default: 500 ms.
Per User Manual Chapter 12: available values are 250, 500, 750,
1000, 1500, 2000, and 3000 ms. If you press [PTT] while VOX is
active, the delay time is not applied. If DCS is active, the radio
transmits a Turn-Off Code after the delay expires.
Implementations§
Source§impl VoxDelay
impl VoxDelay
Sourcepub const fn new(value: u8) -> Result<Self, ValidationError>
pub const fn new(value: u8) -> Result<Self, ValidationError>
Creates a new VoxDelay from a raw value.
§Errors
Returns ValidationError::SettingOutOfRange if value > 30.
Trait Implementations§
impl Copy for VoxDelay
impl Eq for VoxDelay
impl StructuralPartialEq for VoxDelay
Auto Trait Implementations§
impl Freeze for VoxDelay
impl RefUnwindSafe for VoxDelay
impl Send for VoxDelay
impl Sync for VoxDelay
impl Unpin for VoxDelay
impl UnwindSafe for VoxDelay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more