foxBMS  1.6.0
The foxBMS Battery Management System API Documentation
adi_ades183x_defs.h File Reference

Headers for the driver for the ades183x analog front-end. More...

#include "battery_system_cfg.h"
#include "database.h"
#include "spi.h"
#include <stdint.h>
Include dependency graph for adi_ades183x_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ADI_ERROR_TABLE_s
 
struct  ADI_DATA_s
 
struct  ADI_STATE_s
 

Macros

#define ADI_WAIT_TIME_1_FOR_ADAX_FULL_CYCLE   (10u)
 
#define ADI_WAIT_TIME_2_FOR_ADAX_FULL_CYCLE   (8u)
 
#define ADI_NO_OW_CELL_VOLTAGE_REDUCTION   (9.0f / 10.0f)
 
#define ADI_OW_CELL_VOLTAGE_REDUCTION_MARGIN_mV   (1000.0f)
 
#define ADI_OW_LATENT_CHECK_MARGIN   (0.95f)
 
#define ADI_ODD_CELLS_MASK   (0x5555u)
 
#define ADI_EVEN_CELLS_MASK   (0xAAAAu)
 
#define ADI_NO_OW_GPIO_VOLTAGE_REDUCTION   (10.0f / 12.0f)
 
#define ADI_OW_GPIO_VOLTAGE_REDUCTION_MARGIN_mV   (1000.0f)
 
#define ADI_CFGRB_NUMBER_OF_DCC_BITS_PER_BYTE   (8u)
 
#define ADI_T_WAKE_us   (500u)
 
#define ADI_T_READY_us   (10u)
 
#define ADI_DAISY_CHAIN_WAKE_UP_TIME_us   (ADI_N_ADI * ADI_T_WAKE_us)
 
#define ADI_DAISY_CHAIN_READY_TIME_us   (ADI_N_ADI * ADI_T_READY_us)
 
#define ADI_COEFFICIENT_US_TO_MS   (1000u)
 
#define ADI_TRANSMISSION_TIMEOUT   (10u)
 
#define ADI_SPI_WAKEUP_WAIT_TIME_US   (100u)
 
#define ADI_START_AUX_CHANNEL   (1u)
 
#define ADI_N_ADI   (BS_NR_OF_MODULES_PER_STRING)
 
#define ADI_MAX_CELL_VOLTAGE_mV   (4500)
 
#define ADI_MIN_CELL_VOLTAGE_mV   (2000)
 
#define ADI_AUXILIARY_COMPARISON_THRESHOLD_mV   (9)
 
#define ADI_MIN_GPIO_VOLTAGE_mV   (100)
 
#define ADI_MAX_VD_mV   (3528.0f)
 
#define ADI_MIN_VD_mV   (2754.0f)
 
#define ADI_MAX_VA_mV   (5486.0f)
 
#define ADI_MIN_VA_mV   (4512.0f)
 
#define ADI_MAX_VREF2_mV   (3015.0f)
 
#define ADI_MIN_VREF2_mV   (2985.0f)
 
#define ADI_MAX_ITMP_degC   (125.0f)
 
#define ADI_MIN_ITMP_degC   (-40.0f)
 
#define ADI_OSCILLATOR_FASTER_THRESHOLD   (70u)
 
#define ADI_OSCILLATOR_SLOWER_THRESHOLD   (52u)
 
#define ADI_QUEUE_TIMEOUT_MS   ((TickType_t)0u)
 
#define ADI_BYTE_SHIFT   (8u)
 
#define ADI_PEC10_FULL_EXCLUDE_COMMAND_COUNTER   (0x3Fu)
 
#define ADI_PEC10_MSB_EXCLUDE_COMMAND_COUNTER   (0x3u)
 
#define ADI_ONE_BYTE_MASK   (0xFFu)
 
#define ADI_MAX_REGISTER_SIZE_IN_BYTES   (6u)
 
#define ADI_COMMAND_AND_PEC_SIZE_IN_BYTES   (4u)
 
#define ADI_COMMAND_SIZE_IN_BYTES   (2u)
 
#define ADI_PEC_SIZE_IN_BYTES   (2u)
 
#define ADI_MAX_BIT_POSITION_IN_BYTE   (7u)
 
#define ADI_RAW_VOLTAGE_SIZE_IN_BYTES   (2u)
 
#define ADI_MAX_NUMBER_OF_VOLTAGES_IN_REGISTER   (3u)
 
#define ADI_MAX_NUMBER_OF_GPIO_VOLTAGES_IN_REGISTER   (3u)
 
#define ADI_NUMBER_OF_GPIO_VOLTAGES_IN_REGISTER_D   (1u)
 
#define ADI_SIZE_OF_DATA_FOR_PEC_COMPUTATION   (6u)
 
#define ADI_SIZE_OF_DATA_FOR_PEC_COMPUTATION_WITH_COUNTER   (7u)
 
#define ADI_N_BYTES_FOR_DATA_TRANSMISSION    (ADI_COMMAND_AND_PEC_SIZE_IN_BYTES + ((ADI_MAX_REGISTER_SIZE_IN_BYTES + ADI_PEC_SIZE_IN_BYTES) * ADI_N_ADI))
 
#define ADI_FIRST_DATA_BYTE_POSITION_IN_TRANSMISSION_FRAME   (4u)
 
#define ADI_DATA_BUFFER_OFFSET_IN_BITS   (8u)
 
#define ADI_COMMAND_COUNTER_MASK   (0xFCu)
 
#define ADI_COMMAND_COUNTER_POSITION   (2u)
 
#define ADI_COMMAND_COUNTER_MAX_VALUE   (63u)
 
#define ADI_COMMAND_COUNTER_RESTART_VALUE   (1u)
 
#define ADI_COMMAND_COUNTER_RESET_VALUE   (0u)
 
#define ADI_COMMAND_BYTE0_POSITION   (0u)
 
#define ADI_COMMAND_BYTE1_POSITION   (1u)
 
#define ADI_COMMAND_INC_POSITION   (2u)
 
#define ADI_COMMAND_DATA_LENGTH_POSITION   (3u)
 
#define ADI_COMPARISON_THRESHOLD_5_1_mV   (0x00u) /* 0b000u */
 
#define ADI_COMPARISON_THRESHOLD_8_1_mV   (0x01u) /* 0b001u */
 
#define ADI_COMPARISON_THRESHOLD_9_1_mV   (0x02u) /* 0b010u */
 
#define ADI_COMPARISON_THRESHOLD_10_05_mV   (0x03u) /* 0b011u */
 
#define ADI_COMPARISON_THRESHOLD_15_mV   (0x04u) /* 0b100u */
 
#define ADI_COMPARISON_THRESHOLD_19_95_mV   (0x05u) /* 0b101u */
 
#define ADI_COMPARISON_THRESHOLD_25_05_mV   (0x06u) /* 0b110u */
 
#define ADI_COMPARISON_THRESHOLD_45_05_mV   (0x07u) /* 0b111u */
 
#define ADI_IIR_FILTER_DISABLED   (0x00u) /* 0b000u */
 
#define ADI_IIR_FILTER_PARAMETER_2   (0x01u) /* 0b001u */
 
#define ADI_IIR_FILTER_PARAMETER_4   (0x02u) /* 0b010u */
 
#define ADI_IIR_FILTER_PARAMETER_8   (0x03u) /* 0b011u */
 
#define ADI_IIR_FILTER_PARAMETER_16   (0x04u) /* 0b100u */
 
#define ADI_IIR_FILTER_PARAMETER_32   (0x05u) /* 0b101u */
 
#define ADI_IIR_FILTER_PARAMETER_128   (0x06u) /* 0b110u */
 
#define ADI_IIR_FILTER_PARAMETER_256   (0x07u) /* 0b111u */
 
#define ADI_IIR_SETTLING_TIME_ms   (5u)
 
#define ADI_MEASUREMENT_RESTART_WAIT_TIME_ms   (1u)
 
#define ADI_MEASUREMENT_STOP_WAIT_TIME_ms   (1u)
 
#define ADI_BALANCING_TIME_ms   (20u)
 
#define ADI_REDUNDANT_ADC_MEASUREMENT_TIME_ms   (8u)
 
#define ADI_OW_LATENT_FAULT_MEASUREMENT_TIME_ms   (16u)
 
#define ADI_COMMAND_CODE_LENGTH   (11u)
 
#define ADI_COMMAND_DEFINITION_LENGTH   (4u)
 
#define ADI_COMMAND_MASK_SEED   (0xFFFFu)
 
#define ADI_DATA_MASK_SEED   (0xFFFFu)
 
#define ADI_REGISTER_POR_VALUE   (0x7FFFu)
 
#define ADI_REGISTER_CLEARED_VALUE   (0x8000u)
 
#define ADI_TREFUP_ms   (5u)
 
#define ADI_TSOFTRESET_ms   (50u)
 
#define ADI_CFGRA0_CTH_0_2_POS   (0u)
 
#define ADI_CFGRA0_CTH_0_2_MASK   (0x7u)
 
#define ADI_CFGRA0_REFON_POS   (7u)
 
#define ADI_CFGRA0_REFON_MASK   (0x80u)
 
#define ADI_CFGRA1_FLAG_D_0_7_POS   (0u)
 
#define ADI_CFGRA1_FLAG_D_0_7_MASK   (0xFFu)
 
#define ADI_CFGRA2_OWA_0_2_POS   (3u)
 
#define ADI_CFGRA2_OWA_0_2_MASK   (0x38u)
 
#define ADI_CFGRA2_OWRNG_POS   (6u)
 
#define ADI_CFGRA2_OWRNG_MASK   (0x40u)
 
#define ADI_CFGRA2_SOAKON_POS   (7u)
 
#define ADI_CFGRA2_SOAKON_MASK   (0x80u)
 
#define ADI_CFGRA3_GPO_1_8_POS   (0u)
 
#define ADI_CFGRA3_GPO_1_8_MASK   (0xFFu)
 
#define ADI_CFGRA4_GPO_9_10_POS   (0u)
 
#define ADI_CFGRA4_GPO_9_10_MASK   (0x3u)
 
#define ADI_CFGRA5_FC_0_2_POS   (0u)
 
#define ADI_CFGRA5_FC_0_2_MASK   (0x7u)
 
#define ADI_CFGRA5_COMM_BK_POS   (3u)
 
#define ADI_CFGRA5_COMM_BK_MASK   (0x8u)
 
#define ADI_CFGRA5_MUTE_ST_POS   (4u)
 
#define ADI_CFGRA5_MUTE_ST_MASK   (0x10u)
 
#define ADI_CFGRA5_SNAP_ST_POS   (5u)
 
#define ADI_CFGRA5_SNAP_ST_MASK   (0x20u)
 
#define ADI_CFGRB0_VUV_0_7_POS   (0u)
 
#define ADI_CFGRB0_VUV_0_7_MASK   (0xFFu)
 
#define ADI_CFGRB1_VUV_8_11_POS   (0u)
 
#define ADI_CFGRB1_VUV_8_11_MASK   (0xFu)
 
#define ADI_CFGRB1_VOV_0_3_POS   (4u)
 
#define ADI_CFGRB1_VOV_0_3_MASK   (0xF0u)
 
#define ADI_CFGRB2_VOV_4_11_POS   (0u)
 
#define ADI_CFGRB2_VOV_4_11_MASK   (0xFFu)
 
#define ADI_CFGRB3_DCT0_0_5_POS   (0u)
 
#define ADI_CFGRB3_DCT0_0_5_MASK   (0x3Fu)
 
#define ADI_CFGRB3_DTRNG_POS   (6u)
 
#define ADI_CFGRB3_DTRNG_MASK   (0x40u)
 
#define ADI_CFGRB3_DTMEN_POS   (7u)
 
#define ADI_CFGRB3_DTMEN_MASK   (0x80u)
 
#define ADI_CFGRB4_DCC_1_8_POS   (0u)
 
#define ADI_CFGRB4_DCC_1_8_MASK   (0xFFu)
 
#define ADI_CFGRB5_DCC_9_16_POS   (0u)
 
#define ADI_CFGRB5_DCC_9_16_MASK   (0xFFu)
 
#define ADI_STAR0_VREF2_0_7_POS   (0u)
 
#define ADI_STAR0_VREF2_0_7_MASK   (0xFFu)
 
#define ADI_STAR1_VREF2_8_15_POS   (0u)
 
#define ADI_STAR1_VREF2_8_15_MASK   (0xFFu)
 
#define ADI_STAR2_ITMP_0_7_POS   (0u)
 
#define ADI_STAR2_ITMP_0_7_MASK   (0xFFu)
 
#define ADI_STAR3_ITMP_8_15_POS   (0u)
 
#define ADI_STAR3_ITMP_8_15_MASK   (0xFFu)
 
#define ADI_STBR0_VD_0_7_POS   (0u)
 
#define ADI_STBR0_VD_0_7_MASK   (0xFFu)
 
#define ADI_STBR1_VD_8_15_POS   (0u)
 
#define ADI_STBR1_VD_8_15_MASK   (0xFFu)
 
#define ADI_STBR2_VA_0_7_POS   (0u)
 
#define ADI_STBR2_VA_0_7_MASK   (0xFFu)
 
#define ADI_STBR3_VA_8_15_POS   (0u)
 
#define ADI_STBR3_VA_8_15_MASK   (0xFFu)
 
#define ADI_STBR4_VRES_0_7_POS   (0u)
 
#define ADI_STBR4_VRES_0_7_MASK   (0xFFu)
 
#define ADI_STBR5_VRES_8_15_POS   (0u)
 
#define ADI_STBR5_VRES_8_15_MASK   (0xFFu)
 
#define ADI_STCR0_CS1FLT_POS   (0u)
 
#define ADI_STCR0_CS1FLT_MASK   (0x01u)
 
#define ADI_STCR0_CS2FLT_POS   (1u)
 
#define ADI_STCR0_CS2FLT_MASK   (0x02u)
 
#define ADI_STCR0_CS3FLT_POS   (2u)
 
#define ADI_STCR0_CS3FLT_MASK   (0x04u)
 
#define ADI_STCR0_CS4FLT_POS   (3u)
 
#define ADI_STCR0_CS4FLT_MASK   (0x08u)
 
#define ADI_STCR0_CS5FLT_POS   (4u)
 
#define ADI_STCR0_CS5FLT_MASK   (0x10u)
 
#define ADI_STCR0_CS6FLT_POS   (5u)
 
#define ADI_STCR0_CS6FLT_MASK   (0x20u)
 
#define ADI_STCR0_CS7FLT_POS   (6u)
 
#define ADI_STCR0_CS7FLT_MASK   (0x40u)
 
#define ADI_STCR0_CS8FLT_POS   (7u)
 
#define ADI_STCR0_CS8FLT_MASK   (0x80u)
 
#define ADI_STCR1_CS9FLT_POS   (0u)
 
#define ADI_STCR1_CS9FLT_MASK   (0x01u)
 
#define ADI_STCR1_CS10FLT_POS   (1u)
 
#define ADI_STCR1_CS10FLT_MASK   (0x02u)
 
#define ADI_STCR1_CS11FLT_POS   (2u)
 
#define ADI_STCR1_CS11FLT_MASK   (0x04u)
 
#define ADI_STCR1_CS12FLT_POS   (3u)
 
#define ADI_STCR1_CS12FLT_MASK   (0x08u)
 
#define ADI_STCR1_CS13FLT_POS   (4u)
 
#define ADI_STCR1_CS13FLT_MASK   (0x10u)
 
#define ADI_STCR1_CS14FLT_POS   (5u)
 
#define ADI_STCR1_CS14FLT_MASK   (0x20u)
 
#define ADI_STCR1_CS15FLT_POS   (6u)
 
#define ADI_STCR1_CS15FLT_MASK   (0x40u)
 
#define ADI_STCR1_CS16FLT_POS   (7u)
 
#define ADI_STCR1_CS16FLT_MASK   (0x80u)
 
#define ADI_STCR2_CT_6_10_POS   (0u)
 
#define ADI_STCR2_CT_6_10_MASK   (0x1Fu)
 
#define ADI_STCR3_CTS_0_1_POS   (0u)
 
#define ADI_STCR3_CTS_0_1_MASK   (0x03u)
 
#define ADI_STCR3_CT_0_5_POS   (2u)
 
#define ADI_STCR3_CT_0_5_MASK   (0xFCu)
 
#define ADI_STCR4_SMED_POS   (0u)
 
#define ADI_STCR4_SMED_MASK   (0x01u)
 
#define ADI_STCR4_SED_POS   (1u)
 
#define ADI_STCR4_SED_MASK   (0x02u)
 
#define ADI_STCR4_CMED_POS   (2u)
 
#define ADI_STCR4_CMED_MASK   (0x04u)
 
#define ADI_STCR4_CED_POS   (3u)
 
#define ADI_STCR4_CED_MASK   (0x08u)
 
#define ADI_STCR4_VD_UV_POS   (4u)
 
#define ADI_STCR4_VD_UV_MASK   (0x10u)
 
#define ADI_STCR4_VD_OV_POS   (5u)
 
#define ADI_STCR4_VD_OV_MASK   (0x20u)
 
#define ADI_STCR4_VA_UV_POS   (6u)
 
#define ADI_STCR4_VA_UV_MASK   (0x40u)
 
#define ADI_STCR4_VA_OV_POS   (7u)
 
#define ADI_STCR4_VA_OV_MASK   (0x80u)
 
#define ADI_STCR5_OSCCHK_POS   (0u)
 
#define ADI_STCR5_OSCCHK_MASK   (0x01u)
 
#define ADI_STCR5_TMODCHK_POS   (1u)
 
#define ADI_STCR5_TMODCHK_MASK   (0x02u)
 
#define ADI_STCR5_THSD_POS   (2u)
 
#define ADI_STCR5_THSD_MASK   (0x04u)
 
#define ADI_STCR5_SLEEP_POS   (3u)
 
#define ADI_STCR5_SLEEP_MASK   (0x08u)
 
#define ADI_STCR5_SPIFLT_POS   (4u)
 
#define ADI_STCR5_SPIFLT_MASK   (0x10u)
 
#define ADI_STCR5_COMP_POS   (5u)
 
#define ADI_STCR5_COMP_MASK   (0x20u)
 
#define ADI_STCR5_VDE_POS   (6u)
 
#define ADI_STCR5_VDE_MASK   (0x40u)
 
#define ADI_STCR5_VDEL_POS   (7u)
 
#define ADI_STCR5_VDEL_MASK   (0x80u)
 
#define ADI_STDR0_C1UV_POS   (0u)
 
#define ADI_STDR0_C1UV_MASK   (0x01u)
 
#define ADI_STDR0_C1OV_POS   (1u)
 
#define ADI_STDR0_C1OV_MASK   (0x02u)
 
#define ADI_STDR0_C2UV_POS   (2u)
 
#define ADI_STDR0_C2UV_MASK   (0x04u)
 
#define ADI_STDR0_C2OV_POS   (3u)
 
#define ADI_STDR0_C2OV_MASK   (0x08u)
 
#define ADI_STDR0_C3UV_POS   (4u)
 
#define ADI_STDR0_C3UV_MASK   (0x10u)
 
#define ADI_STDR0_C3OV_POS   (5u)
 
#define ADI_STDR0_C3OV_MASK   (0x20u)
 
#define ADI_STDR0_C4UV_POS   (6u)
 
#define ADI_STDR0_C4UV_MASK   (0x40u)
 
#define ADI_STDR0_C4OV_POS   (7u)
 
#define ADI_STDR0_C4OV_MASK   (0x80u)
 
#define ADI_STDR1_C5UV_POS   (0u)
 
#define ADI_STDR1_C5UV_MASK   (0x01u)
 
#define ADI_STDR1_C50OV_POS   (1u)
 
#define ADI_STDR1_C50OV_MASK   (0x02u)
 
#define ADI_STDR1_C6UV_POS   (2u)
 
#define ADI_STDR1_C6UV_MASK   (0x04u)
 
