ccNOos
v0.0.0
Build Portable Microcontroller Applications!
LTC2360.h
Go to the documentation of this file.
1
/** \file LTC2360.h
2
* \brief <a href="https://www.inmechasol.org/" target="_blank">IMS</a>:
3
<a href="https://github.com/InMechaSol/ccNOos" target="_blank">ccNOos</a>,
4
Declarations for straight C and C++
5
6
Copyright 2021 <a href="https://www.inmechasol.org/" target="_blank">InMechaSol, Inc</a>
7
8
Licensed under the Apache License, Version 2.0(the "License");
9
you may not use this file except in compliance with the License.
10
You may obtain a copy of the License at
11
12
http://www.apache.org/licenses/LICENSE-2.0
13
14
Unless required by applicable law or agreed to in writing, software
15
distributed under the License is distributed on an "AS IS" BASIS,
16
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
See the License for the specific language governing permissions and
18
limitations under the License.
19
20
Notes:
21
(.c includes .h) - for straight C or
22
(.cpp includes .c which includes .h) - for C++ wrapped straight C
23
*Always compiled to a single compilation unit, either C or CPP, not both
24
25
*/
26
27
#ifndef LTC2360_H__
28
#define LTC2360_H__
29
30
#include "
version_config.h
"
31
32
33
struct
LTC2360DataStruct
34
{
35
float
BandwidthMHz
;
36
float
PowerMeasuredinBanddB
;
37
I_16
current_value
;
38
UI_8
value_good
;
39
};
40
41
42
struct
LTC2360DataStruct
CreateLTC2360Data
();
43
44
45
46
//void Setup(struct LTC2360DataStruct* LTC2360DataPtrIn);
47
//void InitSPI(struct LTC2360DataStruct* LTC2360DataPtrIn);
48
//UI_16 ReadValue(int num_of_averages, struct LTC2360DataStruct* LTC2360DataPtrIn);
49
50
51
#endif // LTC2360_CLASS_H__
LTC2360DataStruct
Definition:
LTC2360.h:34
LTC2360DataStruct::current_value
I_16 current_value
Definition:
LTC2360.h:37
CreateLTC2360Data
struct LTC2360DataStruct CreateLTC2360Data()
Definition:
LTC2360.c:31
LTC2360DataStruct::BandwidthMHz
float BandwidthMHz
Definition:
LTC2360.h:35
LTC2360DataStruct::value_good
UI_8 value_good
Definition:
LTC2360.h:38
version_config.h
IMS: ccNOos, Declarations for straight C and C++
LTC2360DataStruct::PowerMeasuredinBanddB
float PowerMeasuredinBanddB
Definition:
LTC2360.h:36
ccLibs
devices
LTC2360
LTC2360.h
Generated by
1.8.20