ESPHome 2025.9.0
Loading...
Searching...
No Matches
bl0940.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::bl0940::DataPacket
 
class  esphome::bl0940::BL0940
 

Namespaces

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

Functions

struct esphome::bl0940::DataPacket esphome::bl0940::__attribute__ ((packed))
 

Variables

uint8_t frame_header
 
uint24_le_t i_fast_rms
 
uint24_le_t i_rms
 
uint24_t RESERVED0
 
uint24_le_t v_rms
 
uint24_t RESERVED1
 
int24_le_t watt
 
uint24_t RESERVED2
 
uint24_le_t cf_cnt
 
uint24_t RESERVED3
 
uint16_le_t tps1
 
uint8_t RESERVED4
 
uint16_le_t tps2
 
uint8_t RESERVED5
 
uint8_t checksum
 
esphome::bl0940::BL0940 esphome::bl0940::__attribute__
 

Variable Documentation

◆ cf_cnt

uint24_le_t cf_cnt

Definition at line 8 of file bl0940.h.

◆ checksum

uint8_t checksum

Definition at line 14 of file bl0940.h.

◆ frame_header

uint8_t frame_header

Definition at line 0 of file bl0940.h.

◆ i_fast_rms

uint24_le_t i_fast_rms

Definition at line 1 of file bl0940.h.

◆ i_rms

uint24_le_t i_rms

Definition at line 2 of file bl0940.h.

◆ RESERVED0

uint24_t RESERVED0

Definition at line 3 of file bl0940.h.

◆ RESERVED1

uint24_t RESERVED1

Definition at line 5 of file bl0940.h.

◆ RESERVED2

uint24_t RESERVED2

Definition at line 7 of file bl0940.h.

◆ RESERVED3

uint24_t RESERVED3

Definition at line 9 of file bl0940.h.

◆ RESERVED4

uint8_t RESERVED4

Definition at line 11 of file bl0940.h.

◆ RESERVED5

uint8_t RESERVED5

Definition at line 13 of file bl0940.h.

◆ tps1

uint16_le_t tps1

Definition at line 10 of file bl0940.h.

◆ tps2

uint16_le_t tps2

Definition at line 12 of file bl0940.h.

◆ v_rms

uint24_le_t v_rms

Definition at line 4 of file bl0940.h.

◆ watt

int24_le_t watt

Definition at line 6 of file bl0940.h.