#define ADI_STDR1_C6OV_POS   (3u)
 
#define ADI_STDR1_C6OV_MASK   (0x08u)
 
#define ADI_STDR1_C7UV_POS   (4u)
 
#define ADI_STDR1_C7UV_MASK   (0x10u)
 
#define ADI_STDR1_C7OV_POS   (5u)
 
#define ADI_STDR1_C7OV_MASK   (0x20u)
 
#define ADI_STDR1_C8UV_POS   (6u)
 
#define ADI_STDR1_C8UV_MASK   (0x40u)
 
#define ADI_STDR1_C8OV_POS   (7u)
 
#define ADI_STDR1_C8OV_MASK   (0x80u)
 
#define ADI_STDR2_C9UV_POS   (0u)
 
#define ADI_STDR2_C9UV_MASK   (0x01u)
 
#define ADI_STDR2_C9OV_POS   (1u)
 
#define ADI_STDR2_C9OV_MASK   (0x02u)
 
#define ADI_STDR2_C10UV_POS   (2u)
 
#define ADI_STDR2_C10UV_MASK   (0x04u)
 
#define ADI_STDR2_C10OV_POS   (3u)
 
#define ADI_STDR2_C10OV_MASK   (0x08u)
 
#define ADI_STDR2_C11UV_POS   (4u)
 
#define ADI_STDR2_C11UV_MASK   (0x10u)
 
#define ADI_STDR2_C11OV_POS   (5u)
 
#define ADI_STDR2_C11OV_MASK   (0x20u)
 
#define ADI_STDR2_C12UV_POS   (6u)
 
#define ADI_STDR2_C12UV_MASK   (0x40u)
 
#define ADI_STDR2_C12OV_POS   (7u)
 
#define ADI_STDR2_C12OV_MASK   (0x80u)
 
#define ADI_STDR3_C13UV_POS   (0u)
 
#define ADI_STDR3_C13UV_MASK   (0x01u)
 
#define ADI_STDR3_C13OV_POS   (1u)
 
#define ADI_STDR3_C13OV_MASK   (0x02u)
 
#define ADI_STDR3_C14UV_POS   (2u)
 
#define ADI_STDR3_C14UV_MASK   (0x04u)
 
#define ADI_STDR3_C14OV_POS   (3u)
 
#define ADI_STDR3_C14OV_MASK   (0x08u)
 
#define ADI_STDR3_C15UV_POS   (4u)
 
#define ADI_STDR3_C15UV_MASK   (0x10u)
 
#define ADI_STDR3_C15OV_POS   (5u)
 
#define ADI_STDR3_C15OV_MASK   (0x20u)
 
#define ADI_STDR3_C16UV_POS   (6u)
 
#define ADI_STDR3_C16UV_MASK   (0x40u)
 
#define ADI_STDR3_C16OV_POS   (7u)
 
#define ADI_STDR3_C16OV_MASK   (0x80u)
 
#define ADI_STDR5_OC_CNTR_0_7_POS   (0u)
 
#define ADI_STDR5_OC_CNTR_0_7_MASK   (0xFFu)
 
#define ADI_STER4_GPI_1_8_POS   (0u)
 
#define ADI_STER4_GPI_1_8_MASK   (0xFFu)
 
#define ADI_STER5_GPI_9_10_POS   (0u)
 
#define ADI_STER5_GPI_9_10_MASK   (0x03u)
 
#define ADI_STER5_REV_0_3_POS   (4u)
 
#define ADI_STER5_REV_0_3_MASK   (0xF0u)
 
#define ADI_DEFAULT_CTH_COMPARISON_THRESHOLD   (ADI_COMPARISON_THRESHOLD_9_1_mV)
 
#define ADI_DEFAULT_REFON_SETUP   (1u)
 
#define ADI_DEFAULT_FLAG_D_SETUP   (ADI_FLAG_D_DEFAULT)
 
#define ADI_DEFAULT_OWA_SETUP   (0u)
 
#define ADI_DEFAULT_OWRNG_SETUP   (0u)
 
#define ADI_DEFAULT_SOAKON_SETUP   (0u)
 
#define ADI_DEFAULT_GPO_1_8_SETUP   (0xFFu)
 
#define ADI_DEFAULT_GPO_9_10_SETUP   (0x03u)
 
#define ADI_DEFAULT_IIR_SETUP   (ADI_IIR_FILTER_PARAMETER_32)
 
#define ADI_DEFAULT_COMM_BK_SETUP   (0u)
 
#define ADI_DEFAULT_MUTE_ST_SETUP   (0u)
 
#define ADI_DEFAULT_SNAP_ST_SETUP   (0u)
 
#define ADI_DEFAULT_VUV_0_7_SETUP   (0u)
 
#define ADI_DEFAULT_VUV_8_11_SETUP   (0x8u)
 
#define ADI_DEFAULT_VOV_0_3_SETUP   (0xFu)
 
#define ADI_DEFAULT_VOV_4_11_SETUP   (0x7Fu)
 
#define ADI_DEFAULT_DCT0_0_5_SETUP   (0u)
 
#define ADI_DEFAULT_DTRNG_SETUP   (0u)
 
#define ADI_DEFAULT_DTMEN_SETUP   (0u)
 
#define ADI_DEFAULT_DCC_1_8_SETUP   (0u)
 
#define ADI_DEFAULT_DCC_9_16_SETUP   (0u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE0   (1u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE1   (2u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE2   (3u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE3   (4u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE4   (5u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE5   (6u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE0   (7u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE1   (8u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE2   (9u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE3   (10u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE4   (11u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE5   (12u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE0   (13u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE1   (14u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE2   (15u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE3   (16u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE4   (17u)
 
#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE5   (18u)
 
#define ADI_FLAG_D_DEFAULT   (0x00u) /* 0b00000000u */
 
#define ADI_FLAG_D_UV_CHECK   (0x04u) /* 0b00000100u */
 
#define ADI_FLAG_D_OV_CHECK   (0x0Cu) /* 0b00001100u */
 
#define ADI_FLAG_D_OSC_FASTER   (0x01u) /* 0b00000001u */
 
#define ADI_FLAG_D_OSC_SLOWER   (0x02u) /* 0b00000010u */
 
#define ADI_FLAG_D_FORCE_THSD   (0x10u) /* 0b00010000u */
 
#define ADI_FLAG_D_FORCE_TMODCHK   (0x80u) /* 0b10000000u */
 
#define ADI_FLAG_D_INDUCE_ECC_ERROR   (0x60u) /* 0b01100000u */
 
#define ADI_VOLTAGE_CONVERSION_FACTOR   (150e-6f)
 
#define ADI_VOLTAGE_CONVERSION_UNIT   (1000.0f)
 
#define ADI_VOLTAGE_CONVERSION_OFFSET   (1500.0f)
 
#define ADI_DIE_TEMPERATURE_VOLTAGE_OFFSET   (1.5f)
 
#define ADI_DIE_TEMPERATURE_KELVIN_OFFSET   (273.0f)
 
#define ADI_DIE_TEMPERATURE_SCALING_FACTOR   (7.5f)
 
#define ADI_VOLTAGE_00_02_OFFSET   (0u)
 
#define ADI_VOLTAGE_03_05_OFFSET   (3u)
 
#define ADI_VOLTAGE_06_08_OFFSET   (6u)
 
#define ADI_VOLTAGE_09_11_OFFSET   (9u)
 
#define ADI_VOLTAGE_12_14_OFFSET   (12u)
 
#define ADI_VOLTAGE_15_18_OFFSET   (15u)
 
#define ADI_COMMAND_FIRST_BYTE_POSITION   (0u)
 
#define ADI_COMMAND_SECOND_BYTE_POSITION   (1u)
 
#define ADI_COMMAND_PEC_FIRST_BYTE_POSITION   (2u)
 
#define ADI_COMMAND_PEC_SECOND_BYTE_POSITION   (3u)
 
#define ADI_DATA_PEC_FIRST_BYTE_POSITION   (0u)
 
#define ADI_DATA_PEC_SECOND_BYTE_POSITION   (1u)
 
#define ADI_ICOM_START   (0x60u)
 
#define ADI_ICOM_STOP   (0x10u)
 
#define ADI_ICOM_BLANK   (0x00u)
 
#define ADI_ICOM_NO_TRANSMIT   (0x70u)
 
#define ADI_FCOM_MASTER_ACK   (0x00u)
 
#define ADI_FCOM_MASTER_NACK   (0x08u)
 
#define ADI_FCOM_MASTER_NACK_STOP   (0x09u)
 
#define ADI_RESULT_REGISTER_SET_A   (0u)
 
#define ADI_RESULT_REGISTER_SET_B   (1u)
 
#define ADI_RESULT_REGISTER_SET_C   (2u)
 
#define ADI_RESULT_REGISTER_SET_D   (3u)
 
#define ADI_RESULT_REGISTER_SET_E   (4u)
 
#define ADI_RESULT_REGISTER_SET_F   (5u)
 
#define ADI_REGISTER_OFFSET0   (0u)
 
#define ADI_REGISTER_OFFSET1   (1u)
 
#define ADI_REGISTER_OFFSET2   (2u)
 
#define ADI_REGISTER_OFFSET3   (3u)
 
#define ADI_REGISTER_OFFSET4   (4u)
 
#define ADI_REGISTER_OFFSET5   (5u)
 
#define ADI_AUXILIARY_RESULT_REGISTER_SET_A   (0u)
 
#define ADI_AUXILIARY_RESULT_REGISTER_SET_B   (1u)
 
#define ADI_AUXILIARY_RESULT_REGISTER_SET_C   (2u)
 
#define ADI_AUXILIARY_RESULT_REGISTER_SET_D   (3u)
 
#define ADI_AUXILIARY_RESULT_REGISTER_SET_E   (4u)
 
#define ADI_ADCV_BYTE0   (0x02u) /* Table 52 - */
 
#define ADI_ADCV_BYTE1   (0x60u)
 
#define ADI_ADCV_INC   (1u)
 
#define ADI_ADCV_LEN   (0u)
 
#define ADI_ADCV_RD_POS   (8u)
 
#define ADI_ADCV_RD_LEN   (1u)
 
#define ADI_ADCV_CONT_POS   (7u)
 
#define ADI_ADCV_CONT_LEN   (1u)
 
#define ADI_ADCV_DCP_POS   (4u)
 
#define ADI_ADCV_DCP_LEN   (1u)
 
#define ADI_ADCV_RSTF_POS   (2u)
 
#define ADI_ADCV_RSTF_LEN   (1u)
 
#define ADI_ADCV_OW01_POS   (0u)
 
#define ADI_ADCV_OW01_LEN   (2u)
 
#define ADI_ADSV_BYTE0   (0x01u)
 
#define ADI_ADSV_BYTE1   (0x68u)
 
#define ADI_ADSV_INC   (1u)
 
#define ADI_ADSV_LEN   (0u)
 
#define ADI_ADSV_CONT_POS   (7u)
 
#define ADI_ADSV_CONT_LEN   (1u)
 
#define ADI_ADSV_DCP_POS   (4u)
 
#define ADI_ADSV_DCP_LEN   (1u)
 
#define ADI_ADSV_OW01_POS   (0u)
 
#define ADI_ADSV_OW01_LEN   (2u)
 
#define ADI_ADAX_BYTE0   (0x04u)
 
#define ADI_ADAX_BYTE1   (0x10u)
 
#define ADI_ADAX_INC   (1u)
 
#define ADI_ADAX_LEN   (0u)
 
#define ADI_ADAX_OW_POS   (8u)
 
#define ADI_ADAX_OW_LEN   (1u)
 
#define ADI_ADAX_PUP_POS   (7u)
 
#define ADI_ADAX_PUP_LEN   (1u)
 
#define ADI_ADAX_CH4_POS   (6u)
 
#define ADI_ADAX_CH4_LEN   (1u)
 
#define ADI_ADAX_CH03_POS   (0u)
 
#define ADI_ADAX_CH03_LEN   (4u)
 
#define ADI_ADAX2_BYTE0   (0x04u)
 
#define ADI_ADAX2_BYTE1   (0x00u)
 
#define ADI_ADAX2_INC   (1u)
 
#define ADI_ADAX2_LEN   (0u)
 
#define ADI_ADAX2_CH03_POS   (0u)
 
#define ADI_ADAX2_CH03_LEN   (4u)
 
#define ADI_WRCFGA_BYTE0   (0x00u)
 
#define ADI_WRCFGA_BYTE1   (0x01u)
 
#define ADI_WRCFGA_INC   (1u)
 
#define ADI_WRCFGA_LEN   (6u)
 
#define ADI_WRCFGB_BYTE0   (0x00u)
 
#define ADI_WRCFGB_BYTE1   (0x24u)
 
#define ADI_WRCFGB_INC   (1u)
 
#define ADI_WRCFGB_LEN   (6u)
 
#define ADI_RDCFGA_BYTE0   (0x00u)
 
#define ADI_RDCFGA_BYTE1   (0x02u)
 
#define ADI_RDCFGA_INC   (0u)
 
#define ADI_RDCFGA_LEN   (6u)
 
#define ADI_RDCFGB_BYTE0   (0x00u)
 
#define ADI_RDCFGB_BYTE1   (0x26u)
 
#define ADI_RDCFGB_INC   (0u)
 
#define ADI_RDCFGB_LEN   (6u)
 
#define ADI_RDCVA_BYTE0   (0x00u)
 
#define ADI_RDCVA_BYTE1   (0x04u)
 
#define ADI_RDCVA_INC   (0u)
 
#define ADI_RDCVA_LEN   (6u)
 
#define ADI_RDCVB_BYTE0   (0x00u)
 
#define ADI_RDCVB_BYTE1   (0x06u)
 
#define ADI_RDCVB_INC   (0u)
 
#define ADI_RDCVB_LEN   (6u)
 
#define ADI_RDCVC_BYTE0   (0x00u)
 
#define ADI_RDCVC_BYTE1   (0x08u)
 
#define ADI_RDCVC_INC   (0u)
 
#define ADI_RDCVC_LEN   (6u)
 
#define ADI_RDCVD_BYTE0   (0x00u)
 
#define ADI_RDCVD_BYTE1   (0x0Au)
 
#define ADI_RDCVD_INC   (0u)
 
#define ADI_RDCVD_LEN   (6u)
 
#define ADI_RDCVE_BYTE0   (0x00u)
 
#define ADI_RDCVE_BYTE1   (0x09u)
 
#define ADI_RDCVE_INC   (0u)
 
#define ADI_RDCVE_LEN   (6u)
 
#define ADI_RDCVF_BYTE0   (0x00u)
 
#define ADI_RDCVF_BYTE1   (0x0Bu)
 
#define ADI_RDCVF_INC   (0u)
 
#define ADI_RDCVF_LEN   (6u)
 
#define ADI_RDACA_BYTE0   (0x00u)
 
#define ADI_RDACA_BYTE1   (0x44u)
 
#define ADI_RDACA_INC   (0u)
 
#define ADI_RDACA_LEN   (6u)
 
#define ADI_RDACB_BYTE0   (0x00u)
 
#define ADI_RDACB_BYTE1   (0x46u)
 
#define ADI_RDACB_INC   (0u)
 
#define ADI_RDACB_LEN   (6u)
 
#define ADI_RDACC_BYTE0   (0x00u)
 
#define ADI_RDACC_BYTE1   (0x48u)
 
#define ADI_RDACC_INC   (0u)
 
#define ADI_RDACC_LEN   (6u)
 
#define ADI_RDACD_BYTE0   (0x00u)
 
#define ADI_RDACD_BYTE1   (0x4Au)
 
#define ADI_RDACD_INC   (0u)
 
#define ADI_RDACD_LEN   (6u)
 
#define ADI_RDACE_BYTE0   (0x00u)
 
#define ADI_RDACE_BYTE1   (0x49u)
 
#define ADI_RDACE_INC   (0u)
 
#define ADI_RDACE_LEN   (6u)
 
#define ADI_RDACF_BYTE0   (0x00u)
 
#define ADI_RDACF_BYTE1   (0x4Bu)
 
#define ADI_RDACF_INC   (0u)
 
#define ADI_RDACF_LEN   (6u)
 
#define ADI_RDFCA_BYTE0   (0x00u)
 
#define ADI_RDFCA_BYTE1   (0x12u)
 
#define ADI_RDFCA_INC   (0u)
 
#define ADI_RDFCA_LEN   (6u)
 
#define ADI_RDFCB_BYTE0   (0x00u)
 
#define ADI_RDFCB_BYTE1   (0x13u)
 
#define ADI_RDFCB_INC   (0u)
 
#define ADI_RDFCB_LEN   (6u)
 
#define ADI_RDFCC_BYTE0   (0x00u)
 
#define ADI_RDFCC_BYTE1   (0x14u)
 
#define ADI_RDFCC_INC   (0u)
 
#define ADI_RDFCC_LEN   (6u)
 
#define ADI_RDFCD_BYTE0   (0x00u)
 
#define ADI_RDFCD_BYTE1   (0x15u)
 
#define ADI_RDFCD_INC   (0u)
 
#define ADI_RDFCD_LEN   (6u)
 
#define ADI_RDFCE_BYTE0   (0x00u)
 
#define ADI_RDFCE_BYTE1   (0x16u)
 
#define ADI_RDFCE_INC   (0u)
 
#define ADI_RDFCE_LEN   (6u)
 
#define ADI_RDFCF_BYTE0   (0x00u)
 
#define ADI_RDFCF_BYTE1   (0x17u)
 
#define ADI_RDFCF_INC   (0u)
 
#define ADI_RDFCF_LEN   (6u)
 
#define ADI_RDSVA_BYTE0   (0x00u)
 
#define ADI_RDSVA_BYTE1   (0x03u)
 
#define ADI_RDSVA_INC   (0u)
 
#define ADI_RDSVA_LEN   (6u)
 
#define ADI_RDSVB_BYTE0   (0x00u)
 
#define ADI_RDSVB_BYTE1   (0x05u)
 
#define ADI_RDSVB_INC   (0u)
 
#define ADI_RDSVB_LEN   (6u)
 
#define ADI_RDSVC_BYTE0   (0x00u)
 
#define ADI_RDSVC_BYTE1   (0x07u)
 
#define ADI_RDSVC_INC   (0u)
 
#define ADI_RDSVC_LEN   (6u)
 
#define ADI_RDSVD_BYTE0   (0x00u)
 
#define ADI_RDSVD_BYTE1   (0x0Du)
 
#define ADI_RDSVD_INC   (0u)
 
#define ADI_RDSVD_LEN   (6u)
 
#define ADI_RDSVE_BYTE0   (0x00u)
 
#define ADI_RDSVE_BYTE1   (0x0Eu)
 
#define ADI_RDSVE_INC   (0u)
 
#define ADI_RDSVE_LEN   (6u)
 
#define ADI_RDSVF_BYTE0   (0x00u)
 
#define ADI_RDSVF_BYTE1   (0x0Fu)
 
#define ADI_RDSVF_INC   (0u)
 
#define ADI_RDSVF_LEN   (6u)
 
#define ADI_SNAPSHOT_BYTE0   (0x00u)
 
#define ADI_SNAPSHOT_BYTE1   (0x2Du)
 
#define ADI_SNAPSHOT_INC   (1u)
 
#define ADI_SNAPSHOT_LEN   (0u)
 
#define ADI_UNSNAPSHOT_BYTE0   (0x00u)
 
#define ADI_UNSNAPSHOT_BYTE1   (0x2Fu)
 
#define ADI_UNSNAPSHOT_INC   (1u)
 
#define ADI_UNSNAPSHOT_LEN   (0u)
 
#define ADI_RDAUXA_BYTE0   (0x00u)
 
#define ADI_RDAUXA_BYTE1   (0x19u)
 
#define ADI_RDAUXA_INC   (0u)
 
#define ADI_RDAUXA_LEN   (6u)
 
#define ADI_RDAUXB_BYTE0   (0x00u)
 
#define ADI_RDAUXB_BYTE1   (0x1Au)
 
