RadioFrequencyTraits - Describes the capabilities of a radio frequency implementation.
More...
#include <radio_frequency.h>
RadioFrequencyTraits - Describes the capabilities of a radio frequency implementation.
Definition at line 109 of file radio_frequency.h.
◆ add_supported_modulation()
◆ get_frequency_max_hz()
| uint32_t esphome::radio_frequency::RadioFrequencyTraits::get_frequency_max_hz |
( |
| ) |
const |
|
inline |
◆ get_frequency_min_hz()
| uint32_t esphome::radio_frequency::RadioFrequencyTraits::get_frequency_min_hz |
( |
| ) |
const |
|
inline |
Hardware-supported tunable frequency range in Hz.
If min == max (and both non-zero): fixed-frequency hardware. If both 0: range unspecified.
Definition at line 120 of file radio_frequency.h.
◆ get_supported_modulations()
| uint32_t esphome::radio_frequency::RadioFrequencyTraits::get_supported_modulations |
( |
| ) |
const |
|
inline |
Bitmask of supported RadioFrequencyModulation values (bit N = modulation value N supported).
Definition at line 133 of file radio_frequency.h.
◆ get_supports_receiver()
| bool esphome::radio_frequency::RadioFrequencyTraits::get_supports_receiver |
( |
| ) |
const |
|
inline |
◆ get_supports_transmitter()
| bool esphome::radio_frequency::RadioFrequencyTraits::get_supports_transmitter |
( |
| ) |
const |
|
inline |
◆ set_fixed_frequency_hz()
| void esphome::radio_frequency::RadioFrequencyTraits::set_fixed_frequency_hz |
( |
uint32_t | freq | ) |
|
|
inline |
Convenience setter for fixed-frequency hardware (sets min == max).
Definition at line 127 of file radio_frequency.h.
◆ set_frequency_max_hz()
| void esphome::radio_frequency::RadioFrequencyTraits::set_frequency_max_hz |
( |
uint32_t | freq | ) |
|
|
inline |
◆ set_frequency_min_hz()
| void esphome::radio_frequency::RadioFrequencyTraits::set_frequency_min_hz |
( |
uint32_t | freq | ) |
|
|
inline |
◆ set_supported_modulations()
| void esphome::radio_frequency::RadioFrequencyTraits::set_supported_modulations |
( |
uint32_t | mask | ) |
|
|
inline |
◆ set_supports_receiver()
| void esphome::radio_frequency::RadioFrequencyTraits::set_supports_receiver |
( |
bool | supports | ) |
|
|
inline |
◆ set_supports_transmitter()
| void esphome::radio_frequency::RadioFrequencyTraits::set_supports_transmitter |
( |
bool | supports | ) |
|
|
inline |
◆ frequency_max_hz_
| uint32_t esphome::radio_frequency::RadioFrequencyTraits::frequency_max_hz_ {0} |
|
protected |
◆ frequency_min_hz_
| uint32_t esphome::radio_frequency::RadioFrequencyTraits::frequency_min_hz_ {0} |
|
protected |
◆ supported_modulations_
| uint32_t esphome::radio_frequency::RadioFrequencyTraits::supported_modulations_ {0} |
|
protected |
◆ supports_receiver_
| bool esphome::radio_frequency::RadioFrequencyTraits::supports_receiver_ {false} |
|
protected |
◆ supports_transmitter_
| bool esphome::radio_frequency::RadioFrequencyTraits::supports_transmitter_ {false} |
|
protected |
The documentation for this class was generated from the following file: