[][src]Struct esp_idf_sys::rmt_tx_config_t

#[repr(C)]
pub struct rmt_tx_config_t {
    pub loop_en: bool,
    pub carrier_freq_hz: u32,
    pub carrier_duty_percent: u8,
    pub carrier_level: rmt_carrier_level_t,
    pub carrier_en: bool,
    pub idle_level: rmt_idle_level_t,
    pub idle_output_en: bool,
}

@brief Data struct of RMT TX configure parameters

Fields

loop_en: bool

< Enable sending RMT items in a loop

carrier_freq_hz: u32

< RMT carrier frequency

carrier_duty_percent: u8

< RMT carrier duty (%)

carrier_level: rmt_carrier_level_t

< Level of the RMT output, when the carrier is applied

carrier_en: bool

< RMT carrier enable

idle_level: rmt_idle_level_t

< RMT idle level

idle_output_en: bool

< RMT idle level output enable

Trait Implementations

impl Debug for rmt_tx_config_t[src]

impl Copy for rmt_tx_config_t[src]

impl Clone for rmt_tx_config_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]