#define ADI_RDAUXB_INC   (0u)
 
#define ADI_RDAUXB_LEN   (6u)
 
#define ADI_RDAUXC_BYTE0   (0x00u)
 
#define ADI_RDAUXC_BYTE1   (0x1Bu)
 
#define ADI_RDAUXC_INC   (0u)
 
#define ADI_RDAUXC_LEN   (6u)
 
#define ADI_RDAUXD_BYTE0   (0x00u)
 
#define ADI_RDAUXD_BYTE1   (0x1Fu)
 
#define ADI_RDAUXD_INC   (0u)
 
#define ADI_RDAUXD_LEN   (6u)
 
#define ADI_RDAUXE_BYTE0   (0x00u)
 
#define ADI_RDAUXE_BYTE1   (0x36u)
 
#define ADI_RDAUXE_INC   (0u)
 
#define ADI_RDAUXE_LEN   (6u)
 
#define ADI_RDRAXA_BYTE0   (0x00u)
 
#define ADI_RDRAXA_BYTE1   (0x1Cu)
 
#define ADI_RDRAXA_INC   (0u)
 
#define ADI_RDRAXA_LEN   (6u)
 
#define ADI_RDRAXB_BYTE0   (0x00u)
 
#define ADI_RDRAXB_BYTE1   (0x1Du)
 
#define ADI_RDRAXB_INC   (0u)
 
#define ADI_RDRAXB_LEN   (6u)
 
#define ADI_RDRAXC_BYTE0   (0x00u)
 
#define ADI_RDRAXC_BYTE1   (0x1Eu)
 
#define ADI_RDRAXC_INC   (0u)
 
#define ADI_RDRAXC_LEN   (6u)
 
#define ADI_RDRAXD_BYTE0   (0x00u)
 
#define ADI_RDRAXD_BYTE1   (0x25u)
 
#define ADI_RDRAXD_INC   (0u)
 
#define ADI_RDRAXD_LEN   (6u)
 
#define ADI_CLRAUX_BYTE0   (0x07u)
 
#define ADI_CLRAUX_BYTE1   (0x12u)
 
#define ADI_CLRAUX_INC   (1u)
 
#define ADI_CLRAUX_LEN   (0u)
 
#define ADI_WRPWMA_BYTE0   (0x00u)
 
#define ADI_WRPWMA_BYTE1   (0x20u)
 
#define ADI_WRPWMA_INC   (1u)
 
#define ADI_WRPWMA_LEN   (6u)
 
#define ADI_WRPWMB_BYTE0   (0x00u)
 
#define ADI_WRPWMB_BYTE1   (0x21u)
 
#define ADI_WRPWMB_INC   (1u)
 
#define ADI_WRPWMB_LEN   (6u)
 
#define ADI_RDPWMA_BYTE0   (0x00u)
 
#define ADI_RDPWMA_BYTE1   (0x22u)
 
#define ADI_RDPWMA_INC   (0u)
 
#define ADI_RDPWMA_LEN   (6u)
 
#define ADI_RDPWMB_BYTE0   (0x00u)
 
#define ADI_RDPWMB_BYTE1   (0x23u)
 
#define ADI_RDPWMB_INC   (0u)
 
#define ADI_RDPWMB_LEN   (6u)
 
#define ADI_MUTE_BYTE0   (0x00u)
 
#define ADI_MUTE_BYTE1   (0x28u)
 
#define ADI_MUTE_INC   (1u)
 
#define ADI_MUTE_LEN   (0u)
 
#define ADI_UNMUTE_BYTE0   (0x00u)
 
#define ADI_UNMUTE_BYTE1   (0x29u)
 
#define ADI_UNMUTE_INC   (1u)
 
#define ADI_UNMUTE_LEN   (0u)
 
#define ADI_RSTCC_BYTE0   (0x00u)
 
#define ADI_RSTCC_BYTE1   (0x2Eu)
 
#define ADI_RSTCC_INC   (0u)
 
#define ADI_RSTCC_LEN   (0u)
 
#define ADI_CLRCELL_BYTE0   (0x07u)
 
#define ADI_CLRCELL_BYTE1   (0x11u)
 
#define ADI_CLRCELL_INC   (1u)
 
#define ADI_CLRCELL_LEN   (0u)
 
#define ADI_CLRFLAG_BYTE0   (0x07u)
 
#define ADI_CLRFLAG_BYTE1   (0x17u)
 
#define ADI_CLRFLAG_INC   (1u)
 
#define ADI_CLRFLAG_LEN   (6u)
 
#define ADI_CLRFLAG_DATA_LENGTH   (6u)
 
#define ADI_RDSTATA_BYTE0   (0x00u)
 
#define ADI_RDSTATA_BYTE1   (0x30u)
 
#define ADI_RDSTATA_INC   (0u)
 
#define ADI_RDSTATA_LEN   (6u)
 
#define ADI_RDSTATB_BYTE0   (0x00u)
 
#define ADI_RDSTATB_BYTE1   (0x31u)
 
#define ADI_RDSTATB_INC   (0u)
 
#define ADI_RDSTATB_LEN   (6u)
 
#define ADI_RDSTATC_BYTE0   (0x00u)
 
#define ADI_RDSTATC_BYTE1   (0x32u)
 
#define ADI_RDSTATC_INC   (0u)
 
#define ADI_RDSTATC_LEN   (6u)
 
#define ADI_RDSTATC_ERR_POS   (6u)
 
#define ADI_RDSTATC_ERR_LEN   (1u)
 
#define ADI_RDSTATD_BYTE0   (0x00u)
 
#define ADI_RDSTATD_BYTE1   (0x33u)
 
#define ADI_RDSTATD_INC   (0u)
 
#define ADI_RDSTATD_LEN   (6u)
 
#define ADI_RDSTATE_BYTE0   (0x00u)
 
#define ADI_RDSTATE_BYTE1   (0x34u)
 
#define ADI_RDSTATE_INC   (0u)
 
#define ADI_RDSTATE_LEN   (6u)
 
#define ADI_RDSID_BYTE0   (0x00u)
 
#define ADI_RDSID_BYTE1   (0x2Cu)
 
#define ADI_RDSID_INC   (0u)
 
#define ADI_RDSID_LEN   (6u)
 
#define ADI_SRST_BYTE0   (0x00u)
 
#define ADI_SRST_BYTE1   (0x27u)
 
#define ADI_SRST_INC   (0u)
 
#define ADI_SRST_LEN   (0u)
 

Enumerations

enum  ADI_PEC_FAULT_INJECTION_e { ADI_PEC_NO_FAULT_INJECTION , ADI_COMMAND_PEC_FAULT_INJECTION , ADI_DATA_PEC_FAULT_INJECTION }
 
enum  ADI_VOLTAGE_REGISTER_TYPE_e {
  ADI_CELL_VOLTAGE_REGISTER , ADI_AVERAGE_CELL_VOLTAGE_REGISTER , ADI_FILTERED_CELL_VOLTAGE_REGISTER , ADI_REDUNDANT_CELL_VOLTAGE_REGISTER ,
  ADI_VOLTAGE_REGISTER_TYPE_E_MAX
}
 
enum  ADI_VOLTAGE_STORE_LOCATION_e {
  ADI_CELL_VOLTAGE , ADI_AVERAGE_CELL_VOLTAGE , ADI_FILTERED_CELL_VOLTAGE , ADI_REDUNDANT_CELL_VOLTAGE ,
  ADI_CELL_VOLTAGE_OPEN_WIRE_EVEN , ADI_CELL_VOLTAGE_OPEN_WIRE_ODD , ADI_CELL_VOLTAGE_AVERAGE_OPEN_WIRE , ADI_CELL_VOLTAGE_REDUNDANT_OPEN_WIRE ,
  ADI_VOLTAGE_STORE_LOCATION_E_MAX
}
 
enum  ADI_AUXILIARY_REGISTER_TYPE_e { ADI_AUXILIARY_REGISTER , ADI_REDUNDANT_AUXILIARY_REGISTER , ADI_AUXILIARY_REGISTER_TYPE_E_MAX }
 
enum  ADI_AUXILIARY_STORE_LOCATION_e { ADI_AUXILIARY_VOLTAGE , ADI_REDUNDANT_AUXILIARY_VOLTAGE , ADI_AUXILIARY_VOLTAGE_OPEN_WIRE , ADI_AUXILIARY_STORE_LOCATION_E_MAX }
 
enum  ADI_CFG_REGISTER_SET_e { ADI_CFG_REGISTER_SET_A , ADI_CFG_REGISTER_SET_B , ADI_CFG_REGISTER_SET_E_MAX }
 

Detailed Description

Headers for the driver for the ades183x analog front-end.

SPDX-License-Identifier: BSD-3-Clause

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

We kindly request you to use one or more of the following phrases to refer to foxBMS in your hardware, software, documentation or advertising materials:

  • ″This product uses parts of foxBMS®″
  • ″This product includes parts of foxBMS®″
  • ″This product is derived from foxBMS®″
Author
foxBMS Team
Date
2015-09-01 (date of creation)
Updated
2023-10-12 (date of last update)
Version
v1.6.0
Prefix
ADI

Definition in file adi_ades183x_defs.h.

Macro Definition Documentation

◆ ADI_ADAX2_BYTE0

#define ADI_ADAX2_BYTE0   (0x04u)

Start redundant GPIO voltage conversion

Definition at line 620 of file adi_ades183x_defs.h.

◆ ADI_ADAX2_BYTE1

#define ADI_ADAX2_BYTE1   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 621 of file adi_ades183x_defs.h.

◆ ADI_ADAX2_CH03_LEN

#define ADI_ADAX2_CH03_LEN   (4u)

ades183x command definitions Start cell voltage conversion

Definition at line 626 of file adi_ades183x_defs.h.

◆ ADI_ADAX2_CH03_POS

#define ADI_ADAX2_CH03_POS   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 625 of file adi_ades183x_defs.h.

◆ ADI_ADAX2_INC

#define ADI_ADAX2_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 622 of file adi_ades183x_defs.h.

◆ ADI_ADAX2_LEN

#define ADI_ADAX2_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 623 of file adi_ades183x_defs.h.

◆ ADI_ADAX_BYTE0

#define ADI_ADAX_BYTE0   (0x04u)

Start GPIO voltage conversion

Definition at line 606 of file adi_ades183x_defs.h.

◆ ADI_ADAX_BYTE1

#define ADI_ADAX_BYTE1   (0x10u)

ades183x command definitions Start cell voltage conversion

Definition at line 607 of file adi_ades183x_defs.h.

◆ ADI_ADAX_CH03_LEN

#define ADI_ADAX_CH03_LEN   (4u)

ades183x command definitions Start cell voltage conversion

Definition at line 618 of file adi_ades183x_defs.h.

◆ ADI_ADAX_CH03_POS

#define ADI_ADAX_CH03_POS   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 617 of file adi_ades183x_defs.h.

◆ ADI_ADAX_CH4_LEN

#define ADI_ADAX_CH4_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 616 of file adi_ades183x_defs.h.

◆ ADI_ADAX_CH4_POS

#define ADI_ADAX_CH4_POS   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 615 of file adi_ades183x_defs.h.

◆ ADI_ADAX_INC

#define ADI_ADAX_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 608 of file adi_ades183x_defs.h.

◆ ADI_ADAX_LEN

#define ADI_ADAX_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 609 of file adi_ades183x_defs.h.

◆ ADI_ADAX_OW_LEN

#define ADI_ADAX_OW_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 612 of file adi_ades183x_defs.h.

◆ ADI_ADAX_OW_POS

#define ADI_ADAX_OW_POS   (8u)

ades183x command definitions Start cell voltage conversion

Definition at line 611 of file adi_ades183x_defs.h.

◆ ADI_ADAX_PUP_LEN

#define ADI_ADAX_PUP_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 614 of file adi_ades183x_defs.h.

◆ ADI_ADAX_PUP_POS

#define ADI_ADAX_PUP_POS   (7u)

ades183x command definitions Start cell voltage conversion

Definition at line 613 of file adi_ades183x_defs.h.

◆ ADI_ADCV_BYTE0

#define ADI_ADCV_BYTE0   (0x02u) /* Table 52 - */

ades183x command definitions Start cell voltage conversion

Definition at line 577 of file adi_ades183x_defs.h.

◆ ADI_ADCV_BYTE1

#define ADI_ADCV_BYTE1   (0x60u)

ades183x command definitions Start cell voltage conversion

Definition at line 578 of file adi_ades183x_defs.h.

◆ ADI_ADCV_CONT_LEN

#define ADI_ADCV_CONT_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 585 of file adi_ades183x_defs.h.

◆ ADI_ADCV_CONT_POS

#define ADI_ADCV_CONT_POS   (7u)

ades183x command definitions Start cell voltage conversion

Definition at line 584 of file adi_ades183x_defs.h.

◆ ADI_ADCV_DCP_LEN

#define ADI_ADCV_DCP_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 587 of file adi_ades183x_defs.h.

◆ ADI_ADCV_DCP_POS

#define ADI_ADCV_DCP_POS   (4u)

ades183x command definitions Start cell voltage conversion

Definition at line 586 of file adi_ades183x_defs.h.

◆ ADI_ADCV_INC

#define ADI_ADCV_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 579 of file adi_ades183x_defs.h.

◆ ADI_ADCV_LEN

#define ADI_ADCV_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 580 of file adi_ades183x_defs.h.

◆ ADI_ADCV_OW01_LEN

#define ADI_ADCV_OW01_LEN   (2u)

ades183x command definitions Start cell voltage conversion

Definition at line 591 of file adi_ades183x_defs.h.

◆ ADI_ADCV_OW01_POS

#define ADI_ADCV_OW01_POS   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 590 of file adi_ades183x_defs.h.

◆ ADI_ADCV_RD_LEN

#define ADI_ADCV_RD_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 583 of file adi_ades183x_defs.h.

◆ ADI_ADCV_RD_POS

#define ADI_ADCV_RD_POS   (8u)

ades183x command definitions Start cell voltage conversion

Definition at line 582 of file adi_ades183x_defs.h.

◆ ADI_ADCV_RSTF_LEN

#define ADI_ADCV_RSTF_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 589 of file adi_ades183x_defs.h.

◆ ADI_ADCV_RSTF_POS

#define ADI_ADCV_RSTF_POS   (2u)

ades183x command definitions Start cell voltage conversion

Definition at line 588 of file adi_ades183x_defs.h.

◆ ADI_ADSV_BYTE0

#define ADI_ADSV_BYTE0   (0x01u)

Start redundant cell voltage conversion

Definition at line 594 of file adi_ades183x_defs.h.

◆ ADI_ADSV_BYTE1

#define ADI_ADSV_BYTE1   (0x68u)

ades183x command definitions Start cell voltage conversion

Definition at line 595 of file adi_ades183x_defs.h.

◆ ADI_ADSV_CONT_LEN

#define ADI_ADSV_CONT_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 600 of file adi_ades183x_defs.h.

◆ ADI_ADSV_CONT_POS

#define ADI_ADSV_CONT_POS   (7u)

ades183x command definitions Start cell voltage conversion

Definition at line 599 of file adi_ades183x_defs.h.

◆ ADI_ADSV_DCP_LEN

#define ADI_ADSV_DCP_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 602 of file adi_ades183x_defs.h.

◆ ADI_ADSV_DCP_POS

#define ADI_ADSV_DCP_POS   (4u)

ades183x command definitions Start cell voltage conversion

Definition at line 601 of file adi_ades183x_defs.h.

◆ ADI_ADSV_INC

#define ADI_ADSV_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 596 of file adi_ades183x_defs.h.

◆ ADI_ADSV_LEN

#define ADI_ADSV_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 597 of file adi_ades183x_defs.h.

◆ ADI_ADSV_OW01_LEN

#define ADI_ADSV_OW01_LEN   (2u)

ades183x command definitions Start cell voltage conversion

Definition at line 604 of file adi_ades183x_defs.h.

◆ ADI_ADSV_OW01_POS

#define ADI_ADSV_OW01_POS   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 603 of file adi_ades183x_defs.h.

◆ ADI_AUXILIARY_COMPARISON_THRESHOLD_mV

#define ADI_AUXILIARY_COMPARISON_THRESHOLD_mV   (9)

Definition at line 216 of file adi_ades183x_defs.h.

◆ ADI_AUXILIARY_RESULT_REGISTER_SET_A

#define ADI_AUXILIARY_RESULT_REGISTER_SET_A   (0u)

Defines for to access auxiliary register set

Definition at line 482 of file adi_ades183x_defs.h.

◆ ADI_AUXILIARY_RESULT_REGISTER_SET_B

#define ADI_AUXILIARY_RESULT_REGISTER_SET_B   (1u)

Defines for to access auxiliary register set

Definition at line 483 of file adi_ades183x_defs.h.

◆ ADI_AUXILIARY_RESULT_REGISTER_SET_C

#define ADI_AUXILIARY_RESULT_REGISTER_SET_C   (2u)

Defines for to access auxiliary register set

Definition at line 484 of file adi_ades183x_defs.h.

◆ ADI_AUXILIARY_RESULT_REGISTER_SET_D

#define ADI_AUXILIARY_RESULT_REGISTER_SET_D   (3u)

Defines for to access auxiliary register set

Definition at line 485 of file adi_ades183x_defs.h.

◆ ADI_AUXILIARY_RESULT_REGISTER_SET_E

#define ADI_AUXILIARY_RESULT_REGISTER_SET_E   (4u)

Defines for to access auxiliary register set

Definition at line 486 of file adi_ades183x_defs.h.

◆ ADI_BALANCING_TIME_ms

#define ADI_BALANCING_TIME_ms   (20u)

Time to balance after having stopped measurement and before restarting them

Definition at line 540 of file adi_ades183x_defs.h.

◆ ADI_BYTE_SHIFT

#define ADI_BYTE_SHIFT   (8u)

Definition at line 305 of file adi_ades183x_defs.h.

◆ ADI_CFGRA0_CTH_0_2_MASK

#define ADI_CFGRA0_CTH_0_2_MASK   (0x7u)

Definition at line 914 of file adi_ades183x_defs.h.

◆ ADI_CFGRA0_CTH_0_2_POS

#define ADI_CFGRA0_CTH_0_2_POS   (0u)

Definition at line 913 of file adi_ades183x_defs.h.

◆ ADI_CFGRA0_REFON_MASK

#define ADI_CFGRA0_REFON_MASK   (0x80u)

Definition at line 916 of file adi_ades183x_defs.h.

◆ ADI_CFGRA0_REFON_POS

#define ADI_CFGRA0_REFON_POS   (7u)

Definition at line 915 of file adi_ades183x_defs.h.

◆ ADI_CFGRA1_FLAG_D_0_7_MASK

#define ADI_CFGRA1_FLAG_D_0_7_MASK   (0xFFu)

Definition at line 919 of file adi_ades183x_defs.h.

◆ ADI_CFGRA1_FLAG_D_0_7_POS

#define ADI_CFGRA1_FLAG_D_0_7_POS   (0u)

Definition at line 918 of file adi_ades183x_defs.h.

◆ ADI_CFGRA2_OWA_0_2_MASK

#define ADI_CFGRA2_OWA_0_2_MASK   (0x38u)

Definition at line 922 of file adi_ades183x_defs.h.

◆ ADI_CFGRA2_OWA_0_2_POS

#define ADI_CFGRA2_OWA_0_2_POS   (3u)

Definition at line 921 of file adi_ades183x_defs.h.

◆ ADI_CFGRA2_OWRNG_MASK

#define ADI_CFGRA2_OWRNG_MASK   (0x40u)

Definition at line 924 of file adi_ades183x_defs.h.

◆ ADI_CFGRA2_OWRNG_POS

#define ADI_CFGRA2_OWRNG_POS   (6u)

Definition at line 923 of file adi_ades183x_defs.h.

◆ ADI_CFGRA2_SOAKON_MASK

#define ADI_CFGRA2_SOAKON_MASK   (0x80u)

