ESPHome 2025.9.0-dev
|
Data Structures | |
class | BaudRateSelect |
class | BluetoothSwitch |
class | DistanceResolutionSelect |
class | EngineeringModeSwitch |
class | FactoryResetButton |
class | GateThresholdNumber |
class | LD2412Component |
class | LightOutControlSelect |
class | LightThresholdNumber |
class | MaxDistanceTimeoutNumber |
class | QueryButton |
class | RestartButton |
class | StartDynamicBackgroundCorrectionButton |
Functions | |
template<size_t N> | |
uint8_t | find_uint8 (const StringToUint8(&arr)[N], const std::string &str) |
template<size_t N> | |
const char * | find_str (const Uint8ToString(&arr)[N], uint8_t value) |
std::function< void(void)> | set_number_value (number::Number *n, float value) |
Variables | |
constexpr StringToUint8 | BAUD_RATES_BY_STR [] |
constexpr StringToUint8 | DISTANCE_RESOLUTIONS_BY_STR [] |
constexpr Uint8ToString | DISTANCE_RESOLUTIONS_BY_UINT [] |
constexpr StringToUint8 | LIGHT_FUNCTIONS_BY_STR [] |
constexpr Uint8ToString | LIGHT_FUNCTIONS_BY_UINT [] |
constexpr StringToUint8 | OUT_PIN_LEVELS_BY_STR [] |
constexpr Uint8ToString | OUT_PIN_LEVELS_BY_UINT [] |
enum esphome::ld2412::AckData : uint8_t |
Enumerator | |
---|---|
COMMAND | |
COMMAND_STATUS |
Definition at line 78 of file ld2412.cpp.
enum esphome::ld2412::BaudRate : uint8_t |
Enumerator | |
---|---|
BAUD_RATE_9600 | |
BAUD_RATE_19200 | |
BAUD_RATE_38400 | |
BAUD_RATE_57600 | |
BAUD_RATE_115200 | |
BAUD_RATE_230400 | |
BAUD_RATE_256000 | |
BAUD_RATE_460800 |
Definition at line 20 of file ld2412.cpp.
enum esphome::ld2412::DistanceResolution : uint8_t |
Enumerator | |
---|---|
DISTANCE_RESOLUTION_0_2 | |
DISTANCE_RESOLUTION_0_5 | |
DISTANCE_RESOLUTION_0_75 |
Definition at line 31 of file ld2412.cpp.
enum esphome::ld2412::LightFunction : uint8_t |
Enumerator | |
---|---|
LIGHT_FUNCTION_OFF | |
LIGHT_FUNCTION_BELOW | |
LIGHT_FUNCTION_ABOVE |
Definition at line 37 of file ld2412.cpp.
enum esphome::ld2412::OutPinLevel : uint8_t |
Enumerator | |
---|---|
OUT_PIN_LEVEL_LOW | |
OUT_PIN_LEVEL_HIGH |
Definition at line 43 of file ld2412.cpp.
enum esphome::ld2412::PeriodicData : uint8_t |
Definition at line 57 of file ld2412.cpp.
enum esphome::ld2412::PeriodicDataValue : uint8_t |
Enumerator | |
---|---|
HEADER | |
FOOTER | |
CHECK |
Definition at line 72 of file ld2412.cpp.
const char * esphome::ld2412::find_str | ( | const Uint8ToString(&) | arr[N], |
uint8_t | value ) |
Definition at line 144 of file ld2412.cpp.
uint8_t esphome::ld2412::find_uint8 | ( | const StringToUint8(&) | arr[N], |
const std::string & | str ) |
Definition at line 135 of file ld2412.cpp.
std::function< void(void)> esphome::ld2412::set_number_value | ( | number::Number * | n, |
float | value ) |
Definition at line 447 of file ld2412.cpp.
|
constexpr |
Definition at line 94 of file ld2412.cpp.
|
constexpr |
Definition at line 100 of file ld2412.cpp.
|
constexpr |
Definition at line 106 of file ld2412.cpp.
|
constexpr |
Definition at line 112 of file ld2412.cpp.
|
constexpr |
Definition at line 118 of file ld2412.cpp.
|
constexpr |
Definition at line 124 of file ld2412.cpp.
|
constexpr |
Definition at line 129 of file ld2412.cpp.