Module esp_idf_svc::hal::rmt::config

source ·
Expand description

Types used for configuring the rmt module.

[Config] is used when creating a [Transmit][crate::rmt::Transmit] instance.

§Example

let carrier = CarrierConfig::new()
    .duty_percent(DutyPercent::new(50)?)
    .frequency(611.Hz());

let config = Config::new()
    .carrier(Some(carrier))
    .looping(Loop::Endless)
    .clock_divider(255);

Structs§

Enums§

  • Configuration setting for looping a signal.