ESPHome  2024.12.2
Data Structures | Enumerations
esphome::as7341 Namespace Reference

Data Structures

class  AS7341Component
 

Enumerations

enum  AS7341AdcChannel {
  AS7341_ADC_CHANNEL_0, AS7341_ADC_CHANNEL_1, AS7341_ADC_CHANNEL_2, AS7341_ADC_CHANNEL_3,
  AS7341_ADC_CHANNEL_4, AS7341_ADC_CHANNEL_5
}
 
enum  AS7341SmuxCommand { AS7341_SMUX_CMD_ROM_RESET, AS7341_SMUX_CMD_READ, AS7341_SMUX_CMD_WRITE }
 
enum  AS7341Gain {
  AS7341_GAIN_0_5X, AS7341_GAIN_1X, AS7341_GAIN_2X, AS7341_GAIN_4X,
  AS7341_GAIN_8X, AS7341_GAIN_16X, AS7341_GAIN_32X, AS7341_GAIN_64X,
  AS7341_GAIN_128X, AS7341_GAIN_256X, AS7341_GAIN_512X
}
 

Enumeration Type Documentation

◆ AS7341AdcChannel

Enumerator
AS7341_ADC_CHANNEL_0 
AS7341_ADC_CHANNEL_1 
AS7341_ADC_CHANNEL_2 
AS7341_ADC_CHANNEL_3 
AS7341_ADC_CHANNEL_4 
AS7341_ADC_CHANNEL_5 

Definition at line 48 of file as7341.h.

◆ AS7341Gain

Enumerator
AS7341_GAIN_0_5X 
AS7341_GAIN_1X 
AS7341_GAIN_2X 
AS7341_GAIN_4X 
AS7341_GAIN_8X 
AS7341_GAIN_16X 
AS7341_GAIN_32X 
AS7341_GAIN_64X 
AS7341_GAIN_128X 
AS7341_GAIN_256X 
AS7341_GAIN_512X 

Definition at line 63 of file as7341.h.

◆ AS7341SmuxCommand

Enumerator
AS7341_SMUX_CMD_ROM_RESET 

ROM code initialization of SMUX.

AS7341_SMUX_CMD_READ 

Read SMUX configuration to RAM from SMUX chain.

AS7341_SMUX_CMD_WRITE 

Write SMUX configuration from RAM to SMUX chain.

Definition at line 57 of file as7341.h.