PER Firmware
Loading...
Searching...
No Matches
commands.h File Reference

Listing of all ADBMS commands. More...

#include <stdint.h>
Include dependency graph for commands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static constexpr uint8_t ADBMS6380_CMD_WRCFGA [2] = {0x00, 0x01}
 
static constexpr uint8_t ADBMS6380_CMD_WRCFGB [2] = {0x00, 0x24}
 
static constexpr uint8_t ADBMS6380_CMD_RDCFGA [2] = {0x00, 0x02}
 
static constexpr uint8_t ADBMS6380_CMD_RDCFGB [2] = {0x00, 0x26}
 
static constexpr uint8_t ADBMS6380_CMD_RDCVA [2] = {0x00, 0x04}
 
static constexpr uint8_t ADBMS6380_CMD_RDCVB [2] = {0x00, 0x06}
 
static constexpr uint8_t ADBMS6380_CMD_RDCVC [2] = {0x00, 0x08}
 
static constexpr uint8_t ADBMS6380_CMD_RDCVD [2] = {0x00, 0x0A}
 
static constexpr uint8_t ADBMS6380_CMD_RDCVE [2] = {0x00, 0x09}
 
static constexpr uint8_t ADBMS6380_CMD_RDCVF [2] = {0x00, 0x0B}
 
static constexpr uint8_t ADBMS6380_CMD_RDCVALL [2] = {0x00, 0x0C}
 
static constexpr uint8_t ADBMS6380_CMD_RDACA [2] = {0x00, 0x44}
 
static constexpr uint8_t ADBMS6380_CMD_RDACB [2] = {0x00, 0x46}
 
static constexpr uint8_t ADBMS6380_CMD_RDACC [2] = {0x00, 0x48}
 
static constexpr uint8_t ADBMS6380_CMD_RDACD [2] = {0x00, 0x4A}
 
static constexpr uint8_t ADBMS6380_CMD_RDACE [2] = {0x00, 0x49}
 
static constexpr uint8_t ADBMS6380_CMD_RDACF [2] = {0x00, 0x4B}
 
static constexpr uint8_t ADBMS6380_CMD_RDACALL [2] = {0x00, 0x4C}
 
static constexpr uint8_t ADBMS6380_CMD_RDSVA [2] = {0x00, 0x03}
 
static constexpr uint8_t ADBMS6380_CMD_RDSVB [2] = {0x00, 0x05}
 
static constexpr uint8_t ADBMS6380_CMD_RDSVC [2] = {0x00, 0x07}
 
static constexpr uint8_t ADBMS6380_CMD_RDSVD [2] = {0x00, 0x0D}
 
static constexpr uint8_t ADBMS6380_CMD_RDSVE [2] = {0x00, 0x0E}
 
static constexpr uint8_t ADBMS6380_CMD_RDSVF [2] = {0x00, 0x0F}
 
static constexpr uint8_t ADBMS6380_CMD_RDSALL [2] = {0x00, 0x10}
 
static constexpr uint8_t ADBMS6380_CMD_RDCSALL [2] = {0x00, 0x11}
 
static constexpr uint8_t ADBMS6380_CMD_RDACSALL [2] = {0x00, 0x51}
 
static constexpr uint8_t ADBMS6380_CMD_RDASALL [2] = {0x00, 0x35}
 
static constexpr uint8_t ADBMS6380_CMD_RDFCA [2] = {0x00, 0x12}
 
static constexpr uint8_t ADBMS6380_CMD_RDFCB [2] = {0x00, 0x13}
 
static constexpr uint8_t ADBMS6380_CMD_RDFCC [2] = {0x00, 0x14}
 
static constexpr uint8_t ADBMS6380_CMD_RDFCD [2] = {0x00, 0x15}
 
static constexpr uint8_t ADBMS6380_CMD_RDFCE [2] = {0x00, 0x16}
 
static constexpr uint8_t ADBMS6380_CMD_RDFCF [2] = {0x00, 0x17}
 
static constexpr uint8_t ADBMS6380_CMD_RDFCALL [2] = {0x00, 0x18}
 
static constexpr uint8_t ADBMS6380_CMD_RDAUXA [2] = {0x00, 0x19}
 
static constexpr uint8_t ADBMS6380_CMD_RDAUXB [2] = {0x00, 0x1A}
 
