#[repr(u16)]pub enum OperacakeMode {
Manual = 0,
Frequency = 1,
Time = 2,
}Expand description
Configuration for an Operacake board.
An Operacake board has three different operating modes:
- Manual: the switches are manually set and don’t change until the next configuration operation.
- Frequency: the switches change depending on the center frequency the board is tuned to.
- Time: the switches change after some number of samples have been sent/received.
Use when calling HackRf::operacake_set_mode.
Variants§
Trait Implementations§
Source§impl Clone for OperacakeMode
impl Clone for OperacakeMode
Source§fn clone(&self) -> OperacakeMode
fn clone(&self) -> OperacakeMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperacakeMode
impl Debug for OperacakeMode
Source§impl PartialEq for OperacakeMode
impl PartialEq for OperacakeMode
impl Copy for OperacakeMode
impl Eq for OperacakeMode
impl StructuralPartialEq for OperacakeMode
Auto Trait Implementations§
impl Freeze for OperacakeMode
impl RefUnwindSafe for OperacakeMode
impl Send for OperacakeMode
impl Sync for OperacakeMode
impl Unpin for OperacakeMode
impl UnwindSafe for OperacakeMode
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