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