ESPHome  2024.11.2
Data Structures | Enumerations
esphome::cs5460a Namespace Reference

Data Structures

class  CS5460AComponent
 
class  CS5460ARestartAction
 

Enumerations

enum  CS5460ACommand {
  CMD_SYNC0 = 0xfe, CMD_SYNC1 = 0xff, CMD_START_SINGLE = 0xe0, CMD_START_CONT = 0xe8,
  CMD_POWER_UP = 0xa0, CMD_POWER_STANDBY = 0x88, CMD_POWER_SLEEP = 0x90, CMD_CALIBRATION = 0xc0,
  CMD_READ = 0x00, CMD_WRITE = 0x40
}
 
enum  CS5460ARegister {
  REG_CONFIG = 0x00, REG_IDCOFF = 0x01, REG_IGN = 0x02, REG_VDCOFF = 0x03,
  REG_VGN = 0x04, REG_CYCLE_COUNT = 0x05, REG_PULSE_RATE = 0x06, REG_I = 0x07,
  REG_V = 0x08, REG_P = 0x09, REG_E = 0x0a, REG_IRMS = 0x0b,
  REG_VRMS = 0x0c, REG_TBC = 0x0d, REG_POFF = 0x0e, REG_STATUS = 0x0f,
  REG_IACOFF = 0x10, REG_VACOFF = 0x11, REG_MASK = 0x1a, REG_CONTROL = 0x1c
}
 
enum  CS5460APGAGain { CS5460A_PGA_GAIN_10X = 0b0, CS5460A_PGA_GAIN_50X = 0b1 }
 Enum listing the current channel aplifiergain settings for the CS5460A. More...
 

Enumeration Type Documentation

◆ CS5460ACommand

Enumerator
CMD_SYNC0 
CMD_SYNC1 
CMD_START_SINGLE 
CMD_START_CONT 
CMD_POWER_UP 
CMD_POWER_STANDBY 
CMD_POWER_SLEEP 
CMD_CALIBRATION 
CMD_READ 
CMD_WRITE 

Definition at line 13 of file cs5460a.h.

◆ CS5460APGAGain

Enum listing the current channel aplifiergain settings for the CS5460A.

Enumerator
CS5460A_PGA_GAIN_10X 
CS5460A_PGA_GAIN_50X 

Definition at line 51 of file cs5460a.h.

◆ CS5460ARegister

Enumerator
REG_CONFIG 
REG_IDCOFF 
REG_IGN 
REG_VDCOFF 
REG_VGN 
REG_CYCLE_COUNT 
REG_PULSE_RATE 
REG_I 
REG_V 
REG_P 
REG_E 
REG_IRMS 
REG_VRMS 
REG_TBC 
REG_POFF 
REG_STATUS 
REG_IACOFF 
REG_VACOFF 
REG_MASK 
REG_CONTROL 

Definition at line 26 of file cs5460a.h.