static constexpr uint8_t ADBMS6380_CMD_RDAUXC [2] = {0x00, 0x1B}
 
static constexpr uint8_t ADBMS6380_CMD_RDAUXD [2] = {0x00, 0x1F}
 
static constexpr uint8_t ADBMS6380_CMD_RDRAXA [2] = {0x00, 0x1C}
 
static constexpr uint8_t ADBMS6380_CMD_RDRAXB [2] = {0x00, 0x1D}
 
static constexpr uint8_t ADBMS6380_CMD_RDRAXC [2] = {0x00, 0x1E}
 
static constexpr uint8_t ADBMS6380_CMD_RDRAXD [2] = {0x00, 0x25}
 
static constexpr uint8_t ADBMS6380_CMD_RDSTATA [2] = {0x00, 0x30}
 
static constexpr uint8_t ADBMS6380_CMD_RDSTATB [2] = {0x00, 0x31}
 
static constexpr uint8_t ADBMS6380_CMD_RDSTATC [2] = {0x00, 0x32}
 
static constexpr uint8_t ADBMS6380_CMD_RDSTATCERR [2] = {0x00, 0x72}
 
static constexpr uint8_t ADBMS6380_CMD_RDSTATD [2] = {0x00, 0x33}
 
static constexpr uint8_t ADBMS6380_CMD_RDSTATE [2] = {0x00, 0x34}
 
static constexpr uint8_t ADBMS6380_CMD_WRPWMA [2] = {0x00, 0x20}
 
static constexpr uint8_t ADBMS6380_CMD_RDPWMA [2] = {0x00, 0x22}
 
static constexpr uint8_t ADBMS6380_CMD_WRPWMB [2] = {0x00, 0x21}
 
static constexpr uint8_t ADBMS6380_CMD_RDPWMB [2] = {0x00, 0x23}
 
static constexpr uint8_t ADBMS6380_CMD_CLRCELL [2] = {0x07, 0x11}
 
static constexpr uint8_t ADBMS6380_CMD_CLRAUX [2] = {0x07, 0x12}
 
static constexpr uint8_t ADBMS6380_CMD_CLRSPIN [2] = {0x07, 0x16}
 
static constexpr uint8_t ADBMS6380_CMD_CLRFLAG [2] = {0x07, 0x17}
 
static constexpr uint8_t ADBMS6380_CMD_CLRFC [2] = {0x07, 0x14}
 
static constexpr uint8_t ADBMS6380_CMD_CLOVUV [2] = {0x07, 0x15}
 
static constexpr uint8_t ADBMS6380_CMD_PLADC [2] = {0x07, 0x18}
 
static constexpr uint8_t ADBMS6380_CMD_PLAUT [2] = {0x07, 0x19}
 
static constexpr uint8_t ADBMS6380_CMD_PLCADC [2] = {0x07, 0x1C}
 
static constexpr uint8_t ADBMS6380_CMD_PLSADC [2] = {0x07, 0x1D}
 
static constexpr uint8_t ADBMS6380_CMD_PLAUX1 [2] = {0x07, 0x1E}
 
static constexpr uint8_t ADBMS6380_CMD_PLAUX2 [2] = {0x07, 0x1F}
 
static constexpr uint8_t ADBMS6380_CMD_DIAGN [2] = {0x07, 0x15}
 
static constexpr uint8_t ADBMS6380_CMD_WRCOMM [2] = {0x07, 0x21}
 
static constexpr uint8_t ADBMS6380_CMD_RDCOMM [2] = {0x07, 0x22}
 
static constexpr uint8_t ADBMS6380_CMD_STCOMM [13]
 
static constexpr uint8_t ADBMS6380_CMD_MUTE [2] = {0x00, 0x28}
 
static constexpr uint8_t ADBMS6380_CMD_UNMUTE [2] = {0x00, 0x29}
 
static constexpr uint8_t ADBMS6380_CMD_RSTCC [2] = {0x00, 0x2E}
 
static constexpr uint8_t ADBMS6380_CMD_SNAP [2] = {0x00, 0x2D}
 
static constexpr uint8_t ADBMS6380_CMD_UNSNAP [2] = {0x00, 0x2F}
 
static constexpr uint8_t ADBMS6380_CMD_SRST [2] = {0x00, 0x27}
 
static constexpr uint8_t ADBMS6380_CMD_RDSID [2] = {0x00, 0x2C}
 

Detailed Description

