Skip to main content

SpeedMode

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".

Implementors§

Source§

impl SpeedMode for LowSpeed

Source§

const SPEED_MODE: u32 = ledc_mode_t_LEDC_LOW_SPEED_MODE

Source§

const HIGH_SPEED: bool = false