precision-converters-firmware
Loading...
Searching...
No Matches
Macros | Variables
ad405x_user_config.h File Reference

Header for AD405X user configuration file. More...

#include "ad405x.h"
Include dependency graph for ad405x_user_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AD405X_INSTANCE_ID   0
 
#define AD405X_I3C_GEN_DYN_ADDR_DEFAULT   0x32
 
#define AD405X_I3C_GEN_PID_(x)   (0x02ee00700000 | ((x & 0xF) << 16))
 
#define AD405X_I3C_GEN_INSTANCE_ID(x)   (((uint64_t)x & 0x7) << 12)
 
#define AD405X_I3C_GEN_PID(dev, x)   (AD405X_I3C_GEN_PID_(dev) | AD405X_I3C_GEN_INSTANCE_ID(x))
 

Variables

struct ad405x_init_param ad405x_init_params
 

Detailed Description

Header for AD405X user configuration file.

Copyright (c) 2023-2024 Analog Devices, Inc.

All rights reserved.

This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Macro Definition Documentation

◆ AD405X_I3C_GEN_DYN_ADDR_DEFAULT

#define AD405X_I3C_GEN_DYN_ADDR_DEFAULT   0x32

◆ AD405X_I3C_GEN_INSTANCE_ID

#define AD405X_I3C_GEN_INSTANCE_ID (   x)    (((uint64_t)x & 0x7) << 12)

◆ AD405X_I3C_GEN_PID

#define AD405X_I3C_GEN_PID (   dev,
 
)    (AD405X_I3C_GEN_PID_(dev) | AD405X_I3C_GEN_INSTANCE_ID(x))

◆ AD405X_I3C_GEN_PID_

#define AD405X_I3C_GEN_PID_ (   x)    (0x02ee00700000 | ((x & 0xF) << 16))

◆ AD405X_INSTANCE_ID

#define AD405X_INSTANCE_ID   0

Variable Documentation

◆ ad405x_init_params

struct ad405x_init_param ad405x_init_params
extern