Listing of all ADBMS commands.

Author
Analog Devices
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)
Millan Kumar (kumar.nosp@m.798@.nosp@m.purdu.nosp@m.e.ed.nosp@m.u)

Variable Documentation

◆ ADBMS6380_CMD_CLOVUV

uint8_t ADBMS6380_CMD_CLOVUV[2] = {0x07, 0x15}
staticconstexpr

◆ ADBMS6380_CMD_CLRAUX

uint8_t ADBMS6380_CMD_CLRAUX[2] = {0x07, 0x12}
staticconstexpr

◆ ADBMS6380_CMD_CLRCELL

uint8_t ADBMS6380_CMD_CLRCELL[2] = {0x07, 0x11}
staticconstexpr

◆ ADBMS6380_CMD_CLRFC

uint8_t ADBMS6380_CMD_CLRFC[2] = {0x07, 0x14}
staticconstexpr

◆ ADBMS6380_CMD_CLRFLAG

uint8_t ADBMS6380_CMD_CLRFLAG[2] = {0x07, 0x17}
staticconstexpr

◆ ADBMS6380_CMD_CLRSPIN

uint8_t ADBMS6380_CMD_CLRSPIN[2] = {0x07, 0x16}
staticconstexpr

◆ ADBMS6380_CMD_DIAGN

uint8_t ADBMS6380_CMD_DIAGN[2] = {0x07, 0x15}
staticconstexpr

◆ ADBMS6380_CMD_MUTE

uint8_t ADBMS6380_CMD_MUTE[2] = {0x00, 0x28}
staticconstexpr

◆ ADBMS6380_CMD_PLADC

uint8_t ADBMS6380_CMD_PLADC[2] = {0x07, 0x18}
staticconstexpr

◆ ADBMS6380_CMD_PLAUT

uint8_t ADBMS6380_CMD_PLAUT[2] = {0x07, 0x19}
staticconstexpr

◆ ADBMS6380_CMD_PLAUX1

uint8_t ADBMS6380_CMD_PLAUX1[2] = {0x07, 0x1E}
staticconstexpr

◆ ADBMS6380_CMD_PLAUX2

uint8_t ADBMS6380_CMD_PLAUX2[2] = {0x07, 0x1F}
staticconstexpr

◆ ADBMS6380_CMD_PLCADC

uint8_t ADBMS6380_CMD_PLCADC[2] = {0x07, 0x1C}
staticconstexpr

◆ ADBMS6380_CMD_PLSADC

uint8_t ADBMS6380_CMD_PLSADC[2] = {0x07, 0x1D}
staticconstexpr

◆ ADBMS6380_CMD_RDACA

uint8_t ADBMS6380_CMD_RDACA[2] = {0x00, 0x44}
staticconstexpr

◆ ADBMS6380_CMD_RDACALL

uint8_t ADBMS6380_CMD_RDACALL[2] = {0x00, 0x4C}
staticconstexpr

◆ ADBMS6380_CMD_RDACB

uint8_t ADBMS6380_CMD_RDACB[2] = {0x00, 0x46}
staticconstexpr

◆ ADBMS6380_CMD_RDACC

uint8_t ADBMS6380_CMD_RDACC[2] = {0x00, 0x48}
staticconstexpr

◆ ADBMS6380_CMD_RDACD

uint8_t ADBMS6380_CMD_RDACD[2] = {0x00, 0x4A}
staticconstexpr

◆ ADBMS6380_CMD_RDACE

uint8_t ADBMS6380_CMD_RDACE[2] = {0x00, 0x49}
staticconstexpr

◆ ADBMS6380_CMD_RDACF

uint8_t ADBMS6380_CMD_RDACF[2] = {0x00, 0x4B}
staticconstexpr

◆ ADBMS6380_CMD_RDACSALL

uint8_t ADBMS6380_CMD_RDACSALL[2] = {0x00, 0x51}
staticconstexpr

◆ ADBMS6380_CMD_RDASALL

uint8_t ADBMS6380_CMD_RDASALL[2] = {0x00, 0x35}
staticconstexpr

◆ ADBMS6380_CMD_RDAUXA

uint8_t ADBMS6380_CMD_RDAUXA[2] = {0x00, 0x19}
staticconstexpr

◆ ADBMS6380_CMD_RDAUXB

uint8_t ADBMS6380_CMD_RDAUXB[2] = {0x00, 0x1A}
staticconstexpr

