pub struct OperacakeDwell {
pub dwell: u32,
pub port: u8,
}Expand description
A dwell time allocated to a specific port for all Operacakes operating in dwell time mode.
This is used in HackRf::operacake_config_time.
Ports are zero-indexed, but can also be referred to with the top-level constants:
- PORT_A1 = 0
- PORT_A2 = 1
- PORT_A3 = 2
- PORT_A4 = 3
- PORT_B1 = 4
- PORT_B2 = 5
- PORT_B3 = 6
- PORT_B4 = 7
Fields§
§dwell: u32Dwell time, in number of samples
port: u8Port for A0 to use for the range. B0 will use the mirror image.
Trait Implementations§
Source§impl Clone for OperacakeDwell
impl Clone for OperacakeDwell
Source§fn clone(&self) -> OperacakeDwell
fn clone(&self) -> OperacakeDwell
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 OperacakeDwell
impl Debug for OperacakeDwell
impl Copy for OperacakeDwell
Auto Trait Implementations§
impl Freeze for OperacakeDwell
impl RefUnwindSafe for OperacakeDwell
impl Send for OperacakeDwell
impl Sync for OperacakeDwell
impl Unpin for OperacakeDwell
impl UnwindSafe for OperacakeDwell
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