ESPHome  2022.12.8
Data Structures | Functions | Variables
esphome::bl0942 Namespace Reference

Data Structures

class  BL0942
 
struct  DataPacket
 

Functions

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

Variables

const uint8_t BL0942_INIT [5][6]
 
esphome::bl0942::BL0942 __attribute__
 

Function Documentation

◆ __attribute__()

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

Variable Documentation

◆ __attribute__

esphome::bl0942::BL0942 esphome::bl0942::__attribute__

◆ BL0942_INIT

const uint8_t esphome::bl0942::BL0942_INIT[5][6]
Initial value:
= {
{BL0942_WRITE_COMMAND, BL0942_REG_SOFT_RESET, 0x5A, 0x5A, 0x5A, 0x38},
{BL0942_WRITE_COMMAND, BL0942_REG_USR_WRPROT, 0x55, 0x00, 0x00, 0xF0},
{BL0942_WRITE_COMMAND, BL0942_REG_MODE, 0x00, 0x10, 0x00, 0x37},
{BL0942_WRITE_COMMAND, BL0942_REG_TPS_CTRL, 0xFF, 0x47, 0x00, 0xFE},
{BL0942_WRITE_COMMAND, BL0942_REG_I_FAST_RMS_CTRL, 0x1C, 0x18, 0x00, 0x1B}}

Definition at line 21 of file bl0942.cpp.