◆ ADBMS6380_CMD_RDAUXC

uint8_t ADBMS6380_CMD_RDAUXC[2] = {0x00, 0x1B}
staticconstexpr

◆ ADBMS6380_CMD_RDAUXD

uint8_t ADBMS6380_CMD_RDAUXD[2] = {0x00, 0x1F}
staticconstexpr

◆ ADBMS6380_CMD_RDCFGA

uint8_t ADBMS6380_CMD_RDCFGA[2] = {0x00, 0x02}
staticconstexpr

◆ ADBMS6380_CMD_RDCFGB

uint8_t ADBMS6380_CMD_RDCFGB[2] = {0x00, 0x26}
staticconstexpr

◆ ADBMS6380_CMD_RDCOMM

uint8_t ADBMS6380_CMD_RDCOMM[2] = {0x07, 0x22}
staticconstexpr

◆ ADBMS6380_CMD_RDCSALL

uint8_t ADBMS6380_CMD_RDCSALL[2] = {0x00, 0x11}
staticconstexpr

◆ ADBMS6380_CMD_RDCVA

uint8_t ADBMS6380_CMD_RDCVA[2] = {0x00, 0x04}
staticconstexpr

◆ ADBMS6380_CMD_RDCVALL

uint8_t ADBMS6380_CMD_RDCVALL[2] = {0x00, 0x0C}
staticconstexpr

◆ ADBMS6380_CMD_RDCVB

uint8_t ADBMS6380_CMD_RDCVB[2] = {0x00, 0x06}
staticconstexpr

◆ ADBMS6380_CMD_RDCVC

uint8_t ADBMS6380_CMD_RDCVC[2] = {0x00, 0x08}
staticconstexpr

◆ ADBMS6380_CMD_RDCVD

uint8_t ADBMS6380_CMD_RDCVD[2] = {0x00, 0x0A}
staticconstexpr

◆ ADBMS6380_CMD_RDCVE

uint8_t ADBMS6380_CMD_RDCVE[2] = {0x00, 0x09}
staticconstexpr

◆ ADBMS6380_CMD_RDCVF

uint8_t ADBMS6380_CMD_RDCVF[2] = {0x00, 0x0B}
staticconstexpr

◆ ADBMS6380_CMD_RDFCA

uint8_t ADBMS6380_CMD_RDFCA[2] = {0x00, 0x12}
staticconstexpr

◆ ADBMS6380_CMD_RDFCALL

uint8_t ADBMS6380_CMD_RDFCALL[2] = {0x00, 0x18}
staticconstexpr

◆ ADBMS6380_CMD_RDFCB

uint8_t ADBMS6380_CMD_RDFCB[2] = {0x00, 0x13}
staticconstexpr

◆ ADBMS6380_CMD_RDFCC

uint8_t ADBMS6380_CMD_RDFCC[2] = {0x00, 0x14}
staticconstexpr

◆ ADBMS6380_CMD_RDFCD

uint8_t ADBMS6380_CMD_RDFCD[2] = {0x00, 0x15}
staticconstexpr

◆ ADBMS6380_CMD_RDFCE

uint8_t ADBMS6380_CMD_RDFCE[2] = {0x00, 0x16}
staticconstexpr

◆ ADBMS6380_CMD_RDFCF

uint8_t ADBMS6380_CMD_RDFCF[2] = {0x00, 0x17}
staticconstexpr

◆ ADBMS6380_CMD_RDPWMA

uint8_t ADBMS6380_CMD_RDPWMA[2] = {0x00, 0x22}
staticconstexpr

◆ ADBMS6380_CMD_RDPWMB

uint8_t ADBMS6380_CMD_RDPWMB[2] = {0x00, 0x23}
staticconstexpr

◆ ADBMS6380_CMD_RDRAXA

uint8_t ADBMS6380_CMD_RDRAXA[2] = {0x00, 0x1C}
staticconstexpr

◆ ADBMS6380_CMD_RDRAXB

uint8_t ADBMS6380_CMD_RDRAXB[2] = {0x00, 0x1D}
staticconstexpr

◆ ADBMS6380_CMD_RDRAXC

uint8_t ADBMS6380_CMD_RDRAXC[2] = {0x00, 0x1E}
staticconstexpr

◆ ADBMS6380_CMD_RDRAXD

