ESPHome 2025.5.0
Loading...
Searching...
No Matches
as3935.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::as3935::AS3935Component
 

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::as3935
 

Enumerations

enum  esphome::as3935::AS3935RegisterNames {
  esphome::as3935::AFE_GAIN = 0x00 , esphome::as3935::THRESHOLD , esphome::as3935::LIGHTNING_REG , esphome::as3935::INT_MASK_ANT ,
  esphome::as3935::ENERGY_LIGHT_LSB , esphome::as3935::ENERGY_LIGHT_MSB , esphome::as3935::ENERGY_LIGHT_MMSB , esphome::as3935::DISTANCE ,
  esphome::as3935::FREQ_DISP_IRQ , esphome::as3935::CALIB_TRCO = 0x3A , esphome::as3935::CALIB_SRCO = 0x3B , esphome::as3935::DEFAULT_RESET = 0x3C ,
  esphome::as3935::CALIB_RCO = 0x3D
}
 
enum  esphome::as3935::AS3935RegisterMasks {
  esphome::as3935::WIPE_ALL = 0x0 , esphome::as3935::GAIN_MASK = 0x3E , esphome::as3935::SPIKE_MASK = 0xF , esphome::as3935::IO_MASK = 0xC1 ,
  esphome::as3935::DISTANCE_MASK = 0xC0 , esphome::as3935::INT_MASK = 0xF0 , esphome::as3935::THRESH_MASK = 0x0F , esphome::as3935::R_SPIKE_MASK = 0xF0 ,
  esphome::as3935::ENERGY_MASK = 0xF0 , esphome::as3935::CAP_MASK = 0xF0 , esphome::as3935::LIGHT_MASK = 0xCF , esphome::as3935::DISTURB_MASK = 0xDF ,
  esphome::as3935::NOISE_FLOOR_MASK = 0x70 , esphome::as3935::OSC_MASK = 0xE0 , esphome::as3935::CALIB_MASK = 0x7F , esphome::as3935::CALIB_MASK_NOK = 0xBF ,
  esphome::as3935::DIV_MASK = 0x3F
}
 
enum  esphome::as3935::AS3935Values {
  esphome::as3935::AS3935_ADDR = 0x03 , esphome::as3935::INDOOR = 0x12 , esphome::as3935::OUTDOOR = 0xE , esphome::as3935::LIGHTNING_INT = 0x08 ,
  esphome::as3935::DISTURBER_INT = 0x04 , esphome::as3935::NOISE_INT = 0x01
}