ESPHome  2024.3.1
Data Structures | Functions | Variables
esphome::bl0939 Namespace Reference

Data Structures

class  BL0939
 
union  DataPacket
 
struct  sbe24_t
 
struct  ube16_t
 
struct  ube24_t
 

Functions

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

Variables

const uint8_t BL0939_INIT [6][6]
 
esphome::bl0939::BL0939 __attribute__
 

Function Documentation

◆ __attribute__()

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

Variable Documentation

◆ __attribute__

union esphome::bl0939::DataPacket esphome::bl0939::__attribute__

◆ BL0939_INIT

const uint8_t esphome::bl0939::BL0939_INIT[6][6]
Initial value:
= {
{BL0939_WRITE_COMMAND, BL0939_REG_SOFT_RESET, 0x5A, 0x5A, 0x5A, 0x33},
{BL0939_WRITE_COMMAND, BL0939_REG_USR_WRPROT, 0x55, 0x00, 0x00, 0xEB},
{BL0939_WRITE_COMMAND, BL0939_REG_MODE, 0x00, 0x10, 0x00, 0x32},
{BL0939_WRITE_COMMAND, BL0939_REG_TPS_CTRL, 0xFF, 0x47, 0x00, 0xF9},
{BL0939_WRITE_COMMAND, BL0939_REG_IA_FAST_RMS_CTRL, 0x1C, 0x18, 0x00, 0x16},
{BL0939_WRITE_COMMAND, BL0939_REG_IB_FAST_RMS_CTRL, 0x1C, 0x18, 0x00, 0x08}}

Definition at line 24 of file bl0939.cpp.