foxBMS  1.6.0
The foxBMS Battery Management System API Documentation
adi_ades183x_commands.c File Reference

Implementation of some software. More...

#include "adi_ades183x_commands.h"
#include "adi_ades183x_defs.h"
#include <stdint.h>
Include dependency graph for adi_ades183x_commands.c:

Go to the source code of this file.

Functions

 FAS_STATIC_ASSERT ((ADI_ADCV_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_ADSV_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_WRCFGA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_WRCFGB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDCFGA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDCFGB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_SNAPSHOT_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_UNSNAPSHOT_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_MUTE_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_UNMUTE_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RSTCC_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_ADAX_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_ADAX2_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDAUXA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDAUXB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDAUXC_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDAUXD_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDAUXE_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDRAXA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDRAXB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDRAXC_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDRAXD_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_CLRAUX_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDSTATA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDSTATB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDSTATC_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDSTATD_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDSTATE_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_CLRCELL_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_CLRFLAG_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_WRPWMA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_WRPWMB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDPWMA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_RDSID_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 
 FAS_STATIC_ASSERT ((ADI_SRST_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES), "Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES")
 

Variables

const uint16_t adi_cmdAdcv [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdAdsv [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdWrcfga [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdWrcfgb [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdcfga [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdcfgb [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdSnap [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdUnsnap [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdMute [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdUnmute [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRstcc [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdAdax [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdAdax2 [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdauxa [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdauxb [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdauxc [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdauxd [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdauxe [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdraxa [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdraxb [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdraxc [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdraxd [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdClraux [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdstata [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdstatb [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdstatc [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdstatd [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdstate [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdClrcell [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdClrflag [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdWrpwma [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdWrpwmb [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdpwma [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdRdsid [ADI_COMMAND_DEFINITION_LENGTH]
 
const uint16_t adi_cmdSrst [ADI_COMMAND_DEFINITION_LENGTH]
 

Detailed Description

Implementation of some software.

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
2019-08-27 (date of creation)
Updated
2023-10-12 (date of last update)
Version
v1.6.0
Prefix
ADI

Definition in file adi_ades183x_commands.c.

Function Documentation

◆ FAS_STATIC_ASSERT() [1/35]

FAS_STATIC_ASSERT ( (ADI_ADAX2_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [2/35]

FAS_STATIC_ASSERT ( (ADI_ADAX_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [3/35]

FAS_STATIC_ASSERT ( (ADI_ADCV_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [4/35]

FAS_STATIC_ASSERT ( (ADI_ADSV_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [5/35]

FAS_STATIC_ASSERT ( (ADI_CLRAUX_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [6/35]

FAS_STATIC_ASSERT ( (ADI_CLRCELL_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [7/35]

FAS_STATIC_ASSERT ( (ADI_CLRFLAG_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [8/35]

FAS_STATIC_ASSERT ( (ADI_MUTE_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [9/35]

FAS_STATIC_ASSERT ( (ADI_RDAUXA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [10/35]

FAS_STATIC_ASSERT ( (ADI_RDAUXB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [11/35]

FAS_STATIC_ASSERT ( (ADI_RDAUXC_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [12/35]

FAS_STATIC_ASSERT ( (ADI_RDAUXD_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [13/35]

FAS_STATIC_ASSERT ( (ADI_RDAUXE_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [14/35]

FAS_STATIC_ASSERT ( (ADI_RDCFGA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [15/35]

FAS_STATIC_ASSERT ( (ADI_RDCFGB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [16/35]

FAS_STATIC_ASSERT ( (ADI_RDPWMA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [17/35]

FAS_STATIC_ASSERT ( (ADI_RDRAXA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [18/35]

FAS_STATIC_ASSERT ( (ADI_RDRAXB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [19/35]

FAS_STATIC_ASSERT ( (ADI_RDRAXC_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [20/35]

FAS_STATIC_ASSERT ( (ADI_RDRAXD_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [21/35]

FAS_STATIC_ASSERT ( (ADI_RDSID_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [22/35]

FAS_STATIC_ASSERT ( (ADI_RDSTATA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [23/35]

FAS_STATIC_ASSERT ( (ADI_RDSTATB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [24/35]

FAS_STATIC_ASSERT ( (ADI_RDSTATC_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [25/35]

FAS_STATIC_ASSERT ( (ADI_RDSTATD_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [26/35]

FAS_STATIC_ASSERT ( (ADI_RDSTATE_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [27/35]

FAS_STATIC_ASSERT ( (ADI_RSTCC_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [28/35]

FAS_STATIC_ASSERT ( (ADI_SNAPSHOT_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [29/35]

FAS_STATIC_ASSERT ( (ADI_SRST_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [30/35]

FAS_STATIC_ASSERT ( (ADI_UNMUTE_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [31/35]

FAS_STATIC_ASSERT ( (ADI_UNSNAPSHOT_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [32/35]

FAS_STATIC_ASSERT ( (ADI_WRCFGA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [33/35]

FAS_STATIC_ASSERT ( (ADI_WRCFGB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [34/35]

FAS_STATIC_ASSERT ( (ADI_WRPWMA_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

◆ FAS_STATIC_ASSERT() [35/35]

FAS_STATIC_ASSERT ( (ADI_WRPWMB_LEN<=ADI_MAX_REGISTER_SIZE_IN_BYTES ,
"Register length must not be greater than ADI_MAX_REGISTER_SIZE_IN_BYTES  
)

Variable Documentation

◆ adi_cmdAdax

const uint16_t adi_cmdAdax[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_ADAX_BYTE0
#define ADI_ADAX_LEN
#define ADI_ADAX_BYTE1
#define ADI_ADAX_INC

Definition at line 127 of file adi_ades183x_commands.c.

◆ adi_cmdAdax2

const uint16_t adi_cmdAdax2[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_ADAX2_INC
#define ADI_ADAX2_BYTE0
#define ADI_ADAX2_BYTE1
#define ADI_ADAX2_LEN

Definition at line 132 of file adi_ades183x_commands.c.

◆ adi_cmdAdcv

const uint16_t adi_cmdAdcv[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_ADCV_BYTE0
#define ADI_ADCV_INC
#define ADI_ADCV_BYTE1
#define ADI_ADCV_LEN

Declarations of commands

Definition at line 67 of file adi_ades183x_commands.c.

◆ adi_cmdAdsv

const uint16_t adi_cmdAdsv[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_ADSV_INC
#define ADI_ADSV_LEN
#define ADI_ADSV_BYTE1
#define ADI_ADSV_BYTE0

Definition at line 72 of file adi_ades183x_commands.c.

◆ adi_cmdClraux

const uint16_t adi_cmdClraux[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_CLRAUX_LEN
#define ADI_CLRAUX_BYTE0
#define ADI_CLRAUX_BYTE1
#define ADI_CLRAUX_INC

Definition at line 185 of file adi_ades183x_commands.c.

◆ adi_cmdClrcell

const uint16_t adi_cmdClrcell[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_CLRCELL_LEN
#define ADI_CLRCELL_INC
#define ADI_CLRCELL_BYTE1
#define ADI_CLRCELL_BYTE0

Definition at line 217 of file adi_ades183x_commands.c.

◆ adi_cmdClrflag

const uint16_t adi_cmdClrflag[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_CLRFLAG_BYTE1
#define ADI_CLRFLAG_BYTE0
#define ADI_CLRFLAG_LEN
#define ADI_CLRFLAG_INC

Definition at line 222 of file adi_ades183x_commands.c.

◆ adi_cmdMute

const uint16_t adi_cmdMute[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_MUTE_BYTE0
#define ADI_MUTE_INC
#define ADI_MUTE_BYTE1
#define ADI_MUTE_LEN

Definition at line 110 of file adi_ades183x_commands.c.

◆ adi_cmdRdauxa

const uint16_t adi_cmdRdauxa[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDAUXA_BYTE0
#define ADI_RDAUXA_BYTE1
#define ADI_RDAUXA_INC
#define ADI_RDAUXA_LEN

Definition at line 138 of file adi_ades183x_commands.c.

◆ adi_cmdRdauxb

const uint16_t adi_cmdRdauxb[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDAUXB_BYTE0
#define ADI_RDAUXB_BYTE1
#define ADI_RDAUXB_LEN
#define ADI_RDAUXB_INC

Definition at line 143 of file adi_ades183x_commands.c.

◆ adi_cmdRdauxc

const uint16_t adi_cmdRdauxc[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDAUXC_LEN
#define ADI_RDAUXC_BYTE0
#define ADI_RDAUXC_INC
#define ADI_RDAUXC_BYTE1

Definition at line 148 of file adi_ades183x_commands.c.

◆ adi_cmdRdauxd

const uint16_t adi_cmdRdauxd[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDAUXD_INC
#define ADI_RDAUXD_LEN
#define ADI_RDAUXD_BYTE1
#define ADI_RDAUXD_BYTE0

Definition at line 153 of file adi_ades183x_commands.c.

◆ adi_cmdRdauxe

const uint16_t adi_cmdRdauxe[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDAUXE_LEN
#define ADI_RDAUXE_INC
#define ADI_RDAUXE_BYTE1
#define ADI_RDAUXE_BYTE0

Definition at line 158 of file adi_ades183x_commands.c.

◆ adi_cmdRdcfga

const uint16_t adi_cmdRdcfga[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDCFGA_BYTE1
#define ADI_RDCFGA_INC
#define ADI_RDCFGA_LEN
#define ADI_RDCFGA_BYTE0

Definition at line 88 of file adi_ades183x_commands.c.

◆ adi_cmdRdcfgb

const uint16_t adi_cmdRdcfgb[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDCFGB_INC
#define ADI_RDCFGB_BYTE0
#define ADI_RDCFGB_BYTE1
#define ADI_RDCFGB_LEN

Definition at line 93 of file adi_ades183x_commands.c.

◆ adi_cmdRdpwma

const uint16_t adi_cmdRdpwma[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDPWMA_LEN
#define ADI_RDPWMA_BYTE1
#define ADI_RDPWMA_BYTE0
#define ADI_RDPWMA_INC

Definition at line 238 of file adi_ades183x_commands.c.

◆ adi_cmdRdraxa

const uint16_t adi_cmdRdraxa[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDRAXA_BYTE1
#define ADI_RDRAXA_BYTE0
#define ADI_RDRAXA_INC
#define ADI_RDRAXA_LEN

Definition at line 164 of file adi_ades183x_commands.c.

◆ adi_cmdRdraxb

const uint16_t adi_cmdRdraxb[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDRAXB_BYTE1
#define ADI_RDRAXB_INC
#define ADI_RDRAXB_LEN
#define ADI_RDRAXB_BYTE0

Definition at line 169 of file adi_ades183x_commands.c.

◆ adi_cmdRdraxc

const uint16_t adi_cmdRdraxc[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDRAXC_BYTE0
#define ADI_RDRAXC_LEN
#define ADI_RDRAXC_INC
#define ADI_RDRAXC_BYTE1

Definition at line 174 of file adi_ades183x_commands.c.

◆ adi_cmdRdraxd

const uint16_t adi_cmdRdraxd[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDRAXD_LEN
#define ADI_RDRAXD_INC
#define ADI_RDRAXD_BYTE1
#define ADI_RDRAXD_BYTE0

Definition at line 179 of file adi_ades183x_commands.c.

◆ adi_cmdRdsid

const uint16_t adi_cmdRdsid[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDSID_INC
#define ADI_RDSID_BYTE0
#define ADI_RDSID_LEN
#define ADI_RDSID_BYTE1

Definition at line 244 of file adi_ades183x_commands.c.

◆ adi_cmdRdstata

const uint16_t adi_cmdRdstata[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDSTATA_BYTE1
#define ADI_RDSTATA_BYTE0
#define ADI_RDSTATA_LEN
#define ADI_RDSTATA_INC

Definition at line 191 of file adi_ades183x_commands.c.

◆ adi_cmdRdstatb

const uint16_t adi_cmdRdstatb[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDSTATB_BYTE1
#define ADI_RDSTATB_BYTE0
#define ADI_RDSTATB_INC
#define ADI_RDSTATB_LEN

Definition at line 196 of file adi_ades183x_commands.c.

◆ adi_cmdRdstatc

const uint16_t adi_cmdRdstatc[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDSTATC_BYTE1
#define ADI_RDSTATC_LEN
#define ADI_RDSTATC_INC
#define ADI_RDSTATC_BYTE0

Definition at line 201 of file adi_ades183x_commands.c.

◆ adi_cmdRdstatd

const uint16_t adi_cmdRdstatd[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDSTATD_BYTE0
#define ADI_RDSTATD_INC
#define ADI_RDSTATD_BYTE1
#define ADI_RDSTATD_LEN

Definition at line 206 of file adi_ades183x_commands.c.

◆ adi_cmdRdstate

const uint16_t adi_cmdRdstate[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RDSTATE_BYTE0
#define ADI_RDSTATE_BYTE1
#define ADI_RDSTATE_INC
#define ADI_RDSTATE_LEN

Definition at line 211 of file adi_ades183x_commands.c.

◆ adi_cmdRstcc

const uint16_t adi_cmdRstcc[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_RSTCC_BYTE1
#define ADI_RSTCC_LEN
#define ADI_RSTCC_BYTE0
#define ADI_RSTCC_INC

Definition at line 121 of file adi_ades183x_commands.c.

◆ adi_cmdSnap

const uint16_t adi_cmdSnap[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_SNAPSHOT_BYTE0
#define ADI_SNAPSHOT_BYTE1
#define ADI_SNAPSHOT_INC
#define ADI_SNAPSHOT_LEN

Definition at line 99 of file adi_ades183x_commands.c.

◆ adi_cmdSrst

const uint16_t adi_cmdSrst[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_SRST_BYTE0
#define ADI_SRST_LEN
#define ADI_SRST_BYTE1
#define ADI_SRST_INC

Definition at line 250 of file adi_ades183x_commands.c.

◆ adi_cmdUnmute

const uint16_t adi_cmdUnmute[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_UNMUTE_LEN
#define ADI_UNMUTE_BYTE1
#define ADI_UNMUTE_INC
#define ADI_UNMUTE_BYTE0

Definition at line 115 of file adi_ades183x_commands.c.

◆ adi_cmdUnsnap

const uint16_t adi_cmdUnsnap[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_UNSNAPSHOT_BYTE0
#define ADI_UNSNAPSHOT_LEN
#define ADI_UNSNAPSHOT_BYTE1
#define ADI_UNSNAPSHOT_INC

Definition at line 104 of file adi_ades183x_commands.c.

◆ adi_cmdWrcfga

const uint16_t adi_cmdWrcfga[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_WRCFGA_BYTE0
#define ADI_WRCFGA_INC
#define ADI_WRCFGA_BYTE1
#define ADI_WRCFGA_LEN

Definition at line 78 of file adi_ades183x_commands.c.

◆ adi_cmdWrcfgb

const uint16_t adi_cmdWrcfgb[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_WRCFGB_BYTE1
#define ADI_WRCFGB_INC
#define ADI_WRCFGB_BYTE0
#define ADI_WRCFGB_LEN

Definition at line 83 of file adi_ades183x_commands.c.

◆ adi_cmdWrpwma

const uint16_t adi_cmdWrpwma[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_WRPWMA_INC
#define ADI_WRPWMA_BYTE1
#define ADI_WRPWMA_BYTE0
#define ADI_WRPWMA_LEN

Definition at line 228 of file adi_ades183x_commands.c.

◆ adi_cmdWrpwmb

const uint16_t adi_cmdWrpwmb[ADI_COMMAND_DEFINITION_LENGTH]
Initial value:
=
#define ADI_WRPWMB_INC
#define ADI_WRPWMB_BYTE1
#define ADI_WRPWMB_BYTE0
#define ADI_WRPWMB_LEN

Definition at line 233 of file adi_ades183x_commands.c.