Definition at line 926 of file adi_ades183x_defs.h.

◆ ADI_CFGRA2_SOAKON_POS

#define ADI_CFGRA2_SOAKON_POS   (7u)

Definition at line 925 of file adi_ades183x_defs.h.

◆ ADI_CFGRA3_GPO_1_8_MASK

#define ADI_CFGRA3_GPO_1_8_MASK   (0xFFu)

Definition at line 929 of file adi_ades183x_defs.h.

◆ ADI_CFGRA3_GPO_1_8_POS

#define ADI_CFGRA3_GPO_1_8_POS   (0u)

Definition at line 928 of file adi_ades183x_defs.h.

◆ ADI_CFGRA4_GPO_9_10_MASK

#define ADI_CFGRA4_GPO_9_10_MASK   (0x3u)

Definition at line 932 of file adi_ades183x_defs.h.

◆ ADI_CFGRA4_GPO_9_10_POS

#define ADI_CFGRA4_GPO_9_10_POS   (0u)

Definition at line 931 of file adi_ades183x_defs.h.

◆ ADI_CFGRA5_COMM_BK_MASK

#define ADI_CFGRA5_COMM_BK_MASK   (0x8u)

Definition at line 937 of file adi_ades183x_defs.h.

◆ ADI_CFGRA5_COMM_BK_POS

#define ADI_CFGRA5_COMM_BK_POS   (3u)

Definition at line 936 of file adi_ades183x_defs.h.

◆ ADI_CFGRA5_FC_0_2_MASK

#define ADI_CFGRA5_FC_0_2_MASK   (0x7u)

Definition at line 935 of file adi_ades183x_defs.h.

◆ ADI_CFGRA5_FC_0_2_POS

#define ADI_CFGRA5_FC_0_2_POS   (0u)

Definition at line 934 of file adi_ades183x_defs.h.

◆ ADI_CFGRA5_MUTE_ST_MASK

#define ADI_CFGRA5_MUTE_ST_MASK   (0x10u)

Definition at line 939 of file adi_ades183x_defs.h.

◆ ADI_CFGRA5_MUTE_ST_POS

#define ADI_CFGRA5_MUTE_ST_POS   (4u)

Definition at line 938 of file adi_ades183x_defs.h.

◆ ADI_CFGRA5_SNAP_ST_MASK

#define ADI_CFGRA5_SNAP_ST_MASK   (0x20u)

Definition at line 941 of file adi_ades183x_defs.h.

◆ ADI_CFGRA5_SNAP_ST_POS

#define ADI_CFGRA5_SNAP_ST_POS   (5u)

Definition at line 940 of file adi_ades183x_defs.h.

◆ ADI_CFGRB0_VUV_0_7_MASK

#define ADI_CFGRB0_VUV_0_7_MASK   (0xFFu)

Definition at line 946 of file adi_ades183x_defs.h.

◆ ADI_CFGRB0_VUV_0_7_POS

#define ADI_CFGRB0_VUV_0_7_POS   (0u)

Definition at line 945 of file adi_ades183x_defs.h.

◆ ADI_CFGRB1_VOV_0_3_MASK

#define ADI_CFGRB1_VOV_0_3_MASK   (0xF0u)

Definition at line 951 of file adi_ades183x_defs.h.

◆ ADI_CFGRB1_VOV_0_3_POS

#define ADI_CFGRB1_VOV_0_3_POS   (4u)

Definition at line 950 of file adi_ades183x_defs.h.

◆ ADI_CFGRB1_VUV_8_11_MASK

#define ADI_CFGRB1_VUV_8_11_MASK   (0xFu)

Definition at line 949 of file adi_ades183x_defs.h.

◆ ADI_CFGRB1_VUV_8_11_POS

#define ADI_CFGRB1_VUV_8_11_POS   (0u)

Definition at line 948 of file adi_ades183x_defs.h.

◆ ADI_CFGRB2_VOV_4_11_MASK

#define ADI_CFGRB2_VOV_4_11_MASK   (0xFFu)

Definition at line 954 of file adi_ades183x_defs.h.

◆ ADI_CFGRB2_VOV_4_11_POS

#define ADI_CFGRB2_VOV_4_11_POS   (0u)

Definition at line 953 of file adi_ades183x_defs.h.

◆ ADI_CFGRB3_DCT0_0_5_MASK

#define ADI_CFGRB3_DCT0_0_5_MASK   (0x3Fu)

Definition at line 957 of file adi_ades183x_defs.h.

◆ ADI_CFGRB3_DCT0_0_5_POS

#define ADI_CFGRB3_DCT0_0_5_POS   (0u)

Definition at line 956 of file adi_ades183x_defs.h.

◆ ADI_CFGRB3_DTMEN_MASK

#define ADI_CFGRB3_DTMEN_MASK   (0x80u)

Definition at line 961 of file adi_ades183x_defs.h.

◆ ADI_CFGRB3_DTMEN_POS

#define ADI_CFGRB3_DTMEN_POS   (7u)

Definition at line 960 of file adi_ades183x_defs.h.

◆ ADI_CFGRB3_DTRNG_MASK

#define ADI_CFGRB3_DTRNG_MASK   (0x40u)

Definition at line 959 of file adi_ades183x_defs.h.

◆ ADI_CFGRB3_DTRNG_POS

#define ADI_CFGRB3_DTRNG_POS   (6u)

Definition at line 958 of file adi_ades183x_defs.h.

◆ ADI_CFGRB4_DCC_1_8_MASK

#define ADI_CFGRB4_DCC_1_8_MASK   (0xFFu)

Definition at line 964 of file adi_ades183x_defs.h.

◆ ADI_CFGRB4_DCC_1_8_POS

#define ADI_CFGRB4_DCC_1_8_POS   (0u)

Definition at line 963 of file adi_ades183x_defs.h.

◆ ADI_CFGRB5_DCC_9_16_MASK

#define ADI_CFGRB5_DCC_9_16_MASK   (0xFFu)

Definition at line 967 of file adi_ades183x_defs.h.

◆ ADI_CFGRB5_DCC_9_16_POS

#define ADI_CFGRB5_DCC_9_16_POS   (0u)

Definition at line 966 of file adi_ades183x_defs.h.

◆ ADI_CFGRB_NUMBER_OF_DCC_BITS_PER_BYTE

#define ADI_CFGRB_NUMBER_OF_DCC_BITS_PER_BYTE   (8u)

Definition at line 184 of file adi_ades183x_defs.h.

◆ ADI_CLRAUX_BYTE0

#define ADI_CLRAUX_BYTE0   (0x07u)

Clear AUX registers

Definition at line 822 of file adi_ades183x_defs.h.

◆ ADI_CLRAUX_BYTE1

#define ADI_CLRAUX_BYTE1   (0x12u)

ades183x command definitions Start cell voltage conversion

Definition at line 823 of file adi_ades183x_defs.h.

◆ ADI_CLRAUX_INC

#define ADI_CLRAUX_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 824 of file adi_ades183x_defs.h.

◆ ADI_CLRAUX_LEN

#define ADI_CLRAUX_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 825 of file adi_ades183x_defs.h.

◆ ADI_CLRCELL_BYTE0

#define ADI_CLRCELL_BYTE0   (0x07u)

Clear cell registers

Definition at line 860 of file adi_ades183x_defs.h.

◆ ADI_CLRCELL_BYTE1

#define ADI_CLRCELL_BYTE1   (0x11u)

ades183x command definitions Start cell voltage conversion

Definition at line 861 of file adi_ades183x_defs.h.

◆ ADI_CLRCELL_INC

#define ADI_CLRCELL_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 862 of file adi_ades183x_defs.h.

◆ ADI_CLRCELL_LEN

#define ADI_CLRCELL_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 863 of file adi_ades183x_defs.h.

◆ ADI_CLRFLAG_BYTE0

#define ADI_CLRFLAG_BYTE0   (0x07u)

Clear flags in Status Register Group C

Definition at line 865 of file adi_ades183x_defs.h.

◆ ADI_CLRFLAG_BYTE1

#define ADI_CLRFLAG_BYTE1   (0x17u)

ades183x command definitions Start cell voltage conversion

Definition at line 866 of file adi_ades183x_defs.h.

◆ ADI_CLRFLAG_DATA_LENGTH

#define ADI_CLRFLAG_DATA_LENGTH   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 870 of file adi_ades183x_defs.h.

◆ ADI_CLRFLAG_INC

#define ADI_CLRFLAG_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 867 of file adi_ades183x_defs.h.

◆ ADI_CLRFLAG_LEN

#define ADI_CLRFLAG_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 868 of file adi_ades183x_defs.h.

◆ ADI_COEFFICIENT_US_TO_MS

#define ADI_COEFFICIENT_US_TO_MS   (1000u)

Definition at line 195 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_AND_PEC_SIZE_IN_BYTES

#define ADI_COMMAND_AND_PEC_SIZE_IN_BYTES   (4u)

Definition at line 315 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_BYTE0_POSITION

#define ADI_COMMAND_BYTE0_POSITION   (0u)

In command definitions, first byte value put at first position

Definition at line 502 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_BYTE1_POSITION

#define ADI_COMMAND_BYTE1_POSITION   (1u)

In command definitions, second byte value put at second position

Definition at line 504 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_CODE_LENGTH

#define ADI_COMMAND_CODE_LENGTH   (11u)

Definition at line 549 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_COUNTER_MASK

#define ADI_COMMAND_COUNTER_MASK   (0xFCu)

Mask to select command counter value in received data

Definition at line 490 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_COUNTER_MAX_VALUE

#define ADI_COMMAND_COUNTER_MAX_VALUE   (63u)

Command counter loops back to start value when incremented further after having reached this value

Definition at line 495 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_COUNTER_POSITION

#define ADI_COMMAND_COUNTER_POSITION   (2u)

Position of command counter in answer byte

Definition at line 492 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_COUNTER_RESET_VALUE

#define ADI_COMMAND_COUNTER_RESET_VALUE   (0u)

Command counter loops set to this value after power cycling, transition to sleep or with RSTCC command

Definition at line 499 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_COUNTER_RESTART_VALUE

#define ADI_COMMAND_COUNTER_RESTART_VALUE   (1u)

Command counter loops back to this value when incremented further after having reached max value

Definition at line 497 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_DATA_LENGTH_POSITION

#define ADI_COMMAND_DATA_LENGTH_POSITION   (3u)

In definition of command, position of the length of the data

Definition at line 508 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_DEFINITION_LENGTH

#define ADI_COMMAND_DEFINITION_LENGTH   (4u)

Definition at line 552 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_FIRST_BYTE_POSITION

#define ADI_COMMAND_FIRST_BYTE_POSITION   (0u)

position of command bytes and PEC bytes in frame

Definition at line 364 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_INC_POSITION

#define ADI_COMMAND_INC_POSITION   (2u)

In command definitions, INC value put at third position

Definition at line 506 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_MASK_SEED

#define ADI_COMMAND_MASK_SEED   (0xFFFFu)

Definition at line 555 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_PEC_FIRST_BYTE_POSITION

#define ADI_COMMAND_PEC_FIRST_BYTE_POSITION   (2u)

position of command bytes and PEC bytes in frame

Definition at line 366 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_PEC_SECOND_BYTE_POSITION

#define ADI_COMMAND_PEC_SECOND_BYTE_POSITION   (3u)

position of command bytes and PEC bytes in frame

Definition at line 367 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_SECOND_BYTE_POSITION

#define ADI_COMMAND_SECOND_BYTE_POSITION   (1u)

position of command bytes and PEC bytes in frame

Definition at line 365 of file adi_ades183x_defs.h.

◆ ADI_COMMAND_SIZE_IN_BYTES

#define ADI_COMMAND_SIZE_IN_BYTES   (2u)

Definition at line 317 of file adi_ades183x_defs.h.

◆ ADI_COMPARISON_THRESHOLD_10_05_mV

#define ADI_COMPARISON_THRESHOLD_10_05_mV   (0x03u) /* 0b011u */

Definition at line 514 of file adi_ades183x_defs.h.

◆ ADI_COMPARISON_THRESHOLD_15_mV

#define ADI_COMPARISON_THRESHOLD_15_mV   (0x04u) /* 0b100u */

Definition at line 515 of file adi_ades183x_defs.h.

◆ ADI_COMPARISON_THRESHOLD_19_95_mV

#define ADI_COMPARISON_THRESHOLD_19_95_mV   (0x05u) /* 0b101u */

Definition at line 516 of file adi_ades183x_defs.h.

◆ ADI_COMPARISON_THRESHOLD_25_05_mV

#define ADI_COMPARISON_THRESHOLD_25_05_mV   (0x06u) /* 0b110u */

Definition at line 517 of file adi_ades183x_defs.h.

◆ ADI_COMPARISON_THRESHOLD_45_05_mV

#define ADI_COMPARISON_THRESHOLD_45_05_mV   (0x07u) /* 0b111u */

Definition at line 518 of file adi_ades183x_defs.h.

◆ ADI_COMPARISON_THRESHOLD_5_1_mV

#define ADI_COMPARISON_THRESHOLD_5_1_mV   (0x00u) /* 0b000u */

Definition at line 511 of file adi_ades183x_defs.h.

◆ ADI_COMPARISON_THRESHOLD_8_1_mV

#define ADI_COMPARISON_THRESHOLD_8_1_mV   (0x01u) /* 0b001u */

Definition at line 512 of file adi_ades183x_defs.h.

◆ ADI_COMPARISON_THRESHOLD_9_1_mV

#define ADI_COMPARISON_THRESHOLD_9_1_mV   (0x02u) /* 0b010u */

Definition at line 513 of file adi_ades183x_defs.h.

◆ ADI_DAISY_CHAIN_READY_TIME_us

#define ADI_DAISY_CHAIN_READY_TIME_us   (ADI_N_ADI * ADI_T_READY_us)

Definition at line 193 of file adi_ades183x_defs.h.

◆ ADI_DAISY_CHAIN_WAKE_UP_TIME_us

#define ADI_DAISY_CHAIN_WAKE_UP_TIME_us   (ADI_N_ADI * ADI_T_WAKE_us)

Definition at line 191 of file adi_ades183x_defs.h.

◆ ADI_DATA_BUFFER_OFFSET_IN_BITS

#define ADI_DATA_BUFFER_OFFSET_IN_BITS   (8u)

Definition at line 478 of file adi_ades183x_defs.h.

◆ ADI_DATA_MASK_SEED

#define ADI_DATA_MASK_SEED   (0xFFFFu)

Definition at line 558 of file adi_ades183x_defs.h.

◆ ADI_DATA_PEC_FIRST_BYTE_POSITION

#define ADI_DATA_PEC_FIRST_BYTE_POSITION   (0u)

position of PEC bytes in data frame

Definition at line 374 of file adi_ades183x_defs.h.

◆ ADI_DATA_PEC_SECOND_BYTE_POSITION

#define ADI_DATA_PEC_SECOND_BYTE_POSITION   (1u)

position of PEC bytes in data frame

Definition at line 375 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_COMM_BK_SETUP

#define ADI_DEFAULT_COMM_BK_SETUP   (0u)

Default configuration

Definition at line 140 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_CTH_COMPARISON_THRESHOLD

#define ADI_DEFAULT_CTH_COMPARISON_THRESHOLD   (ADI_COMPARISON_THRESHOLD_9_1_mV)

Default configuration

Definition at line 131 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_DCC_1_8_SETUP

#define ADI_DEFAULT_DCC_1_8_SETUP   (0u)

Default configuration

Definition at line 150 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_DCC_9_16_SETUP

#define ADI_DEFAULT_DCC_9_16_SETUP   (0u)

Default configuration

Definition at line 151 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_DCT0_0_5_SETUP

#define ADI_DEFAULT_DCT0_0_5_SETUP   (0u)

Default configuration

Definition at line 147 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_DTMEN_SETUP

#define ADI_DEFAULT_DTMEN_SETUP   (0u)

Default configuration

Definition at line 149 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_DTRNG_SETUP

#define ADI_DEFAULT_DTRNG_SETUP   (0u)

Default configuration

Definition at line 148 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_FLAG_D_SETUP

#define ADI_DEFAULT_FLAG_D_SETUP   (ADI_FLAG_D_DEFAULT)

Default configuration

Definition at line 133 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_GPO_1_8_SETUP

#define ADI_DEFAULT_GPO_1_8_SETUP   (0xFFu)

Default configuration

Definition at line 137 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_GPO_9_10_SETUP

#define ADI_DEFAULT_GPO_9_10_SETUP   (0x03u)

Default configuration

Definition at line 138 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_IIR_SETUP

#define ADI_DEFAULT_IIR_SETUP   (ADI_IIR_FILTER_PARAMETER_32)

Default configuration

Definition at line 139 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_MUTE_ST_SETUP

#define ADI_DEFAULT_MUTE_ST_SETUP   (0u)

Default configuration

Definition at line 141 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_OWA_SETUP

#define ADI_DEFAULT_OWA_SETUP   (0u)

Default configuration

Definition at line 134 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_OWRNG_SETUP

#define ADI_DEFAULT_OWRNG_SETUP   (0u)

Default configuration

Definition at line 135 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_REFON_SETUP

#define ADI_DEFAULT_REFON_SETUP   (1u)

Default configuration

Definition at line 132 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_SNAP_ST_SETUP

#define ADI_DEFAULT_SNAP_ST_SETUP   (0u)

Default configuration

Definition at line 142 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_SOAKON_SETUP

#define ADI_DEFAULT_SOAKON_SETUP   (0u)

Default configuration

Definition at line 136 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_VOV_0_3_SETUP

#define ADI_DEFAULT_VOV_0_3_SETUP   (0xFu)

Default configuration

Definition at line 145 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_VOV_4_11_SETUP

#define ADI_DEFAULT_VOV_4_11_SETUP   (0x7Fu)

Default configuration

Definition at line 146 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_VUV_0_7_SETUP

#define ADI_DEFAULT_VUV_0_7_SETUP   (0u)

Default configuration

Definition at line 143 of file adi_ades183x_defs.h.

◆ ADI_DEFAULT_VUV_8_11_SETUP

#define ADI_DEFAULT_VUV_8_11_SETUP   (0x8u)

Default configuration

Definition at line 144 of file adi_ades183x_defs.h.

◆ ADI_DIE_TEMPERATURE_KELVIN_OFFSET

#define ADI_DIE_TEMPERATURE_KELVIN_OFFSET   (273.0f)

die temperature conversion coefficients

Definition at line 300 of file adi_ades183x_defs.h.

◆ ADI_DIE_TEMPERATURE_SCALING_FACTOR

#define ADI_DIE_TEMPERATURE_SCALING_FACTOR   (7.5f)

die temperature conversion coefficients

Definition at line 301 of file adi_ades183x_defs.h.

◆ ADI_DIE_TEMPERATURE_VOLTAGE_OFFSET

#define ADI_DIE_TEMPERATURE_VOLTAGE_OFFSET   (1.5f)

die temperature conversion coefficients

Definition at line 299 of file adi_ades183x_defs.h.

◆ ADI_EVEN_CELLS_MASK

#define ADI_EVEN_CELLS_MASK   (0xAAAAu)

Definition at line 172 of file adi_ades183x_defs.h.

◆ ADI_FCOM_MASTER_ACK

#define ADI_FCOM_MASTER_ACK   (0x00u)

COMM definitions

Definition at line 386 of file adi_ades183x_defs.h.

◆ ADI_FCOM_MASTER_NACK

#define ADI_FCOM_MASTER_NACK   (0x08u)

COMM definitions

Definition at line 387 of file adi_ades183x_defs.h.

◆ ADI_FCOM_MASTER_NACK_STOP

#define ADI_FCOM_MASTER_NACK_STOP   (0x09u)

COMM definitions

Definition at line 388 of file adi_ades183x_defs.h.

◆ ADI_FIRST_DATA_BYTE_POSITION_IN_TRANSMISSION_FRAME

#define ADI_FIRST_DATA_BYTE_POSITION_IN_TRANSMISSION_FRAME   (4u)

