#[repr(C)]
pub struct rmt_rx_config_t { pub idle_threshold: u16, pub filter_ticks_thresh: u8, pub filter_en: bool, pub rm_carrier: bool, pub carrier_freq_hz: u32, pub carrier_duty_percent: u8, pub carrier_level: rmt_carrier_level_t, }
Expand description

@brief Data struct of RMT RX configure parameters

Fields

idle_threshold: u16

< RMT RX idle threshold

filter_ticks_thresh: u8

< RMT filter tick number

filter_en: bool

< RMT receiver filter enable

rm_carrier: bool

< RMT receiver remove carrier enable

carrier_freq_hz: u32

< RMT carrier frequency

carrier_duty_percent: u8

< RMT carrier duty (%)

carrier_level: rmt_carrier_level_t

< The level to remove the carrier

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.