precision-converters-firmware
Toggle main menu visibility
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
~
Functions
c
l
n
p
t
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
g
h
i
l
m
n
p
r
s
t
u
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
Enumerations
a
c
f
i
l
p
r
s
v
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
runner
work
precision-converters-firmware
precision-converters-firmware
projects
ad7689_iio
app
ad7689_user_config.h
Go to the documentation of this file.
1
/***************************************************************************/
/*
2
* @file ad7689_user_config.h
3
* @brief User configurations for AD7689 No-OS driver
4
******************************************************************************
5
* Copyright (c) 2021 Analog Devices, Inc.
6
* All rights reserved.
7
*
8
* This software is proprietary to Analog Devices, Inc. and its licensors.
9
* By using this software you agree to the terms of the associated
10
* Analog Devices Software License Agreement.
11
******************************************************************************/
12
13
#ifndef _AD7689_USER_CONFIG_H_
14
#define _AD7689_USER_CONFIG_H_
15
16
/******************************************************************************/
17
/***************************** Include Files **********************************/
18
/******************************************************************************/
19
20
#include "ad7689.h"
21
22
/******************************************************************************/
23
/********************** Macros and Constants Definition ***********************/
24
/******************************************************************************/
25
26
/* Select Input type (one at a time- default is unipolar) */
27
#define UNIPOLAR
28
//#define BIPOLAR
29
30
/* Default ADC channel config (for all channels)
31
* Note: DO NOT SELECT TYPE AS 'AD7689_TEMPERATURE_SENSOR'. The input type is set to
32
* to 'temperature' during temperature channel scanning at run-time.
33
**/
34
#if defined(UNIPOLAR)
35
#define ADC_INPUT_TYPE_CFG AD7689_UNIPOLAR_GND
36
#else
37
#define ADC_INPUT_TYPE_CFG AD7689_BIPOLAR_COM
38
#endif
39
40
/* Default ADC reference voltage configurations (temperature sensor enabled by default) */
41
#define ADC_REF_VOLTAGE_CFG AD7689_REF_EXTERNAL_TEMP_IBUF
42
#define ADC_DEFAULT_REF_VOLTAGE 5.0
43
44
/******************************************************************************/
45
/********************** Public/Extern Declarations ****************************/
46
/******************************************************************************/
47
48
extern
struct
ad7689_init_param
ad7689_init_params
;
49
50
#endif
/* _AD7689_USER_CONFIG_H_ */
ad7689_init_params
struct ad7689_init_param ad7689_init_params
Definition
ad7689_user_config.c:29
Generated by
1.9.8