Define used to access bytes in answer frames

Definition at line 454 of file adi_ades183x_defs.h.

◆ ADI_FLAG_D_DEFAULT

#define ADI_FLAG_D_DEFAULT   (0x00u) /* 0b00000000u */

Values to write in FLAG_D bits in configuration register A to activate diagnostics

Definition at line 271 of file adi_ades183x_defs.h.

◆ ADI_FLAG_D_FORCE_THSD

#define ADI_FLAG_D_FORCE_THSD   (0x10u) /* 0b00010000u */

Values to write in FLAG_D bits in configuration register A to activate diagnostics

Definition at line 276 of file adi_ades183x_defs.h.

◆ ADI_FLAG_D_FORCE_TMODCHK

#define ADI_FLAG_D_FORCE_TMODCHK   (0x80u) /* 0b10000000u */

Values to write in FLAG_D bits in configuration register A to activate diagnostics

Definition at line 277 of file adi_ades183x_defs.h.

◆ ADI_FLAG_D_INDUCE_ECC_ERROR

#define ADI_FLAG_D_INDUCE_ECC_ERROR   (0x60u) /* 0b01100000u */

Values to write in FLAG_D bits in configuration register A to activate diagnostics

Definition at line 278 of file adi_ades183x_defs.h.

◆ ADI_FLAG_D_OSC_FASTER

#define ADI_FLAG_D_OSC_FASTER   (0x01u) /* 0b00000001u */

Values to write in FLAG_D bits in configuration register A to activate diagnostics

Definition at line 274 of file adi_ades183x_defs.h.

◆ ADI_FLAG_D_OSC_SLOWER

#define ADI_FLAG_D_OSC_SLOWER   (0x02u) /* 0b00000010u */

Values to write in FLAG_D bits in configuration register A to activate diagnostics

Definition at line 275 of file adi_ades183x_defs.h.

◆ ADI_FLAG_D_OV_CHECK

#define ADI_FLAG_D_OV_CHECK   (0x0Cu) /* 0b00001100u */

Values to write in FLAG_D bits in configuration register A to activate diagnostics

Definition at line 273 of file adi_ades183x_defs.h.

◆ ADI_FLAG_D_UV_CHECK

#define ADI_FLAG_D_UV_CHECK   (0x04u) /* 0b00000100u */

Values to write in FLAG_D bits in configuration register A to activate diagnostics

Definition at line 272 of file adi_ades183x_defs.h.

◆ ADI_ICOM_BLANK

#define ADI_ICOM_BLANK   (0x00u)

COMM definitions

Definition at line 384 of file adi_ades183x_defs.h.

◆ ADI_ICOM_NO_TRANSMIT

#define ADI_ICOM_NO_TRANSMIT   (0x70u)

COMM definitions

Definition at line 385 of file adi_ades183x_defs.h.

◆ ADI_ICOM_START

#define ADI_ICOM_START   (0x60u)

COMM definitions

Definition at line 382 of file adi_ades183x_defs.h.

◆ ADI_ICOM_STOP

#define ADI_ICOM_STOP   (0x10u)

COMM definitions

Definition at line 383 of file adi_ades183x_defs.h.

◆ ADI_IIR_FILTER_DISABLED

#define ADI_IIR_FILTER_DISABLED   (0x00u) /* 0b000u */

Definition at line 521 of file adi_ades183x_defs.h.

◆ ADI_IIR_FILTER_PARAMETER_128

#define ADI_IIR_FILTER_PARAMETER_128   (0x06u) /* 0b110u */

Definition at line 527 of file adi_ades183x_defs.h.

◆ ADI_IIR_FILTER_PARAMETER_16

#define ADI_IIR_FILTER_PARAMETER_16   (0x04u) /* 0b100u */

Definition at line 525 of file adi_ades183x_defs.h.

◆ ADI_IIR_FILTER_PARAMETER_2

#define ADI_IIR_FILTER_PARAMETER_2   (0x01u) /* 0b001u */

Definition at line 522 of file adi_ades183x_defs.h.

◆ ADI_IIR_FILTER_PARAMETER_256

#define ADI_IIR_FILTER_PARAMETER_256   (0x07u) /* 0b111u */

Definition at line 528 of file adi_ades183x_defs.h.

◆ ADI_IIR_FILTER_PARAMETER_32

#define ADI_IIR_FILTER_PARAMETER_32   (0x05u) /* 0b101u */

Definition at line 526 of file adi_ades183x_defs.h.

◆ ADI_IIR_FILTER_PARAMETER_4

#define ADI_IIR_FILTER_PARAMETER_4   (0x02u) /* 0b010u */

Definition at line 523 of file adi_ades183x_defs.h.

◆ ADI_IIR_FILTER_PARAMETER_8

#define ADI_IIR_FILTER_PARAMETER_8   (0x03u) /* 0b011u */

Definition at line 524 of file adi_ades183x_defs.h.

◆ ADI_IIR_SETTLING_TIME_ms

#define ADI_IIR_SETTLING_TIME_ms   (5u)

Time to wait for the IIR filter to settle after it was reset and preloaded with samples

Definition at line 531 of file adi_ades183x_defs.h.

◆ ADI_MAX_BIT_POSITION_IN_BYTE

#define ADI_MAX_BIT_POSITION_IN_BYTE   (7u)

Definition at line 321 of file adi_ades183x_defs.h.

◆ ADI_MAX_CELL_VOLTAGE_mV

#define ADI_MAX_CELL_VOLTAGE_mV   (4500)

Definition at line 211 of file adi_ades183x_defs.h.

◆ ADI_MAX_ITMP_degC

#define ADI_MAX_ITMP_degC   (125.0f)

Definition at line 233 of file adi_ades183x_defs.h.

◆ ADI_MAX_NUMBER_OF_GPIO_VOLTAGES_IN_REGISTER

#define ADI_MAX_NUMBER_OF_GPIO_VOLTAGES_IN_REGISTER   (3u)

Definition at line 327 of file adi_ades183x_defs.h.

◆ ADI_MAX_NUMBER_OF_VOLTAGES_IN_REGISTER

#define ADI_MAX_NUMBER_OF_VOLTAGES_IN_REGISTER   (3u)

Definition at line 325 of file adi_ades183x_defs.h.

◆ ADI_MAX_REGISTER_SIZE_IN_BYTES

#define ADI_MAX_REGISTER_SIZE_IN_BYTES   (6u)

Definition at line 313 of file adi_ades183x_defs.h.

◆ ADI_MAX_VA_mV

#define ADI_MAX_VA_mV   (5486.0f)

Definition at line 225 of file adi_ades183x_defs.h.

◆ ADI_MAX_VD_mV

#define ADI_MAX_VD_mV   (3528.0f)

Definition at line 221 of file adi_ades183x_defs.h.

◆ ADI_MAX_VREF2_mV

#define ADI_MAX_VREF2_mV   (3015.0f)

Definition at line 229 of file adi_ades183x_defs.h.

◆ ADI_MEASUREMENT_RESTART_WAIT_TIME_ms

#define ADI_MEASUREMENT_RESTART_WAIT_TIME_ms   (1u)

Time to wait after restarting measurements

Definition at line 534 of file adi_ades183x_defs.h.

◆ ADI_MEASUREMENT_STOP_WAIT_TIME_ms

#define ADI_MEASUREMENT_STOP_WAIT_TIME_ms   (1u)

Time to wait after stopping measurements

Definition at line 537 of file adi_ades183x_defs.h.

◆ ADI_MIN_CELL_VOLTAGE_mV

#define ADI_MIN_CELL_VOLTAGE_mV   (2000)

Definition at line 213 of file adi_ades183x_defs.h.

◆ ADI_MIN_GPIO_VOLTAGE_mV

#define ADI_MIN_GPIO_VOLTAGE_mV   (100)

Definition at line 218 of file adi_ades183x_defs.h.

◆ ADI_MIN_ITMP_degC

#define ADI_MIN_ITMP_degC   (-40.0f)

Definition at line 235 of file adi_ades183x_defs.h.

◆ ADI_MIN_VA_mV

#define ADI_MIN_VA_mV   (4512.0f)

Definition at line 227 of file adi_ades183x_defs.h.

◆ ADI_MIN_VD_mV

#define ADI_MIN_VD_mV   (2754.0f)

Definition at line 223 of file adi_ades183x_defs.h.

◆ ADI_MIN_VREF2_mV

#define ADI_MIN_VREF2_mV   (2985.0f)

Definition at line 231 of file adi_ades183x_defs.h.

◆ ADI_MUTE_BYTE0

#define ADI_MUTE_BYTE0   (0x00u)

Mute discharge

Definition at line 845 of file adi_ades183x_defs.h.

◆ ADI_MUTE_BYTE1

#define ADI_MUTE_BYTE1   (0x28u)

ades183x command definitions Start cell voltage conversion

Definition at line 846 of file adi_ades183x_defs.h.

◆ ADI_MUTE_INC

#define ADI_MUTE_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 847 of file adi_ades183x_defs.h.

◆ ADI_MUTE_LEN

#define ADI_MUTE_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 848 of file adi_ades183x_defs.h.

◆ ADI_N_ADI

#define ADI_N_ADI   (BS_NR_OF_MODULES_PER_STRING)

Number of used ADI ICs

Definition at line 208 of file adi_ades183x_defs.h.

◆ ADI_N_BYTES_FOR_DATA_TRANSMISSION

#define ADI_N_BYTES_FOR_DATA_TRANSMISSION    (ADI_COMMAND_AND_PEC_SIZE_IN_BYTES + ((ADI_MAX_REGISTER_SIZE_IN_BYTES + ADI_PEC_SIZE_IN_BYTES) * ADI_N_ADI))

Number of Bytes to be transmitted in daisy-chain For first 4 Bytes:

  • 2 Bytes: command
  • 2 Bytes: CRC Following Bytes: Data
  • 6 Bytes data per IC
  • 2 Bytes CRC per IC

Definition at line 344 of file adi_ades183x_defs.h.

◆ ADI_NO_OW_CELL_VOLTAGE_REDUCTION

#define ADI_NO_OW_CELL_VOLTAGE_REDUCTION   (9.0f / 10.0f)

Definition at line 163 of file adi_ades183x_defs.h.

◆ ADI_NO_OW_GPIO_VOLTAGE_REDUCTION

#define ADI_NO_OW_GPIO_VOLTAGE_REDUCTION   (10.0f / 12.0f)

Definition at line 179 of file adi_ades183x_defs.h.

◆ ADI_NUMBER_OF_GPIO_VOLTAGES_IN_REGISTER_D

#define ADI_NUMBER_OF_GPIO_VOLTAGES_IN_REGISTER_D   (1u)

Definition at line 329 of file adi_ades183x_defs.h.

◆ ADI_ODD_CELLS_MASK

#define ADI_ODD_CELLS_MASK   (0x5555u)

Definition at line 170 of file adi_ades183x_defs.h.

◆ ADI_ONE_BYTE_MASK

#define ADI_ONE_BYTE_MASK   (0xFFu)

Definition at line 311 of file adi_ades183x_defs.h.

◆ ADI_OSCILLATOR_FASTER_THRESHOLD

#define ADI_OSCILLATOR_FASTER_THRESHOLD   (70u)

Definition at line 238 of file adi_ades183x_defs.h.

◆ ADI_OSCILLATOR_SLOWER_THRESHOLD

#define ADI_OSCILLATOR_SLOWER_THRESHOLD   (52u)

Definition at line 240 of file adi_ades183x_defs.h.

◆ ADI_OW_CELL_VOLTAGE_REDUCTION_MARGIN_mV

#define ADI_OW_CELL_VOLTAGE_REDUCTION_MARGIN_mV   (1000.0f)

Definition at line 165 of file adi_ades183x_defs.h.

◆ ADI_OW_GPIO_VOLTAGE_REDUCTION_MARGIN_mV

#define ADI_OW_GPIO_VOLTAGE_REDUCTION_MARGIN_mV   (1000.0f)

Definition at line 181 of file adi_ades183x_defs.h.

◆ ADI_OW_LATENT_CHECK_MARGIN

#define ADI_OW_LATENT_CHECK_MARGIN   (0.95f)

Definition at line 167 of file adi_ades183x_defs.h.

◆ ADI_OW_LATENT_FAULT_MEASUREMENT_TIME_ms

#define ADI_OW_LATENT_FAULT_MEASUREMENT_TIME_ms   (16u)

Definition at line 546 of file adi_ades183x_defs.h.

◆ ADI_PEC10_FULL_EXCLUDE_COMMAND_COUNTER

#define ADI_PEC10_FULL_EXCLUDE_COMMAND_COUNTER   (0x3Fu)

Definition at line 307 of file adi_ades183x_defs.h.

◆ ADI_PEC10_MSB_EXCLUDE_COMMAND_COUNTER

#define ADI_PEC10_MSB_EXCLUDE_COMMAND_COUNTER   (0x3u)

Definition at line 309 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE0

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE0   (1u)

Values used for PEC latent fault check

Definition at line 246 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE1

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE1   (2u)

Values used for PEC latent fault check

Definition at line 247 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE2

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE2   (3u)

Values used for PEC latent fault check

Definition at line 248 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE3

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE3   (4u)

Values used for PEC latent fault check

Definition at line 249 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE4

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE4   (5u)

Values used for PEC latent fault check

Definition at line 250 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE5

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA0_BYTE5   (6u)

Values used for PEC latent fault check

Definition at line 251 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE0

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE0   (7u)

Values used for PEC latent fault check

Definition at line 252 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE1

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE1   (8u)

Values used for PEC latent fault check

Definition at line 253 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE2

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE2   (9u)

Values used for PEC latent fault check

Definition at line 254 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE3

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE3   (10u)

Values used for PEC latent fault check

Definition at line 255 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE4

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE4   (11u)

Values used for PEC latent fault check

Definition at line 256 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE5

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA1_BYTE5   (12u)

Values used for PEC latent fault check

Definition at line 257 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE0

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE0   (13u)

Values used for PEC latent fault check

Definition at line 258 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE1

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE1   (14u)

Values used for PEC latent fault check

Definition at line 259 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE2

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE2   (15u)

Values used for PEC latent fault check

Definition at line 260 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE3

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE3   (16u)

Values used for PEC latent fault check

Definition at line 261 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE4

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE4   (17u)

Values used for PEC latent fault check

Definition at line 262 of file adi_ades183x_defs.h.

◆ ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE5

#define ADI_PEC_LATENT_FAULT_CHECK_TESTDATA2_BYTE5   (18u)

Values used for PEC latent fault check

Definition at line 263 of file adi_ades183x_defs.h.

◆ ADI_PEC_SIZE_IN_BYTES

#define ADI_PEC_SIZE_IN_BYTES   (2u)

Definition at line 319 of file adi_ades183x_defs.h.

◆ ADI_QUEUE_TIMEOUT_MS

#define ADI_QUEUE_TIMEOUT_MS   ((TickType_t)0u)

Maximum queue timeout time in milliseconds

Definition at line 284 of file adi_ades183x_defs.h.

◆ ADI_RAW_VOLTAGE_SIZE_IN_BYTES

#define ADI_RAW_VOLTAGE_SIZE_IN_BYTES   (2u)

Definition at line 323 of file adi_ades183x_defs.h.

◆ ADI_RDACA_BYTE0

#define ADI_RDACA_BYTE0   (0x00u)

Read averaged voltage registers

Definition at line 678 of file adi_ades183x_defs.h.

◆ ADI_RDACA_BYTE1

#define ADI_RDACA_BYTE1   (0x44u)

ades183x command definitions Start cell voltage conversion

Definition at line 679 of file adi_ades183x_defs.h.

◆ ADI_RDACA_INC

#define ADI_RDACA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 680 of file adi_ades183x_defs.h.

◆ ADI_RDACA_LEN

#define ADI_RDACA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 681 of file adi_ades183x_defs.h.

◆ ADI_RDACB_BYTE0

#define ADI_RDACB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 683 of file adi_ades183x_defs.h.

◆ ADI_RDACB_BYTE1

#define ADI_RDACB_BYTE1   (0x46u)

ades183x command definitions Start cell voltage conversion

Definition at line 684 of file adi_ades183x_defs.h.

◆ ADI_RDACB_INC

#define ADI_RDACB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 685 of file adi_ades183x_defs.h.

◆ ADI_RDACB_LEN

#define ADI_RDACB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 686 of file adi_ades183x_defs.h.

◆ ADI_RDACC_BYTE0

#define ADI_RDACC_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 688 of file adi_ades183x_defs.h.

◆ ADI_RDACC_BYTE1

#define ADI_RDACC_BYTE1   (0x48u)

ades183x command definitions Start cell voltage conversion

Definition at line 689 of file adi_ades183x_defs.h.

◆ ADI_RDACC_INC

#define ADI_RDACC_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 690 of file adi_ades183x_defs.h.

◆ ADI_RDACC_LEN

#define ADI_RDACC_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 691 of file adi_ades183x_defs.h.

◆ ADI_RDACD_BYTE0

#define ADI_RDACD_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 693 of file adi_ades183x_defs.h.

◆ ADI_RDACD_BYTE1

#define ADI_RDACD_BYTE1   (0x4Au)

ades183x command definitions Start cell voltage conversion

Definition at line 694 of file adi_ades183x_defs.h.

◆ ADI_RDACD_INC

#define ADI_RDACD_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 695 of file adi_ades183x_defs.h.

◆ ADI_RDACD_LEN

#define ADI_RDACD_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 696 of file adi_ades183x_defs.h.

◆ ADI_RDACE_BYTE0

#define ADI_RDACE_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 698 of file adi_ades183x_defs.h.

◆ ADI_RDACE_BYTE1

#define ADI_RDACE_BYTE1   (0x49u)

ades183x command definitions Start cell voltage conversion

Definition at line 699 of file adi_ades183x_defs.h.

◆ ADI_RDACE_INC

#define ADI_RDACE_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 700 of file adi_ades183x_defs.h.

◆ ADI_RDACE_LEN

#define ADI_RDACE_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 701 of file adi_ades183x_defs.h.

◆ ADI_RDACF_BYTE0

#define ADI_RDACF_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 703 of file adi_ades183x_defs.h.

◆ ADI_RDACF_BYTE1

#define ADI_RDACF_BYTE1   (0x4Bu)

ades183x command definitions Start cell voltage conversion

Definition at line 704 of file adi_ades183x_defs.h.

◆ ADI_RDACF_INC

#define ADI_RDACF_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 705 of file adi_ades183x_defs.h.

◆ ADI_RDACF_LEN

#define ADI_RDACF_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 706 of file adi_ades183x_defs.h.

◆ ADI_RDAUXA_BYTE0

#define ADI_RDAUXA_BYTE0   (0x00u)

Read auxiliary registers

Definition at line 777 of file adi_ades183x_defs.h.

◆ ADI_RDAUXA_BYTE1

#define ADI_RDAUXA_BYTE1   (0x19u)

ades183x command definitions Start cell voltage conversion

Definition at line 778 of file adi_ades183x_defs.h.

◆ ADI_RDAUXA_INC

#define ADI_RDAUXA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 779 of file adi_ades183x_defs.h.

◆ ADI_RDAUXA_LEN

#define ADI_RDAUXA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 780 of file adi_ades183x_defs.h.

◆ ADI_RDAUXB_BYTE0

#define ADI_RDAUXB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 782 of file adi_ades183x_defs.h.

◆ ADI_RDAUXB_BYTE1

#define ADI_RDAUXB_BYTE1   (0x1Au)

ades183x command definitions Start cell voltage conversion

Definition at line 783 of file adi_ades183x_defs.h.

◆ ADI_RDAUXB_INC

#define ADI_RDAUXB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 784 of file adi_ades183x_defs.h.

◆ ADI_RDAUXB_LEN

#define ADI_RDAUXB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 785 of file adi_ades183x_defs.h.

◆ ADI_RDAUXC_BYTE0

#define ADI_RDAUXC_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 787 of file adi_ades183x_defs.h.

