#[repr(C)]
pub struct rmt_config_t { pub rmt_mode: rmt_mode_t, pub channel: rmt_channel_t, pub gpio_num: gpio_num_t, pub clk_div: u8, pub mem_block_num: u8, pub flags: u32, pub __bindgen_anon_1: rmt_config_t__bindgen_ty_1, }
Expand description

@brief Data struct of RMT configure parameters

Fields

rmt_mode: rmt_mode_t

< RMT mode: transmitter or receiver

channel: rmt_channel_t

< RMT channel

gpio_num: gpio_num_t

< RMT GPIO number

clk_div: u8

< RMT channel counter divider

mem_block_num: u8

< RMT memory block number

flags: u32

< RMT channel extra configurations, OR’d with RMT_CHANNEL_FLAGS_[*]

__bindgen_anon_1: rmt_config_t__bindgen_ty_1

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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.