#[repr(C)]pub struct rmt_tx_config_t {
    pub carrier_freq_hz: u32,
    pub carrier_level: u32,
    pub idle_level: u32,
    pub carrier_duty_percent: u8,
    pub loop_count: u32,
    pub carrier_en: bool,
    pub loop_en: bool,
    pub idle_output_en: bool,
}Expand description
@brief Data struct of RMT TX configure parameters
Fields§
§carrier_freq_hz: u32< RMT carrier frequency
carrier_level: u32< Level of the RMT output, when the carrier is applied
idle_level: u32< RMT idle level
carrier_duty_percent: u8< RMT carrier duty (%)
loop_count: u32< Maximum loop count, only take effect for chips that is capable of SOC_RMT_SUPPORT_TX_LOOP_COUNT
carrier_en: bool< RMT carrier enable
loop_en: bool< Enable sending RMT items in a loop
idle_output_en: bool< RMT idle level output enable
Trait Implementations§
Source§impl Clone for rmt_tx_config_t
 
impl Clone for rmt_tx_config_t
Source§fn clone(&self) -> rmt_tx_config_t
 
fn clone(&self) -> rmt_tx_config_t
Returns a copy 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 rmt_tx_config_t
 
impl Debug for rmt_tx_config_t
Source§impl Default for rmt_tx_config_t
 
impl Default for rmt_tx_config_t
Source§fn default() -> rmt_tx_config_t
 
fn default() -> rmt_tx_config_t
Returns the “default value” for a type. Read more
impl Copy for rmt_tx_config_t
Auto Trait Implementations§
impl Freeze for rmt_tx_config_t
impl RefUnwindSafe for rmt_tx_config_t
impl Send for rmt_tx_config_t
impl Sync for rmt_tx_config_t
impl Unpin for rmt_tx_config_t
impl UnwindSafe for rmt_tx_config_t
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, dst: *mut u8)
 
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)