◆ ADI_RDAUXC_BYTE1

#define ADI_RDAUXC_BYTE1   (0x1Bu)

ades183x command definitions Start cell voltage conversion

Definition at line 788 of file adi_ades183x_defs.h.

◆ ADI_RDAUXC_INC

#define ADI_RDAUXC_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 789 of file adi_ades183x_defs.h.

◆ ADI_RDAUXC_LEN

#define ADI_RDAUXC_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 790 of file adi_ades183x_defs.h.

◆ ADI_RDAUXD_BYTE0

#define ADI_RDAUXD_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 792 of file adi_ades183x_defs.h.

◆ ADI_RDAUXD_BYTE1

#define ADI_RDAUXD_BYTE1   (0x1Fu)

ades183x command definitions Start cell voltage conversion

Definition at line 793 of file adi_ades183x_defs.h.

◆ ADI_RDAUXD_INC

#define ADI_RDAUXD_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 794 of file adi_ades183x_defs.h.

◆ ADI_RDAUXD_LEN

#define ADI_RDAUXD_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 795 of file adi_ades183x_defs.h.

◆ ADI_RDAUXE_BYTE0

#define ADI_RDAUXE_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 797 of file adi_ades183x_defs.h.

◆ ADI_RDAUXE_BYTE1

#define ADI_RDAUXE_BYTE1   (0x36u)

ades183x command definitions Start cell voltage conversion

Definition at line 798 of file adi_ades183x_defs.h.

◆ ADI_RDAUXE_INC

#define ADI_RDAUXE_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 799 of file adi_ades183x_defs.h.

◆ ADI_RDAUXE_LEN

#define ADI_RDAUXE_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 800 of file adi_ades183x_defs.h.

◆ ADI_RDCFGA_BYTE0

#define ADI_RDCFGA_BYTE0   (0x00u)

Read configuration registers

Definition at line 638 of file adi_ades183x_defs.h.

◆ ADI_RDCFGA_BYTE1

#define ADI_RDCFGA_BYTE1   (0x02u)

ades183x command definitions Start cell voltage conversion

Definition at line 639 of file adi_ades183x_defs.h.

◆ ADI_RDCFGA_INC

#define ADI_RDCFGA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 640 of file adi_ades183x_defs.h.

◆ ADI_RDCFGA_LEN

#define ADI_RDCFGA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 641 of file adi_ades183x_defs.h.

◆ ADI_RDCFGB_BYTE0

#define ADI_RDCFGB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 643 of file adi_ades183x_defs.h.

◆ ADI_RDCFGB_BYTE1

#define ADI_RDCFGB_BYTE1   (0x26u)

ades183x command definitions Start cell voltage conversion

Definition at line 644 of file adi_ades183x_defs.h.

◆ ADI_RDCFGB_INC

#define ADI_RDCFGB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 645 of file adi_ades183x_defs.h.

◆ ADI_RDCFGB_LEN

#define ADI_RDCFGB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 646 of file adi_ades183x_defs.h.

◆ ADI_RDCVA_BYTE0

#define ADI_RDCVA_BYTE0   (0x00u)

Read cell voltage registers

Definition at line 648 of file adi_ades183x_defs.h.

◆ ADI_RDCVA_BYTE1

#define ADI_RDCVA_BYTE1   (0x04u)

ades183x command definitions Start cell voltage conversion

Definition at line 649 of file adi_ades183x_defs.h.

◆ ADI_RDCVA_INC

#define ADI_RDCVA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 650 of file adi_ades183x_defs.h.

◆ ADI_RDCVA_LEN

#define ADI_RDCVA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 651 of file adi_ades183x_defs.h.

◆ ADI_RDCVB_BYTE0

#define ADI_RDCVB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 653 of file adi_ades183x_defs.h.

◆ ADI_RDCVB_BYTE1

#define ADI_RDCVB_BYTE1   (0x06u)

ades183x command definitions Start cell voltage conversion

Definition at line 654 of file adi_ades183x_defs.h.

◆ ADI_RDCVB_INC

#define ADI_RDCVB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 655 of file adi_ades183x_defs.h.

◆ ADI_RDCVB_LEN

#define ADI_RDCVB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 656 of file adi_ades183x_defs.h.

◆ ADI_RDCVC_BYTE0

#define ADI_RDCVC_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 658 of file adi_ades183x_defs.h.

◆ ADI_RDCVC_BYTE1

#define ADI_RDCVC_BYTE1   (0x08u)

ades183x command definitions Start cell voltage conversion

Definition at line 659 of file adi_ades183x_defs.h.

◆ ADI_RDCVC_INC

#define ADI_RDCVC_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 660 of file adi_ades183x_defs.h.

◆ ADI_RDCVC_LEN

#define ADI_RDCVC_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 661 of file adi_ades183x_defs.h.

◆ ADI_RDCVD_BYTE0

#define ADI_RDCVD_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 663 of file adi_ades183x_defs.h.

◆ ADI_RDCVD_BYTE1

#define ADI_RDCVD_BYTE1   (0x0Au)

ades183x command definitions Start cell voltage conversion

Definition at line 664 of file adi_ades183x_defs.h.

◆ ADI_RDCVD_INC

#define ADI_RDCVD_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 665 of file adi_ades183x_defs.h.

◆ ADI_RDCVD_LEN

#define ADI_RDCVD_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 666 of file adi_ades183x_defs.h.

◆ ADI_RDCVE_BYTE0

#define ADI_RDCVE_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 668 of file adi_ades183x_defs.h.

◆ ADI_RDCVE_BYTE1

#define ADI_RDCVE_BYTE1   (0x09u)

ades183x command definitions Start cell voltage conversion

Definition at line 669 of file adi_ades183x_defs.h.

◆ ADI_RDCVE_INC

#define ADI_RDCVE_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 670 of file adi_ades183x_defs.h.

◆ ADI_RDCVE_LEN

#define ADI_RDCVE_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 671 of file adi_ades183x_defs.h.

◆ ADI_RDCVF_BYTE0

#define ADI_RDCVF_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 673 of file adi_ades183x_defs.h.

◆ ADI_RDCVF_BYTE1

#define ADI_RDCVF_BYTE1   (0x0Bu)

ades183x command definitions Start cell voltage conversion

Definition at line 674 of file adi_ades183x_defs.h.

◆ ADI_RDCVF_INC

#define ADI_RDCVF_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 675 of file adi_ades183x_defs.h.

◆ ADI_RDCVF_LEN

#define ADI_RDCVF_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 676 of file adi_ades183x_defs.h.

◆ ADI_RDFCA_BYTE0

#define ADI_RDFCA_BYTE0   (0x00u)

Read filtered voltage registers

Definition at line 708 of file adi_ades183x_defs.h.

◆ ADI_RDFCA_BYTE1

#define ADI_RDFCA_BYTE1   (0x12u)

ades183x command definitions Start cell voltage conversion

Definition at line 709 of file adi_ades183x_defs.h.

◆ ADI_RDFCA_INC

#define ADI_RDFCA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 710 of file adi_ades183x_defs.h.

◆ ADI_RDFCA_LEN

#define ADI_RDFCA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 711 of file adi_ades183x_defs.h.

◆ ADI_RDFCB_BYTE0

#define ADI_RDFCB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 713 of file adi_ades183x_defs.h.

◆ ADI_RDFCB_BYTE1

#define ADI_RDFCB_BYTE1   (0x13u)

ades183x command definitions Start cell voltage conversion

Definition at line 714 of file adi_ades183x_defs.h.

◆ ADI_RDFCB_INC

#define ADI_RDFCB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 715 of file adi_ades183x_defs.h.

◆ ADI_RDFCB_LEN

#define ADI_RDFCB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 716 of file adi_ades183x_defs.h.

◆ ADI_RDFCC_BYTE0

#define ADI_RDFCC_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 718 of file adi_ades183x_defs.h.

◆ ADI_RDFCC_BYTE1

#define ADI_RDFCC_BYTE1   (0x14u)

ades183x command definitions Start cell voltage conversion

Definition at line 719 of file adi_ades183x_defs.h.

◆ ADI_RDFCC_INC

#define ADI_RDFCC_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 720 of file adi_ades183x_defs.h.

◆ ADI_RDFCC_LEN

#define ADI_RDFCC_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 721 of file adi_ades183x_defs.h.

◆ ADI_RDFCD_BYTE0

#define ADI_RDFCD_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 723 of file adi_ades183x_defs.h.

◆ ADI_RDFCD_BYTE1

#define ADI_RDFCD_BYTE1   (0x15u)

ades183x command definitions Start cell voltage conversion

Definition at line 724 of file adi_ades183x_defs.h.

◆ ADI_RDFCD_INC

#define ADI_RDFCD_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 725 of file adi_ades183x_defs.h.

◆ ADI_RDFCD_LEN

#define ADI_RDFCD_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 726 of file adi_ades183x_defs.h.

◆ ADI_RDFCE_BYTE0

#define ADI_RDFCE_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 728 of file adi_ades183x_defs.h.

◆ ADI_RDFCE_BYTE1

#define ADI_RDFCE_BYTE1   (0x16u)

ades183x command definitions Start cell voltage conversion

Definition at line 729 of file adi_ades183x_defs.h.

◆ ADI_RDFCE_INC

#define ADI_RDFCE_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 730 of file adi_ades183x_defs.h.

◆ ADI_RDFCE_LEN

#define ADI_RDFCE_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 731 of file adi_ades183x_defs.h.

◆ ADI_RDFCF_BYTE0

#define ADI_RDFCF_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 733 of file adi_ades183x_defs.h.

◆ ADI_RDFCF_BYTE1

#define ADI_RDFCF_BYTE1   (0x17u)

ades183x command definitions Start cell voltage conversion

Definition at line 734 of file adi_ades183x_defs.h.

◆ ADI_RDFCF_INC

#define ADI_RDFCF_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 735 of file adi_ades183x_defs.h.

◆ ADI_RDFCF_LEN

#define ADI_RDFCF_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 736 of file adi_ades183x_defs.h.

◆ ADI_RDPWMA_BYTE0

#define ADI_RDPWMA_BYTE0   (0x00u)

Read PWM registers

Definition at line 836 of file adi_ades183x_defs.h.

◆ ADI_RDPWMA_BYTE1

#define ADI_RDPWMA_BYTE1   (0x22u)

ades183x command definitions Start cell voltage conversion

Definition at line 837 of file adi_ades183x_defs.h.

◆ ADI_RDPWMA_INC

#define ADI_RDPWMA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 838 of file adi_ades183x_defs.h.

◆ ADI_RDPWMA_LEN

#define ADI_RDPWMA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 839 of file adi_ades183x_defs.h.

◆ ADI_RDPWMB_BYTE0

#define ADI_RDPWMB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 840 of file adi_ades183x_defs.h.

◆ ADI_RDPWMB_BYTE1

#define ADI_RDPWMB_BYTE1   (0x23u)

ades183x command definitions Start cell voltage conversion

Definition at line 841 of file adi_ades183x_defs.h.

◆ ADI_RDPWMB_INC

#define ADI_RDPWMB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 842 of file adi_ades183x_defs.h.

◆ ADI_RDPWMB_LEN

#define ADI_RDPWMB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 843 of file adi_ades183x_defs.h.

◆ ADI_RDRAXA_BYTE0

#define ADI_RDRAXA_BYTE0   (0x00u)

Read redundant auxiliary registers

Definition at line 802 of file adi_ades183x_defs.h.

◆ ADI_RDRAXA_BYTE1

#define ADI_RDRAXA_BYTE1   (0x1Cu)

ades183x command definitions Start cell voltage conversion

Definition at line 803 of file adi_ades183x_defs.h.

◆ ADI_RDRAXA_INC

#define ADI_RDRAXA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 804 of file adi_ades183x_defs.h.

◆ ADI_RDRAXA_LEN

#define ADI_RDRAXA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 805 of file adi_ades183x_defs.h.

◆ ADI_RDRAXB_BYTE0

#define ADI_RDRAXB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 807 of file adi_ades183x_defs.h.

◆ ADI_RDRAXB_BYTE1

#define ADI_RDRAXB_BYTE1   (0x1Du)

ades183x command definitions Start cell voltage conversion

Definition at line 808 of file adi_ades183x_defs.h.

◆ ADI_RDRAXB_INC

#define ADI_RDRAXB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 809 of file adi_ades183x_defs.h.

◆ ADI_RDRAXB_LEN

#define ADI_RDRAXB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 810 of file adi_ades183x_defs.h.

◆ ADI_RDRAXC_BYTE0

#define ADI_RDRAXC_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 812 of file adi_ades183x_defs.h.

◆ ADI_RDRAXC_BYTE1

#define ADI_RDRAXC_BYTE1   (0x1Eu)

ades183x command definitions Start cell voltage conversion

Definition at line 813 of file adi_ades183x_defs.h.

◆ ADI_RDRAXC_INC

#define ADI_RDRAXC_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 814 of file adi_ades183x_defs.h.

◆ ADI_RDRAXC_LEN

#define ADI_RDRAXC_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 815 of file adi_ades183x_defs.h.

◆ ADI_RDRAXD_BYTE0

#define ADI_RDRAXD_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 817 of file adi_ades183x_defs.h.

◆ ADI_RDRAXD_BYTE1

#define ADI_RDRAXD_BYTE1   (0x25u)

ades183x command definitions Start cell voltage conversion

Definition at line 818 of file adi_ades183x_defs.h.

◆ ADI_RDRAXD_INC

#define ADI_RDRAXD_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 819 of file adi_ades183x_defs.h.

◆ ADI_RDRAXD_LEN

#define ADI_RDRAXD_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 820 of file adi_ades183x_defs.h.

◆ ADI_RDSID_BYTE0

#define ADI_RDSID_BYTE0   (0x00u)

Read serial ID

Definition at line 900 of file adi_ades183x_defs.h.

◆ ADI_RDSID_BYTE1

#define ADI_RDSID_BYTE1   (0x2Cu)

ades183x command definitions Start cell voltage conversion

Definition at line 901 of file adi_ades183x_defs.h.

◆ ADI_RDSID_INC

#define ADI_RDSID_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 902 of file adi_ades183x_defs.h.

◆ ADI_RDSID_LEN

#define ADI_RDSID_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 903 of file adi_ades183x_defs.h.

◆ ADI_RDSTATA_BYTE0

#define ADI_RDSTATA_BYTE0   (0x00u)

Read status register

Definition at line 872 of file adi_ades183x_defs.h.

◆ ADI_RDSTATA_BYTE1

#define ADI_RDSTATA_BYTE1   (0x30u)

ades183x command definitions Start cell voltage conversion

Definition at line 873 of file adi_ades183x_defs.h.

◆ ADI_RDSTATA_INC

#define ADI_RDSTATA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 874 of file adi_ades183x_defs.h.

◆ ADI_RDSTATA_LEN

#define ADI_RDSTATA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 875 of file adi_ades183x_defs.h.

◆ ADI_RDSTATB_BYTE0

#define ADI_RDSTATB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 877 of file adi_ades183x_defs.h.

◆ ADI_RDSTATB_BYTE1

#define ADI_RDSTATB_BYTE1   (0x31u)

ades183x command definitions Start cell voltage conversion

Definition at line 878 of file adi_ades183x_defs.h.

◆ ADI_RDSTATB_INC

#define ADI_RDSTATB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 879 of file adi_ades183x_defs.h.

◆ ADI_RDSTATB_LEN

#define ADI_RDSTATB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 880 of file adi_ades183x_defs.h.

◆ ADI_RDSTATC_BYTE0

#define ADI_RDSTATC_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 882 of file adi_ades183x_defs.h.

◆ ADI_RDSTATC_BYTE1

#define ADI_RDSTATC_BYTE1   (0x32u)

ades183x command definitions Start cell voltage conversion

Definition at line 883 of file adi_ades183x_defs.h.

◆ ADI_RDSTATC_ERR_LEN

#define ADI_RDSTATC_ERR_LEN   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 888 of file adi_ades183x_defs.h.

◆ ADI_RDSTATC_ERR_POS

#define ADI_RDSTATC_ERR_POS   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 887 of file adi_ades183x_defs.h.

◆ ADI_RDSTATC_INC

#define ADI_RDSTATC_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 884 of file adi_ades183x_defs.h.

◆ ADI_RDSTATC_LEN

#define ADI_RDSTATC_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 885 of file adi_ades183x_defs.h.

◆ ADI_RDSTATD_BYTE0

#define ADI_RDSTATD_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 890 of file adi_ades183x_defs.h.

◆ ADI_RDSTATD_BYTE1

#define ADI_RDSTATD_BYTE1   (0x33u)

ades183x command definitions Start cell voltage conversion

Definition at line 891 of file adi_ades183x_defs.h.

◆ ADI_RDSTATD_INC

#define ADI_RDSTATD_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 892 of file adi_ades183x_defs.h.

◆ ADI_RDSTATD_LEN

#define ADI_RDSTATD_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 893 of file adi_ades183x_defs.h.

◆ ADI_RDSTATE_BYTE0

#define ADI_RDSTATE_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 895 of file adi_ades183x_defs.h.

◆ ADI_RDSTATE_BYTE1

#define ADI_RDSTATE_BYTE1   (0x34u)

ades183x command definitions Start cell voltage conversion

Definition at line 896 of file adi_ades183x_defs.h.

◆ ADI_RDSTATE_INC

#define ADI_RDSTATE_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 897 of file adi_ades183x_defs.h.

◆ ADI_RDSTATE_LEN

#define ADI_RDSTATE_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 898 of file adi_ades183x_defs.h.

◆ ADI_RDSVA_BYTE0

#define ADI_RDSVA_BYTE0   (0x00u)

Read redundant voltage registers

Definition at line 738 of file adi_ades183x_defs.h.

◆ ADI_RDSVA_BYTE1

#define ADI_RDSVA_BYTE1   (0x03u)

ades183x command definitions Start cell voltage conversion

Definition at line 739 of file adi_ades183x_defs.h.

◆ ADI_RDSVA_INC

#define ADI_RDSVA_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 740 of file adi_ades183x_defs.h.

◆ ADI_RDSVA_LEN

#define ADI_RDSVA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 741 of file adi_ades183x_defs.h.

◆ ADI_RDSVB_BYTE0

#define ADI_RDSVB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 743 of file adi_ades183x_defs.h.

◆ ADI_RDSVB_BYTE1

#define ADI_RDSVB_BYTE1   (0x05u)

ades183x command definitions Start cell voltage conversion

Definition at line 744 of file adi_ades183x_defs.h.

◆ ADI_RDSVB_INC

#define ADI_RDSVB_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 745 of file adi_ades183x_defs.h.

◆ ADI_RDSVB_LEN

#define ADI_RDSVB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 746 of file adi_ades183x_defs.h.

◆ ADI_RDSVC_BYTE0

#define ADI_RDSVC_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 748 of file adi_ades183x_defs.h.

◆ ADI_RDSVC_BYTE1

#define ADI_RDSVC_BYTE1   (0x07u)

ades183x command definitions Start cell voltage conversion

Definition at line 749 of file adi_ades183x_defs.h.

◆ ADI_RDSVC_INC

#define ADI_RDSVC_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 750 of file adi_ades183x_defs.h.

◆ ADI_RDSVC_LEN

#define ADI_RDSVC_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 751 of file adi_ades183x_defs.h.

◆ ADI_RDSVD_BYTE0

#define ADI_RDSVD_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 753 of file adi_ades183x_defs.h.

◆ ADI_RDSVD_BYTE1

#define ADI_RDSVD_BYTE1   (0x0Du)

ades183x command definitions Start cell voltage conversion

Definition at line 754 of file adi_ades183x_defs.h.

◆ ADI_RDSVD_INC

#define ADI_RDSVD_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 755 of file adi_ades183x_defs.h.

◆ ADI_RDSVD_LEN

#define ADI_RDSVD_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 756 of file adi_ades183x_defs.h.

◆ ADI_RDSVE_BYTE0

