ESPHome
2024.12.2
|
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) |
esp_err_t | configure_timer_frequency (ledc_mode_t speed_mode, ledc_timer_t timer_num, ledc_channel_t chan_num, uint8_t channel, uint8_t &bit_depth, float frequency) |
constexpr int | ledc_angle_to_htop (float angle, uint8_t bit_depth) |
Variables | |
uint8_t | next_ledc_channel = 0 |
esp_err_t esphome::ledc::configure_timer_frequency | ( | ledc_mode_t | speed_mode, |
ledc_timer_t | timer_num, | ||
ledc_channel_t | chan_num, | ||
uint8_t | channel, | ||
uint8_t & | bit_depth, | ||
float | frequency | ||
) |
Definition at line 70 of file ledc_output.cpp.
|
inline |
Definition at line 40 of file ledc_output.cpp.
constexpr int esphome::ledc::ledc_angle_to_htop | ( | float | angle, |
uint8_t | bit_depth | ||
) |
Definition at line 102 of file ledc_output.cpp.
optional<uint8_t> esphome::ledc::ledc_bit_depth_for_frequency | ( | float | frequency | ) |
Definition at line 56 of file ledc_output.cpp.
float esphome::ledc::ledc_max_frequency_for_bit_depth | ( | uint8_t | bit_depth | ) |
Definition at line 49 of file ledc_output.cpp.
float esphome::ledc::ledc_min_frequency_for_bit_depth | ( | uint8_t | bit_depth, |
bool | low_frequency | ||
) |
Definition at line 51 of file ledc_output.cpp.
uint8_t esphome::ledc::next_ledc_channel = 0 |
Definition at line 263 of file ledc_output.cpp.