ESPHome  2022.11.5
Data Structures | Namespaces | Functions | Variables
bl0939.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::bl0939::ube24_t
 
struct  esphome::bl0939::ube16_t
 
struct  esphome::bl0939::sbe24_t
 
union  esphome::bl0939::DataPacket
 
class  esphome::bl0939::BL0939
 

Namespaces

 esphome
 
 esphome::bl0939
 

Functions

struct esphome::bl0939::ube24_t esphome::bl0939::__attribute__ ((packed))
 

Variables

uint8_t l
 
uint8_t m
 
uint8_t h
 
uint8_t raw [35]
 
struct {
   uint8_t   frame_header
 
   ube24_t   ia_fast_rms
 
   ube24_t   ia_rms
 
   ube24_t   ib_rms
 
   ube24_t   v_rms
 
   ube24_t   ib_fast_rms
 
   sbe24_t   a_watt
 
   sbe24_t   b_watt
 
   sbe24_t   cfa_cnt
 
   sbe24_t   cfb_cnt
 
   ube16_t   tps1
 
   uint8_t   RESERVED1
 
   ube16_t   tps2
 
   uint8_t   RESERVED2
 
   uint8_t   checksum
 
}; 
 
esphome::bl0939::BL0939 esphome::bl0939::__attribute__
 

Variable Documentation

◆ @15

struct { ... }

◆ a_watt

sbe24_t a_watt

Definition at line 27 of file bl0939.h.

◆ b_watt

sbe24_t b_watt

Definition at line 28 of file bl0939.h.

◆ cfa_cnt

sbe24_t cfa_cnt

Definition at line 29 of file bl0939.h.

◆ cfb_cnt

sbe24_t cfb_cnt

Definition at line 30 of file bl0939.h.

◆ checksum

uint8_t checksum

Definition at line 35 of file bl0939.h.

◆ frame_header

uint8_t frame_header

Definition at line 21 of file bl0939.h.

◆ h

int8_t h

Definition at line 21 of file bl0939.h.

◆ ia_fast_rms

ube24_t ia_fast_rms

Definition at line 22 of file bl0939.h.

◆ ia_rms

ube24_t ia_rms

Definition at line 23 of file bl0939.h.

◆ ib_fast_rms

ube24_t ib_fast_rms

Definition at line 26 of file bl0939.h.

◆ ib_rms

ube24_t ib_rms

Definition at line 24 of file bl0939.h.

◆ l

uint8_t l

Definition at line 19 of file bl0939.h.

◆ m

uint8_t m

Definition at line 20 of file bl0939.h.

◆ raw

uint8_t raw[35]

Definition at line 19 of file bl0939.h.

◆ RESERVED1

uint8_t RESERVED1

Definition at line 32 of file bl0939.h.

◆ RESERVED2

uint8_t RESERVED2

Definition at line 34 of file bl0939.h.

◆ tps1

ube16_t tps1

Definition at line 31 of file bl0939.h.

◆ tps2

ube16_t tps2

Definition at line 33 of file bl0939.h.

◆ v_rms

ube24_t v_rms

Definition at line 25 of file bl0939.h.