Struct esp32c3_hal::rmt::TxChannelConfig
source · pub struct TxChannelConfig {
pub clk_divider: u8,
pub idle_output_level: bool,
pub idle_output: bool,
pub carrier_modulation: bool,
pub carrier_high: u16,
pub carrier_low: u16,
pub carrier_level: bool,
}
Expand description
Channel configuration for TX channels
Fields§
§clk_divider: u8
Channel’s clock divider
idle_output_level: bool
Set the idle output level to low/high
idle_output: bool
Enable idle output
carrier_modulation: bool
Enable carrier modulation
carrier_high: u16
Carrier high phase in ticks
carrier_low: u16
Carrier low phase in ticks
carrier_level: bool
Level of the carrier
Trait Implementations§
source§impl Clone for TxChannelConfig
impl Clone for TxChannelConfig
source§fn clone(&self) -> TxChannelConfig
fn clone(&self) -> TxChannelConfig
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 TxChannelConfig
impl Debug for TxChannelConfig
source§impl Default for TxChannelConfig
impl Default for TxChannelConfig
source§fn default() -> TxChannelConfig
fn default() -> TxChannelConfig
Returns the “default value” for a type. Read more
impl Copy for TxChannelConfig
Auto Trait Implementations§
impl RefUnwindSafe for TxChannelConfig
impl Send for TxChannelConfig
impl Sync for TxChannelConfig
impl Unpin for TxChannelConfig
impl UnwindSafe for TxChannelConfig
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