ESPHome  2024.10.2
Data Structures | Namespaces | Enumerations
ld2410.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::ld2410::LD2410Component
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::ld2410
 

Enumerations

enum  esphome::ld2410::BaudRateStructure : uint8_t {
  esphome::ld2410::BAUD_RATE_9600 = 1, esphome::ld2410::BAUD_RATE_19200 = 2, esphome::ld2410::BAUD_RATE_38400 = 3, esphome::ld2410::BAUD_RATE_57600 = 4,
  esphome::ld2410::BAUD_RATE_115200 = 5, esphome::ld2410::BAUD_RATE_230400 = 6, esphome::ld2410::BAUD_RATE_256000 = 7, esphome::ld2410::BAUD_RATE_460800 = 8
}
 
enum  esphome::ld2410::DistanceResolutionStructure : uint8_t { esphome::ld2410::DISTANCE_RESOLUTION_0_2 = 0x01, esphome::ld2410::DISTANCE_RESOLUTION_0_75 = 0x00 }
 
enum  esphome::ld2410::LightFunctionStructure : uint8_t { esphome::ld2410::LIGHT_FUNCTION_OFF = 0x00, esphome::ld2410::LIGHT_FUNCTION_BELOW = 0x01, esphome::ld2410::LIGHT_FUNCTION_ABOVE = 0x02 }
 
enum  esphome::ld2410::OutPinLevelStructure : uint8_t { esphome::ld2410::OUT_PIN_LEVEL_LOW = 0x00, esphome::ld2410::OUT_PIN_LEVEL_HIGH = 0x01 }
 
enum  esphome::ld2410::PeriodicDataStructure : uint8_t {
  esphome::ld2410::DATA_TYPES = 6, esphome::ld2410::TARGET_STATES = 8, esphome::ld2410::MOVING_TARGET_LOW = 9, esphome::ld2410::MOVING_TARGET_HIGH = 10,
  esphome::ld2410::MOVING_ENERGY = 11, esphome::ld2410::STILL_TARGET_LOW = 12, esphome::ld2410::STILL_TARGET_HIGH = 13, esphome::ld2410::STILL_ENERGY = 14,
  esphome::ld2410::DETECT_DISTANCE_LOW = 15, esphome::ld2410::DETECT_DISTANCE_HIGH = 16, esphome::ld2410::MOVING_SENSOR_START = 19, esphome::ld2410::STILL_SENSOR_START = 28,
  esphome::ld2410::LIGHT_SENSOR = 37, esphome::ld2410::OUT_PIN_SENSOR = 38
}
 
enum  esphome::ld2410::PeriodicDataValue : uint8_t { esphome::ld2410::HEAD = 0XAA, esphome::ld2410::END = 0x55, esphome::ld2410::CHECK = 0x00 }
 
enum  esphome::ld2410::AckDataStructure : uint8_t { esphome::ld2410::COMMAND = 6, esphome::ld2410::COMMAND_STATUS = 7 }