#define ADI_RDSVE_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 758 of file adi_ades183x_defs.h.

◆ ADI_RDSVE_BYTE1

#define ADI_RDSVE_BYTE1   (0x0Eu)

ades183x command definitions Start cell voltage conversion

Definition at line 759 of file adi_ades183x_defs.h.

◆ ADI_RDSVE_INC

#define ADI_RDSVE_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 760 of file adi_ades183x_defs.h.

◆ ADI_RDSVE_LEN

#define ADI_RDSVE_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 761 of file adi_ades183x_defs.h.

◆ ADI_RDSVF_BYTE0

#define ADI_RDSVF_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 763 of file adi_ades183x_defs.h.

◆ ADI_RDSVF_BYTE1

#define ADI_RDSVF_BYTE1   (0x0Fu)

ades183x command definitions Start cell voltage conversion

Definition at line 764 of file adi_ades183x_defs.h.

◆ ADI_RDSVF_INC

#define ADI_RDSVF_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 765 of file adi_ades183x_defs.h.

◆ ADI_RDSVF_LEN

#define ADI_RDSVF_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 766 of file adi_ades183x_defs.h.

◆ ADI_REDUNDANT_ADC_MEASUREMENT_TIME_ms

#define ADI_REDUNDANT_ADC_MEASUREMENT_TIME_ms   (8u)

Definition at line 543 of file adi_ades183x_defs.h.

◆ ADI_REGISTER_CLEARED_VALUE

#define ADI_REGISTER_CLEARED_VALUE   (0x8000u)

Definition at line 564 of file adi_ades183x_defs.h.

◆ ADI_REGISTER_OFFSET0

#define ADI_REGISTER_OFFSET0   (0u)

Generic defines to access the bytes of a register set

Definition at line 468 of file adi_ades183x_defs.h.

◆ ADI_REGISTER_OFFSET1

#define ADI_REGISTER_OFFSET1   (1u)

Generic defines to access the bytes of a register set

Definition at line 469 of file adi_ades183x_defs.h.

◆ ADI_REGISTER_OFFSET2

#define ADI_REGISTER_OFFSET2   (2u)

Generic defines to access the bytes of a register set

Definition at line 470 of file adi_ades183x_defs.h.

◆ ADI_REGISTER_OFFSET3

#define ADI_REGISTER_OFFSET3   (3u)

Generic defines to access the bytes of a register set

Definition at line 471 of file adi_ades183x_defs.h.

◆ ADI_REGISTER_OFFSET4

#define ADI_REGISTER_OFFSET4   (4u)

Generic defines to access the bytes of a register set

Definition at line 472 of file adi_ades183x_defs.h.

◆ ADI_REGISTER_OFFSET5

#define ADI_REGISTER_OFFSET5   (5u)

Generic defines to access the bytes of a register set

Definition at line 473 of file adi_ades183x_defs.h.

◆ ADI_REGISTER_POR_VALUE

#define ADI_REGISTER_POR_VALUE   (0x7FFFu)

Definition at line 561 of file adi_ades183x_defs.h.

◆ ADI_RESULT_REGISTER_SET_A

#define ADI_RESULT_REGISTER_SET_A   (0u)

Defines to access voltage register set

Definition at line 458 of file adi_ades183x_defs.h.

◆ ADI_RESULT_REGISTER_SET_B

#define ADI_RESULT_REGISTER_SET_B   (1u)

Defines to access voltage register set

Definition at line 459 of file adi_ades183x_defs.h.

◆ ADI_RESULT_REGISTER_SET_C

#define ADI_RESULT_REGISTER_SET_C   (2u)

Defines to access voltage register set

Definition at line 460 of file adi_ades183x_defs.h.

◆ ADI_RESULT_REGISTER_SET_D

#define ADI_RESULT_REGISTER_SET_D   (3u)

Defines to access voltage register set

Definition at line 461 of file adi_ades183x_defs.h.

◆ ADI_RESULT_REGISTER_SET_E

#define ADI_RESULT_REGISTER_SET_E   (4u)

Defines to access voltage register set

Definition at line 462 of file adi_ades183x_defs.h.

◆ ADI_RESULT_REGISTER_SET_F

#define ADI_RESULT_REGISTER_SET_F   (5u)

Defines to access voltage register set

Definition at line 463 of file adi_ades183x_defs.h.

◆ ADI_RSTCC_BYTE0

#define ADI_RSTCC_BYTE0   (0x00u)

Clear command counter

Definition at line 855 of file adi_ades183x_defs.h.

◆ ADI_RSTCC_BYTE1

#define ADI_RSTCC_BYTE1   (0x2Eu)

ades183x command definitions Start cell voltage conversion

Definition at line 856 of file adi_ades183x_defs.h.

◆ ADI_RSTCC_INC

#define ADI_RSTCC_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 857 of file adi_ades183x_defs.h.

◆ ADI_RSTCC_LEN

#define ADI_RSTCC_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 858 of file adi_ades183x_defs.h.

◆ ADI_SIZE_OF_DATA_FOR_PEC_COMPUTATION

#define ADI_SIZE_OF_DATA_FOR_PEC_COMPUTATION   (6u)

Definition at line 331 of file adi_ades183x_defs.h.

◆ ADI_SIZE_OF_DATA_FOR_PEC_COMPUTATION_WITH_COUNTER

#define ADI_SIZE_OF_DATA_FOR_PEC_COMPUTATION_WITH_COUNTER   (7u)

Definition at line 333 of file adi_ades183x_defs.h.

◆ ADI_SNAPSHOT_BYTE0

#define ADI_SNAPSHOT_BYTE0   (0x00u)

Snapshot commands

Definition at line 768 of file adi_ades183x_defs.h.

◆ ADI_SNAPSHOT_BYTE1

#define ADI_SNAPSHOT_BYTE1   (0x2Du)

ades183x command definitions Start cell voltage conversion

Definition at line 769 of file adi_ades183x_defs.h.

◆ ADI_SNAPSHOT_INC

#define ADI_SNAPSHOT_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 770 of file adi_ades183x_defs.h.

◆ ADI_SNAPSHOT_LEN

#define ADI_SNAPSHOT_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 771 of file adi_ades183x_defs.h.

◆ ADI_SPI_WAKEUP_WAIT_TIME_US

#define ADI_SPI_WAKEUP_WAIT_TIME_US   (100u)

isoSPI wakeup time

Definition at line 201 of file adi_ades183x_defs.h.

◆ ADI_SRST_BYTE0

#define ADI_SRST_BYTE0   (0x00u)

Soft Reset

Definition at line 905 of file adi_ades183x_defs.h.

◆ ADI_SRST_BYTE1

#define ADI_SRST_BYTE1   (0x27u)

ades183x command definitions Start cell voltage conversion

Definition at line 906 of file adi_ades183x_defs.h.

◆ ADI_SRST_INC

#define ADI_SRST_INC   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 907 of file adi_ades183x_defs.h.

◆ ADI_SRST_LEN

#define ADI_SRST_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 908 of file adi_ades183x_defs.h.

◆ ADI_STAR0_VREF2_0_7_MASK

#define ADI_STAR0_VREF2_0_7_MASK   (0xFFu)

Definition at line 972 of file adi_ades183x_defs.h.

◆ ADI_STAR0_VREF2_0_7_POS

#define ADI_STAR0_VREF2_0_7_POS   (0u)

Definition at line 971 of file adi_ades183x_defs.h.

◆ ADI_STAR1_VREF2_8_15_MASK

#define ADI_STAR1_VREF2_8_15_MASK   (0xFFu)

Definition at line 975 of file adi_ades183x_defs.h.

◆ ADI_STAR1_VREF2_8_15_POS

#define ADI_STAR1_VREF2_8_15_POS   (0u)

Definition at line 974 of file adi_ades183x_defs.h.

◆ ADI_STAR2_ITMP_0_7_MASK

#define ADI_STAR2_ITMP_0_7_MASK   (0xFFu)

Definition at line 978 of file adi_ades183x_defs.h.

◆ ADI_STAR2_ITMP_0_7_POS

#define ADI_STAR2_ITMP_0_7_POS   (0u)

Definition at line 977 of file adi_ades183x_defs.h.

◆ ADI_STAR3_ITMP_8_15_MASK

#define ADI_STAR3_ITMP_8_15_MASK   (0xFFu)

Definition at line 981 of file adi_ades183x_defs.h.

◆ ADI_STAR3_ITMP_8_15_POS

#define ADI_STAR3_ITMP_8_15_POS   (0u)

Definition at line 980 of file adi_ades183x_defs.h.

◆ ADI_START_AUX_CHANNEL

#define ADI_START_AUX_CHANNEL   (1u)

Number of used ADI ICs

Definition at line 205 of file adi_ades183x_defs.h.

◆ ADI_STBR0_VD_0_7_MASK

#define ADI_STBR0_VD_0_7_MASK   (0xFFu)

Definition at line 986 of file adi_ades183x_defs.h.

◆ ADI_STBR0_VD_0_7_POS

#define ADI_STBR0_VD_0_7_POS   (0u)

Definition at line 985 of file adi_ades183x_defs.h.

◆ ADI_STBR1_VD_8_15_MASK

#define ADI_STBR1_VD_8_15_MASK   (0xFFu)

Definition at line 989 of file adi_ades183x_defs.h.

◆ ADI_STBR1_VD_8_15_POS

#define ADI_STBR1_VD_8_15_POS   (0u)

Definition at line 988 of file adi_ades183x_defs.h.

◆ ADI_STBR2_VA_0_7_MASK

#define ADI_STBR2_VA_0_7_MASK   (0xFFu)

Definition at line 992 of file adi_ades183x_defs.h.

◆ ADI_STBR2_VA_0_7_POS

#define ADI_STBR2_VA_0_7_POS   (0u)

Definition at line 991 of file adi_ades183x_defs.h.

◆ ADI_STBR3_VA_8_15_MASK

#define ADI_STBR3_VA_8_15_MASK   (0xFFu)

Definition at line 995 of file adi_ades183x_defs.h.

◆ ADI_STBR3_VA_8_15_POS

#define ADI_STBR3_VA_8_15_POS   (0u)

Definition at line 994 of file adi_ades183x_defs.h.

◆ ADI_STBR4_VRES_0_7_MASK

#define ADI_STBR4_VRES_0_7_MASK   (0xFFu)

Definition at line 998 of file adi_ades183x_defs.h.

◆ ADI_STBR4_VRES_0_7_POS

#define ADI_STBR4_VRES_0_7_POS   (0u)

Definition at line 997 of file adi_ades183x_defs.h.

◆ ADI_STBR5_VRES_8_15_MASK

#define ADI_STBR5_VRES_8_15_MASK   (0xFFu)

Definition at line 1001 of file adi_ades183x_defs.h.

◆ ADI_STBR5_VRES_8_15_POS

#define ADI_STBR5_VRES_8_15_POS   (0u)

Definition at line 1000 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS1FLT_MASK

#define ADI_STCR0_CS1FLT_MASK   (0x01u)

Definition at line 1006 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS1FLT_POS

#define ADI_STCR0_CS1FLT_POS   (0u)

Definition at line 1005 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS2FLT_MASK

#define ADI_STCR0_CS2FLT_MASK   (0x02u)

Definition at line 1008 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS2FLT_POS

#define ADI_STCR0_CS2FLT_POS   (1u)

Definition at line 1007 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS3FLT_MASK

#define ADI_STCR0_CS3FLT_MASK   (0x04u)

Definition at line 1010 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS3FLT_POS

#define ADI_STCR0_CS3FLT_POS   (2u)

Definition at line 1009 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS4FLT_MASK

#define ADI_STCR0_CS4FLT_MASK   (0x08u)

Definition at line 1012 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS4FLT_POS

#define ADI_STCR0_CS4FLT_POS   (3u)

Definition at line 1011 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS5FLT_MASK

#define ADI_STCR0_CS5FLT_MASK   (0x10u)

Definition at line 1014 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS5FLT_POS

#define ADI_STCR0_CS5FLT_POS   (4u)

Definition at line 1013 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS6FLT_MASK

#define ADI_STCR0_CS6FLT_MASK   (0x20u)

Definition at line 1016 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS6FLT_POS

#define ADI_STCR0_CS6FLT_POS   (5u)

Definition at line 1015 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS7FLT_MASK

#define ADI_STCR0_CS7FLT_MASK   (0x40u)

Definition at line 1018 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS7FLT_POS

#define ADI_STCR0_CS7FLT_POS   (6u)

Definition at line 1017 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS8FLT_MASK

#define ADI_STCR0_CS8FLT_MASK   (0x80u)

Definition at line 1020 of file adi_ades183x_defs.h.

◆ ADI_STCR0_CS8FLT_POS

#define ADI_STCR0_CS8FLT_POS   (7u)

Definition at line 1019 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS10FLT_MASK

#define ADI_STCR1_CS10FLT_MASK   (0x02u)

Definition at line 1025 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS10FLT_POS

#define ADI_STCR1_CS10FLT_POS   (1u)

Definition at line 1024 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS11FLT_MASK

#define ADI_STCR1_CS11FLT_MASK   (0x04u)

Definition at line 1027 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS11FLT_POS

#define ADI_STCR1_CS11FLT_POS   (2u)

Definition at line 1026 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS12FLT_MASK

#define ADI_STCR1_CS12FLT_MASK   (0x08u)

Definition at line 1029 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS12FLT_POS

#define ADI_STCR1_CS12FLT_POS   (3u)

Definition at line 1028 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS13FLT_MASK

#define ADI_STCR1_CS13FLT_MASK   (0x10u)

Definition at line 1031 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS13FLT_POS

#define ADI_STCR1_CS13FLT_POS   (4u)

Definition at line 1030 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS14FLT_MASK

#define ADI_STCR1_CS14FLT_MASK   (0x20u)

Definition at line 1033 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS14FLT_POS

#define ADI_STCR1_CS14FLT_POS   (5u)

Definition at line 1032 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS15FLT_MASK

#define ADI_STCR1_CS15FLT_MASK   (0x40u)

Definition at line 1035 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS15FLT_POS

#define ADI_STCR1_CS15FLT_POS   (6u)

Definition at line 1034 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS16FLT_MASK

#define ADI_STCR1_CS16FLT_MASK   (0x80u)

Definition at line 1037 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS16FLT_POS

#define ADI_STCR1_CS16FLT_POS   (7u)

Definition at line 1036 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS9FLT_MASK

#define ADI_STCR1_CS9FLT_MASK   (0x01u)

Definition at line 1023 of file adi_ades183x_defs.h.

◆ ADI_STCR1_CS9FLT_POS

#define ADI_STCR1_CS9FLT_POS   (0u)

Definition at line 1022 of file adi_ades183x_defs.h.

◆ ADI_STCR2_CT_6_10_MASK

#define ADI_STCR2_CT_6_10_MASK   (0x1Fu)

Definition at line 1040 of file adi_ades183x_defs.h.

◆ ADI_STCR2_CT_6_10_POS

#define ADI_STCR2_CT_6_10_POS   (0u)

Definition at line 1039 of file adi_ades183x_defs.h.

◆ ADI_STCR3_CT_0_5_MASK

#define ADI_STCR3_CT_0_5_MASK   (0xFCu)

Definition at line 1045 of file adi_ades183x_defs.h.

◆ ADI_STCR3_CT_0_5_POS

#define ADI_STCR3_CT_0_5_POS   (2u)

Definition at line 1044 of file adi_ades183x_defs.h.

◆ ADI_STCR3_CTS_0_1_MASK

#define ADI_STCR3_CTS_0_1_MASK   (0x03u)

Definition at line 1043 of file adi_ades183x_defs.h.

◆ ADI_STCR3_CTS_0_1_POS

#define ADI_STCR3_CTS_0_1_POS   (0u)

Definition at line 1042 of file adi_ades183x_defs.h.

◆ ADI_STCR4_CED_MASK

#define ADI_STCR4_CED_MASK   (0x08u)

Definition at line 1054 of file adi_ades183x_defs.h.

◆ ADI_STCR4_CED_POS

#define ADI_STCR4_CED_POS   (3u)

Definition at line 1053 of file adi_ades183x_defs.h.

◆ ADI_STCR4_CMED_MASK

#define ADI_STCR4_CMED_MASK   (0x04u)

Definition at line 1052 of file adi_ades183x_defs.h.

◆ ADI_STCR4_CMED_POS

#define ADI_STCR4_CMED_POS   (2u)

Definition at line 1051 of file adi_ades183x_defs.h.

◆ ADI_STCR4_SED_MASK

#define ADI_STCR4_SED_MASK   (0x02u)

Definition at line 1050 of file adi_ades183x_defs.h.

◆ ADI_STCR4_SED_POS

#define ADI_STCR4_SED_POS   (1u)

Definition at line 1049 of file adi_ades183x_defs.h.

◆ ADI_STCR4_SMED_MASK

#define ADI_STCR4_SMED_MASK   (0x01u)

Definition at line 1048 of file adi_ades183x_defs.h.

◆ ADI_STCR4_SMED_POS

#define ADI_STCR4_SMED_POS   (0u)

Definition at line 1047 of file adi_ades183x_defs.h.

◆ ADI_STCR4_VA_OV_MASK

#define ADI_STCR4_VA_OV_MASK   (0x80u)

Definition at line 1062 of file adi_ades183x_defs.h.

◆ ADI_STCR4_VA_OV_POS

#define ADI_STCR4_VA_OV_POS   (7u)

Definition at line 1061 of file adi_ades183x_defs.h.

◆ ADI_STCR4_VA_UV_MASK

#define ADI_STCR4_VA_UV_MASK   (0x40u)

Definition at line 1060 of file adi_ades183x_defs.h.

◆ ADI_STCR4_VA_UV_POS

#define ADI_STCR4_VA_UV_POS   (6u)

Definition at line 1059 of file adi_ades183x_defs.h.

◆ ADI_STCR4_VD_OV_MASK

#define ADI_STCR4_VD_OV_MASK   (0x20u)

Definition at line 1058 of file adi_ades183x_defs.h.

◆ ADI_STCR4_VD_OV_POS

#define ADI_STCR4_VD_OV_POS   (5u)

Definition at line 1057 of file adi_ades183x_defs.h.

◆ ADI_STCR4_VD_UV_MASK

#define ADI_STCR4_VD_UV_MASK   (0x10u)

Definition at line 1056 of file adi_ades183x_defs.h.

◆ ADI_STCR4_VD_UV_POS

#define ADI_STCR4_VD_UV_POS   (4u)

Definition at line 1055 of file adi_ades183x_defs.h.

◆ ADI_STCR5_COMP_MASK

#define ADI_STCR5_COMP_MASK   (0x20u)

Definition at line 1075 of file adi_ades183x_defs.h.

◆ ADI_STCR5_COMP_POS

#define ADI_STCR5_COMP_POS   (5u)

Definition at line 1074 of file adi_ades183x_defs.h.

◆ ADI_STCR5_OSCCHK_MASK

#define ADI_STCR5_OSCCHK_MASK   (0x01u)

Definition at line 1065 of file adi_ades183x_defs.h.

◆ ADI_STCR5_OSCCHK_POS

#define ADI_STCR5_OSCCHK_POS   (0u)

Definition at line 1064 of file adi_ades183x_defs.h.

◆ ADI_STCR5_SLEEP_MASK

#define ADI_STCR5_SLEEP_MASK   (0x08u)

Definition at line 1071 of file adi_ades183x_defs.h.

◆ ADI_STCR5_SLEEP_POS

#define ADI_STCR5_SLEEP_POS   (3u)

Definition at line 1070 of file adi_ades183x_defs.h.

◆ ADI_STCR5_SPIFLT_MASK

#define ADI_STCR5_SPIFLT_MASK   (0x10u)

Definition at line 1073 of file adi_ades183x_defs.h.

◆ ADI_STCR5_SPIFLT_POS

#define ADI_STCR5_SPIFLT_POS   (4u)

Definition at line 1072 of file adi_ades183x_defs.h.

