Skip to main content

SpeedMode

Trait SpeedMode 

Source
pub trait SpeedMode:
    Send
    + Sync
    + 'static {
    const SPEED_MODE: ledc_mode_t;
    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§

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: ledc_mode_t = ledc_mode_t_LEDC_LOW_SPEED_MODE

Source§

const HIGH_SPEED: bool = false