ESPHome  2022.6.2
Data Structures | Functions | Variables
esphome::ledc Namespace Reference

Data Structures

class  LEDCOutput
 
class  SetFrequencyAction
 

Functions

ledc_mode_t get_speed_mode (uint8_t channel)
 
float ledc_max_frequency_for_bit_depth (uint8_t bit_depth)
 
float ledc_min_frequency_for_bit_depth (uint8_t bit_depth, bool low_frequency)
 
optional< uint8_t > ledc_bit_depth_for_frequency (float frequency)
 

Variables

uint8_t next_ledc_channel = 0
 

Function Documentation

◆ get_speed_mode()

ledc_mode_t esphome::ledc::get_speed_mode ( uint8_t  channel)
inline

Definition at line 22 of file ledc_output.cpp.

◆ ledc_bit_depth_for_frequency()

optional<uint8_t> esphome::ledc::ledc_bit_depth_for_frequency ( float  frequency)

Definition at line 40 of file ledc_output.cpp.

◆ ledc_max_frequency_for_bit_depth()

float esphome::ledc::ledc_max_frequency_for_bit_depth ( uint8_t  bit_depth)

Definition at line 33 of file ledc_output.cpp.

◆ ledc_min_frequency_for_bit_depth()

float esphome::ledc::ledc_min_frequency_for_bit_depth ( uint8_t  bit_depth,
bool  low_frequency 
)

Definition at line 35 of file ledc_output.cpp.

Variable Documentation

◆ next_ledc_channel

uint8_t esphome::ledc::next_ledc_channel = 0

Definition at line 156 of file ledc_output.cpp.