Struct esp32c3_hal::rmt::RxChannelConfig
source · pub struct RxChannelConfig {
pub clk_divider: u8,
pub carrier_modulation: bool,
pub carrier_high: u16,
pub carrier_low: u16,
pub carrier_level: bool,
pub filter_threshold: u8,
pub idle_threshold: u16,
}
Expand description
Channel configuration for RX channels
Fields§
§clk_divider: u8
Channel’s clock divider
carrier_modulation: bool
Enable carrier demodulation
carrier_high: u16
Carrier high phase in ticks
carrier_low: u16
Carrier low phase in ticks
carrier_level: bool
Level of the carrier
filter_threshold: u8
Filter threshold in ticks
idle_threshold: u16
Idle threshold in ticks
Trait Implementations§
source§impl Clone for RxChannelConfig
impl Clone for RxChannelConfig
source§fn clone(&self) -> RxChannelConfig
fn clone(&self) -> RxChannelConfig
Returns a copy 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 RxChannelConfig
impl Debug for RxChannelConfig
source§impl Default for RxChannelConfig
impl Default for RxChannelConfig
source§fn default() -> RxChannelConfig
fn default() -> RxChannelConfig
Returns the “default value” for a type. Read more
impl Copy for RxChannelConfig
Auto Trait Implementations§
impl RefUnwindSafe for RxChannelConfig
impl Send for RxChannelConfig
impl Sync for RxChannelConfig
impl Unpin for RxChannelConfig
impl UnwindSafe for RxChannelConfig
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