esp_idf_svc::hal::ledc

Trait SpeedMode

Source
pub trait SpeedMode:
    Send
    + Sync
    + 'static {
    const SPEED_MODE: u32;
    const HIGH_SPEED: bool;
}
Expand description

Speed mode for the LED Control peripheral The ESP32 supports two speed modes: low and high speed All others support only low speed mode.

Required Associated Constants§

Source

const SPEED_MODE: u32

Source

const HIGH_SPEED: bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl SpeedMode for LowSpeed

Source§

const SPEED_MODE: u32 = 0u32

Source§

const HIGH_SPEED: bool = false