pub struct RxChannelConfig { /* private fields */ }Expand description
Channel configuration for RX channels
Implementations§
Source§impl RxChannelConfig
 
impl RxChannelConfig
Sourcepub fn with_clk_divider(self, clk_divider: u8) -> Self
 
pub fn with_clk_divider(self, clk_divider: u8) -> Self
Assign the given value to the clk_divider field.
Sourcepub fn clk_divider(&self) -> u8
 
pub fn clk_divider(&self) -> u8
Channel’s clock divider
Sourcepub fn with_carrier_modulation(self, carrier_modulation: bool) -> Self
 
pub fn with_carrier_modulation(self, carrier_modulation: bool) -> Self
Assign the given value to the carrier_modulation field.
Sourcepub fn carrier_modulation(&self) -> bool
 
pub fn carrier_modulation(&self) -> bool
Enable carrier demodulation
Sourcepub fn with_carrier_high(self, carrier_high: u16) -> Self
 
pub fn with_carrier_high(self, carrier_high: u16) -> Self
Assign the given value to the carrier_high field.
Sourcepub fn carrier_high(&self) -> u16
 
pub fn carrier_high(&self) -> u16
Carrier high phase in ticks
Sourcepub fn with_carrier_low(self, carrier_low: u16) -> Self
 
pub fn with_carrier_low(self, carrier_low: u16) -> Self
Assign the given value to the carrier_low field.
Sourcepub fn carrier_low(&self) -> u16
 
pub fn carrier_low(&self) -> u16
Carrier low phase in ticks
Sourcepub fn with_carrier_level(self, carrier_level: Level) -> Self
 
pub fn with_carrier_level(self, carrier_level: Level) -> Self
Assign the given value to the carrier_level field.
Sourcepub fn carrier_level(&self) -> Level
 
pub fn carrier_level(&self) -> Level
Level of the carrier
Sourcepub fn with_filter_threshold(self, filter_threshold: u8) -> Self
 
pub fn with_filter_threshold(self, filter_threshold: u8) -> Self
Assign the given value to the filter_threshold field.
Sourcepub fn filter_threshold(&self) -> u8
 
pub fn filter_threshold(&self) -> u8
Filter threshold in ticks
Sourcepub fn with_idle_threshold(self, idle_threshold: u16) -> Self
 
pub fn with_idle_threshold(self, idle_threshold: u16) -> Self
Assign the given value to the idle_threshold field.
Sourcepub fn idle_threshold(&self) -> u16
 
pub fn idle_threshold(&self) -> u16
Idle threshold in ticks, must not exceed MAX_RX_IDLE_THRESHOLD
Sourcepub fn with_memsize(self, memsize: u8) -> Self
 
pub fn with_memsize(self, memsize: u8) -> Self
Assign the given value to the memsize field.
Trait Implementations§
Source§impl Clone for RxChannelConfig
Available on crate feature unstable only. 
impl Clone for RxChannelConfig
Available on crate feature 
unstable only.Source§fn clone(&self) -> RxChannelConfig
 
fn clone(&self) -> RxChannelConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for RxChannelConfig
Available on crate feature unstable only. 
impl Debug for RxChannelConfig
Available on crate feature 
unstable only.Source§impl Default for RxChannelConfig
Available on crate feature unstable only. 
impl Default for RxChannelConfig
Available on crate feature 
unstable only.impl Copy for RxChannelConfig
Available on crate feature 
unstable only.Auto Trait Implementations§
impl Freeze for RxChannelConfig
impl RefUnwindSafe for RxChannelConfig
impl Send for RxChannelConfig
impl Sync for RxChannelConfig
impl Unpin for RxChannelConfig
impl UnwindSafe for RxChannelConfig
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
 
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)