uint8_t ADBMS6380_CMD_RDRAXD[2] = {0x00, 0x25}
staticconstexpr

◆ ADBMS6380_CMD_RDSALL

uint8_t ADBMS6380_CMD_RDSALL[2] = {0x00, 0x10}
staticconstexpr

◆ ADBMS6380_CMD_RDSID

uint8_t ADBMS6380_CMD_RDSID[2] = {0x00, 0x2C}
staticconstexpr

◆ ADBMS6380_CMD_RDSTATA

uint8_t ADBMS6380_CMD_RDSTATA[2] = {0x00, 0x30}
staticconstexpr

◆ ADBMS6380_CMD_RDSTATB

uint8_t ADBMS6380_CMD_RDSTATB[2] = {0x00, 0x31}
staticconstexpr

◆ ADBMS6380_CMD_RDSTATC

uint8_t ADBMS6380_CMD_RDSTATC[2] = {0x00, 0x32}
staticconstexpr

◆ ADBMS6380_CMD_RDSTATCERR

uint8_t ADBMS6380_CMD_RDSTATCERR[2] = {0x00, 0x72}
staticconstexpr

◆ ADBMS6380_CMD_RDSTATD

uint8_t ADBMS6380_CMD_RDSTATD[2] = {0x00, 0x33}
staticconstexpr

◆ ADBMS6380_CMD_RDSTATE

uint8_t ADBMS6380_CMD_RDSTATE[2] = {0x00, 0x34}
staticconstexpr

◆ ADBMS6380_CMD_RDSVA

uint8_t ADBMS6380_CMD_RDSVA[2] = {0x00, 0x03}
staticconstexpr

◆ ADBMS6380_CMD_RDSVB

uint8_t ADBMS6380_CMD_RDSVB[2] = {0x00, 0x05}
staticconstexpr

◆ ADBMS6380_CMD_RDSVC

uint8_t ADBMS6380_CMD_RDSVC[2] = {0x00, 0x07}
staticconstexpr

◆ ADBMS6380_CMD_RDSVD

uint8_t ADBMS6380_CMD_RDSVD[2] = {0x00, 0x0D}
staticconstexpr

◆ ADBMS6380_CMD_RDSVE

uint8_t ADBMS6380_CMD_RDSVE[2] = {0x00, 0x0E}
staticconstexpr

◆ ADBMS6380_CMD_RDSVF

uint8_t ADBMS6380_CMD_RDSVF[2] = {0x00, 0x0F}
staticconstexpr

◆ ADBMS6380_CMD_RSTCC

uint8_t ADBMS6380_CMD_RSTCC[2] = {0x00, 0x2E}
staticconstexpr

◆ ADBMS6380_CMD_SNAP

uint8_t ADBMS6380_CMD_SNAP[2] = {0x00, 0x2D}
staticconstexpr

◆ ADBMS6380_CMD_SRST

uint8_t ADBMS6380_CMD_SRST[2] = {0x00, 0x27}
staticconstexpr

◆ ADBMS6380_CMD_STCOMM

uint8_t ADBMS6380_CMD_STCOMM[13]
staticconstexpr
Initial value:
= {
0x07, 0x23, 0xB9, 0xE4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

◆ ADBMS6380_CMD_UNMUTE

uint8_t ADBMS6380_CMD_UNMUTE[2] = {0x00, 0x29}
staticconstexpr

◆ ADBMS6380_CMD_UNSNAP

uint8_t ADBMS6380_CMD_UNSNAP[2] = {0x00, 0x2F}
staticconstexpr

◆ ADBMS6380_CMD_WRCFGA

uint8_t ADBMS6380_CMD_WRCFGA[2] = {0x00, 0x01}
staticconstexpr

◆ ADBMS6380_CMD_WRCFGB

uint8_t ADBMS6380_CMD_WRCFGB[2] = {0x00, 0x24}
staticconstexpr

◆ ADBMS6380_CMD_WRCOMM

uint8_t ADBMS6380_CMD_WRCOMM[2] = {0x07, 0x21}
staticconstexpr

◆ ADBMS6380_CMD_WRPWMA

uint8_t ADBMS6380_CMD_WRPWMA[2] = {0x00, 0x20}
staticconstexpr

◆ ADBMS6380_CMD_WRPWMB

uint8_t ADBMS6380_CMD_WRPWMB[2] = {0x00, 0x21}
staticconstexpr