◆ ADI_STCR5_THSD_MASK

#define ADI_STCR5_THSD_MASK   (0x04u)

Definition at line 1069 of file adi_ades183x_defs.h.

◆ ADI_STCR5_THSD_POS

#define ADI_STCR5_THSD_POS   (2u)

Definition at line 1068 of file adi_ades183x_defs.h.

◆ ADI_STCR5_TMODCHK_MASK

#define ADI_STCR5_TMODCHK_MASK   (0x02u)

Definition at line 1067 of file adi_ades183x_defs.h.

◆ ADI_STCR5_TMODCHK_POS

#define ADI_STCR5_TMODCHK_POS   (1u)

Definition at line 1066 of file adi_ades183x_defs.h.

◆ ADI_STCR5_VDE_MASK

#define ADI_STCR5_VDE_MASK   (0x40u)

Definition at line 1077 of file adi_ades183x_defs.h.

◆ ADI_STCR5_VDE_POS

#define ADI_STCR5_VDE_POS   (6u)

Definition at line 1076 of file adi_ades183x_defs.h.

◆ ADI_STCR5_VDEL_MASK

#define ADI_STCR5_VDEL_MASK   (0x80u)

Definition at line 1079 of file adi_ades183x_defs.h.

◆ ADI_STCR5_VDEL_POS

#define ADI_STCR5_VDEL_POS   (7u)

Definition at line 1078 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C1OV_MASK

#define ADI_STDR0_C1OV_MASK   (0x02u)

Definition at line 1086 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C1OV_POS

#define ADI_STDR0_C1OV_POS   (1u)

Definition at line 1085 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C1UV_MASK

#define ADI_STDR0_C1UV_MASK   (0x01u)

Definition at line 1084 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C1UV_POS

#define ADI_STDR0_C1UV_POS   (0u)

Definition at line 1083 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C2OV_MASK

#define ADI_STDR0_C2OV_MASK   (0x08u)

Definition at line 1090 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C2OV_POS

#define ADI_STDR0_C2OV_POS   (3u)

Definition at line 1089 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C2UV_MASK

#define ADI_STDR0_C2UV_MASK   (0x04u)

Definition at line 1088 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C2UV_POS

#define ADI_STDR0_C2UV_POS   (2u)

Definition at line 1087 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C3OV_MASK

#define ADI_STDR0_C3OV_MASK   (0x20u)

Definition at line 1094 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C3OV_POS

#define ADI_STDR0_C3OV_POS   (5u)

Definition at line 1093 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C3UV_MASK

#define ADI_STDR0_C3UV_MASK   (0x10u)

Definition at line 1092 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C3UV_POS

#define ADI_STDR0_C3UV_POS   (4u)

Definition at line 1091 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C4OV_MASK

#define ADI_STDR0_C4OV_MASK   (0x80u)

Definition at line 1098 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C4OV_POS

#define ADI_STDR0_C4OV_POS   (7u)

Definition at line 1097 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C4UV_MASK

#define ADI_STDR0_C4UV_MASK   (0x40u)

Definition at line 1096 of file adi_ades183x_defs.h.

◆ ADI_STDR0_C4UV_POS

#define ADI_STDR0_C4UV_POS   (6u)

Definition at line 1095 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C50OV_MASK

#define ADI_STDR1_C50OV_MASK   (0x02u)

Definition at line 1103 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C50OV_POS

#define ADI_STDR1_C50OV_POS   (1u)

Definition at line 1102 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C5UV_MASK

#define ADI_STDR1_C5UV_MASK   (0x01u)

Definition at line 1101 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C5UV_POS

#define ADI_STDR1_C5UV_POS   (0u)

Definition at line 1100 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C6OV_MASK

#define ADI_STDR1_C6OV_MASK   (0x08u)

Definition at line 1107 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C6OV_POS

#define ADI_STDR1_C6OV_POS   (3u)

Definition at line 1106 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C6UV_MASK

#define ADI_STDR1_C6UV_MASK   (0x04u)

Definition at line 1105 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C6UV_POS

#define ADI_STDR1_C6UV_POS   (2u)

Definition at line 1104 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C7OV_MASK

#define ADI_STDR1_C7OV_MASK   (0x20u)

Definition at line 1111 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C7OV_POS

#define ADI_STDR1_C7OV_POS   (5u)

Definition at line 1110 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C7UV_MASK

#define ADI_STDR1_C7UV_MASK   (0x10u)

Definition at line 1109 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C7UV_POS

#define ADI_STDR1_C7UV_POS   (4u)

Definition at line 1108 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C8OV_MASK

#define ADI_STDR1_C8OV_MASK   (0x80u)

Definition at line 1115 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C8OV_POS

#define ADI_STDR1_C8OV_POS   (7u)

Definition at line 1114 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C8UV_MASK

#define ADI_STDR1_C8UV_MASK   (0x40u)

Definition at line 1113 of file adi_ades183x_defs.h.

◆ ADI_STDR1_C8UV_POS

#define ADI_STDR1_C8UV_POS   (6u)

Definition at line 1112 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C10OV_MASK

#define ADI_STDR2_C10OV_MASK   (0x08u)

Definition at line 1124 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C10OV_POS

#define ADI_STDR2_C10OV_POS   (3u)

Definition at line 1123 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C10UV_MASK

#define ADI_STDR2_C10UV_MASK   (0x04u)

Definition at line 1122 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C10UV_POS

#define ADI_STDR2_C10UV_POS   (2u)

Definition at line 1121 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C11OV_MASK

#define ADI_STDR2_C11OV_MASK   (0x20u)

Definition at line 1128 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C11OV_POS

#define ADI_STDR2_C11OV_POS   (5u)

Definition at line 1127 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C11UV_MASK

#define ADI_STDR2_C11UV_MASK   (0x10u)

Definition at line 1126 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C11UV_POS

#define ADI_STDR2_C11UV_POS   (4u)

Definition at line 1125 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C12OV_MASK

#define ADI_STDR2_C12OV_MASK   (0x80u)

Definition at line 1132 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C12OV_POS

#define ADI_STDR2_C12OV_POS   (7u)

Definition at line 1131 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C12UV_MASK

#define ADI_STDR2_C12UV_MASK   (0x40u)

Definition at line 1130 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C12UV_POS

#define ADI_STDR2_C12UV_POS   (6u)

Definition at line 1129 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C9OV_MASK

#define ADI_STDR2_C9OV_MASK   (0x02u)

Definition at line 1120 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C9OV_POS

#define ADI_STDR2_C9OV_POS   (1u)

Definition at line 1119 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C9UV_MASK

#define ADI_STDR2_C9UV_MASK   (0x01u)

Definition at line 1118 of file adi_ades183x_defs.h.

◆ ADI_STDR2_C9UV_POS

#define ADI_STDR2_C9UV_POS   (0u)

Definition at line 1117 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C13OV_MASK

#define ADI_STDR3_C13OV_MASK   (0x02u)

Definition at line 1137 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C13OV_POS

#define ADI_STDR3_C13OV_POS   (1u)

Definition at line 1136 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C13UV_MASK

#define ADI_STDR3_C13UV_MASK   (0x01u)

Definition at line 1135 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C13UV_POS

#define ADI_STDR3_C13UV_POS   (0u)

Definition at line 1134 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C14OV_MASK

#define ADI_STDR3_C14OV_MASK   (0x08u)

Definition at line 1141 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C14OV_POS

#define ADI_STDR3_C14OV_POS   (3u)

Definition at line 1140 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C14UV_MASK

#define ADI_STDR3_C14UV_MASK   (0x04u)

Definition at line 1139 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C14UV_POS

#define ADI_STDR3_C14UV_POS   (2u)

Definition at line 1138 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C15OV_MASK

#define ADI_STDR3_C15OV_MASK   (0x20u)

Definition at line 1145 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C15OV_POS

#define ADI_STDR3_C15OV_POS   (5u)

Definition at line 1144 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C15UV_MASK

#define ADI_STDR3_C15UV_MASK   (0x10u)

Definition at line 1143 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C15UV_POS

#define ADI_STDR3_C15UV_POS   (4u)

Definition at line 1142 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C16OV_MASK

#define ADI_STDR3_C16OV_MASK   (0x80u)

Definition at line 1149 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C16OV_POS

#define ADI_STDR3_C16OV_POS   (7u)

Definition at line 1148 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C16UV_MASK

#define ADI_STDR3_C16UV_MASK   (0x40u)

Definition at line 1147 of file adi_ades183x_defs.h.

◆ ADI_STDR3_C16UV_POS

#define ADI_STDR3_C16UV_POS   (6u)

Definition at line 1146 of file adi_ades183x_defs.h.

◆ ADI_STDR5_OC_CNTR_0_7_MASK

#define ADI_STDR5_OC_CNTR_0_7_MASK   (0xFFu)

Definition at line 1152 of file adi_ades183x_defs.h.

◆ ADI_STDR5_OC_CNTR_0_7_POS

#define ADI_STDR5_OC_CNTR_0_7_POS   (0u)

Definition at line 1151 of file adi_ades183x_defs.h.

◆ ADI_STER4_GPI_1_8_MASK

#define ADI_STER4_GPI_1_8_MASK   (0xFFu)

Definition at line 1157 of file adi_ades183x_defs.h.

◆ ADI_STER4_GPI_1_8_POS

#define ADI_STER4_GPI_1_8_POS   (0u)

Definition at line 1156 of file adi_ades183x_defs.h.

◆ ADI_STER5_GPI_9_10_MASK

#define ADI_STER5_GPI_9_10_MASK   (0x03u)

Definition at line 1160 of file adi_ades183x_defs.h.

◆ ADI_STER5_GPI_9_10_POS

#define ADI_STER5_GPI_9_10_POS   (0u)

Definition at line 1159 of file adi_ades183x_defs.h.

◆ ADI_STER5_REV_0_3_MASK

#define ADI_STER5_REV_0_3_MASK   (0xF0u)

Definition at line 1162 of file adi_ades183x_defs.h.

◆ ADI_STER5_REV_0_3_POS

#define ADI_STER5_REV_0_3_POS   (4u)

Definition at line 1161 of file adi_ades183x_defs.h.

◆ ADI_T_READY_us

#define ADI_T_READY_us   (10u)

Definition at line 189 of file adi_ades183x_defs.h.

◆ ADI_T_WAKE_us

#define ADI_T_WAKE_us   (500u)

Definition at line 187 of file adi_ades183x_defs.h.

◆ ADI_TRANSMISSION_TIMEOUT

#define ADI_TRANSMISSION_TIMEOUT   (10u)

Timeout in milliseconds for interrupt-based SPI transmission.

Definition at line 198 of file adi_ades183x_defs.h.

◆ ADI_TREFUP_ms

#define ADI_TREFUP_ms   (5u)

Definition at line 567 of file adi_ades183x_defs.h.

◆ ADI_TSOFTRESET_ms

#define ADI_TSOFTRESET_ms   (50u)

Definition at line 570 of file adi_ades183x_defs.h.

◆ ADI_UNMUTE_BYTE0

#define ADI_UNMUTE_BYTE0   (0x00u)

Unmute discharge

Definition at line 850 of file adi_ades183x_defs.h.

◆ ADI_UNMUTE_BYTE1

#define ADI_UNMUTE_BYTE1   (0x29u)

ades183x command definitions Start cell voltage conversion

Definition at line 851 of file adi_ades183x_defs.h.

◆ ADI_UNMUTE_INC

#define ADI_UNMUTE_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 852 of file adi_ades183x_defs.h.

◆ ADI_UNMUTE_LEN

#define ADI_UNMUTE_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 853 of file adi_ades183x_defs.h.

◆ ADI_UNSNAPSHOT_BYTE0

#define ADI_UNSNAPSHOT_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 772 of file adi_ades183x_defs.h.

◆ ADI_UNSNAPSHOT_BYTE1

#define ADI_UNSNAPSHOT_BYTE1   (0x2Fu)

ades183x command definitions Start cell voltage conversion

Definition at line 773 of file adi_ades183x_defs.h.

◆ ADI_UNSNAPSHOT_INC

#define ADI_UNSNAPSHOT_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 774 of file adi_ades183x_defs.h.

◆ ADI_UNSNAPSHOT_LEN

#define ADI_UNSNAPSHOT_LEN   (0u)

ades183x command definitions Start cell voltage conversion

Definition at line 775 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_00_02_OFFSET

#define ADI_VOLTAGE_00_02_OFFSET   (0u)

Offset to select voltages of specific voltage register in a table containing all voltages in a linear fashion

Definition at line 352 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_03_05_OFFSET

#define ADI_VOLTAGE_03_05_OFFSET   (3u)

Offset to select voltages of specific voltage register in a table containing all voltages in a linear fashion

Definition at line 353 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_06_08_OFFSET

#define ADI_VOLTAGE_06_08_OFFSET   (6u)

Offset to select voltages of specific voltage register in a table containing all voltages in a linear fashion

Definition at line 354 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_09_11_OFFSET

#define ADI_VOLTAGE_09_11_OFFSET   (9u)

Offset to select voltages of specific voltage register in a table containing all voltages in a linear fashion

Definition at line 355 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_12_14_OFFSET

#define ADI_VOLTAGE_12_14_OFFSET   (12u)

Offset to select voltages of specific voltage register in a table containing all voltages in a linear fashion

Definition at line 356 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_15_18_OFFSET

#define ADI_VOLTAGE_15_18_OFFSET   (15u)

Offset to select voltages of specific voltage register in a table containing all voltages in a linear fashion

Definition at line 357 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_CONVERSION_FACTOR

#define ADI_VOLTAGE_CONVERSION_FACTOR   (150e-6f)

voltage conversion coefficients

Definition at line 290 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_CONVERSION_OFFSET

#define ADI_VOLTAGE_CONVERSION_OFFSET   (1500.0f)

voltage conversion coefficients

Definition at line 292 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_CONVERSION_UNIT

#define ADI_VOLTAGE_CONVERSION_UNIT   (1000.0f)

voltage conversion coefficients

Definition at line 291 of file adi_ades183x_defs.h.

◆ ADI_WAIT_TIME_1_FOR_ADAX_FULL_CYCLE

#define ADI_WAIT_TIME_1_FOR_ADAX_FULL_CYCLE   (10u)

Definition at line 155 of file adi_ades183x_defs.h.

◆ ADI_WAIT_TIME_2_FOR_ADAX_FULL_CYCLE

#define ADI_WAIT_TIME_2_FOR_ADAX_FULL_CYCLE   (8u)

Definition at line 157 of file adi_ades183x_defs.h.

◆ ADI_WRCFGA_BYTE0

#define ADI_WRCFGA_BYTE0   (0x00u)

Write configuration registers

Definition at line 628 of file adi_ades183x_defs.h.

◆ ADI_WRCFGA_BYTE1

#define ADI_WRCFGA_BYTE1   (0x01u)

ades183x command definitions Start cell voltage conversion

Definition at line 629 of file adi_ades183x_defs.h.

◆ ADI_WRCFGA_INC

#define ADI_WRCFGA_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 630 of file adi_ades183x_defs.h.

◆ ADI_WRCFGA_LEN

#define ADI_WRCFGA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 631 of file adi_ades183x_defs.h.

◆ ADI_WRCFGB_BYTE0

#define ADI_WRCFGB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 633 of file adi_ades183x_defs.h.

◆ ADI_WRCFGB_BYTE1

#define ADI_WRCFGB_BYTE1   (0x24u)

ades183x command definitions Start cell voltage conversion

Definition at line 634 of file adi_ades183x_defs.h.

◆ ADI_WRCFGB_INC

#define ADI_WRCFGB_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 635 of file adi_ades183x_defs.h.

◆ ADI_WRCFGB_LEN

#define ADI_WRCFGB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 636 of file adi_ades183x_defs.h.

◆ ADI_WRPWMA_BYTE0

#define ADI_WRPWMA_BYTE0   (0x00u)

Write PWM registers

Definition at line 827 of file adi_ades183x_defs.h.

◆ ADI_WRPWMA_BYTE1

#define ADI_WRPWMA_BYTE1   (0x20u)

ades183x command definitions Start cell voltage conversion

Definition at line 828 of file adi_ades183x_defs.h.

◆ ADI_WRPWMA_INC

#define ADI_WRPWMA_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 829 of file adi_ades183x_defs.h.

◆ ADI_WRPWMA_LEN

#define ADI_WRPWMA_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 830 of file adi_ades183x_defs.h.

◆ ADI_WRPWMB_BYTE0

#define ADI_WRPWMB_BYTE0   (0x00u)

ades183x command definitions Start cell voltage conversion

Definition at line 831 of file adi_ades183x_defs.h.

◆ ADI_WRPWMB_BYTE1

#define ADI_WRPWMB_BYTE1   (0x21u)

ades183x command definitions Start cell voltage conversion

Definition at line 832 of file adi_ades183x_defs.h.

◆ ADI_WRPWMB_INC

#define ADI_WRPWMB_INC   (1u)

ades183x command definitions Start cell voltage conversion

Definition at line 833 of file adi_ades183x_defs.h.

◆ ADI_WRPWMB_LEN

#define ADI_WRPWMB_LEN   (6u)

ades183x command definitions Start cell voltage conversion

Definition at line 834 of file adi_ades183x_defs.h.

Enumeration Type Documentation

◆ ADI_AUXILIARY_REGISTER_TYPE_e

used to determine which voltage register has to be read

Enumerator
ADI_AUXILIARY_REGISTER 
ADI_REDUNDANT_AUXILIARY_REGISTER 
ADI_AUXILIARY_REGISTER_TYPE_E_MAX 

Definition at line 102 of file adi_ades183x_defs.h.

◆ ADI_AUXILIARY_STORE_LOCATION_e

used to determine where read voltages have to be stored

Enumerator
ADI_AUXILIARY_VOLTAGE 
ADI_REDUNDANT_AUXILIARY_VOLTAGE 
ADI_AUXILIARY_VOLTAGE_OPEN_WIRE 
ADI_AUXILIARY_STORE_LOCATION_E_MAX 

Definition at line 109 of file adi_ades183x_defs.h.

◆ ADI_CFG_REGISTER_SET_e

Used to choose which configuration register must be addressed

Enumerator
ADI_CFG_REGISTER_SET_A 
ADI_CFG_REGISTER_SET_B 
ADI_CFG_REGISTER_SET_E_MAX 

Definition at line 1167 of file adi_ades183x_defs.h.

◆ ADI_PEC_FAULT_INJECTION_e

used to determine if a PEC fault should be injected in the register write function

Enumerator
ADI_PEC_NO_FAULT_INJECTION 
ADI_COMMAND_PEC_FAULT_INJECTION 
ADI_DATA_PEC_FAULT_INJECTION 

Definition at line 73 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_REGISTER_TYPE_e

used to determine which voltage register has to be read

Enumerator
ADI_CELL_VOLTAGE_REGISTER 
ADI_AVERAGE_CELL_VOLTAGE_REGISTER 
ADI_FILTERED_CELL_VOLTAGE_REGISTER 
ADI_REDUNDANT_CELL_VOLTAGE_REGISTER 
ADI_VOLTAGE_REGISTER_TYPE_E_MAX 

Definition at line 80 of file adi_ades183x_defs.h.

◆ ADI_VOLTAGE_STORE_LOCATION_e

used to determine where read voltages have to be stored

Enumerator
ADI_CELL_VOLTAGE 
ADI_AVERAGE_CELL_VOLTAGE 
ADI_FILTERED_CELL_VOLTAGE 
ADI_REDUNDANT_CELL_VOLTAGE 
ADI_CELL_VOLTAGE_OPEN_WIRE_EVEN 
ADI_CELL_VOLTAGE_OPEN_WIRE_ODD 
ADI_CELL_VOLTAGE_AVERAGE_OPEN_WIRE 
ADI_CELL_VOLTAGE_REDUNDANT_OPEN_WIRE 
ADI_VOLTAGE_STORE_LOCATION_E_MAX 

Definition at line 89 of file adi_ades183x_defs.h.