dlog_6ch_f.h
Go to the documentation of this file.
1 //#############################################################################
2 // $TI Release: MotorControl SDK v3.00.01.00 $
3 // $Release Date: Tue May 26 19:13:58 CDT 2020 $
4 // $Copyright:
5 // Copyright (C) 2017-2020 Texas Instruments Incorporated - http://www.ti.com/
6 //
7 // Redistribution and use in source and binary forms, with or without
8 // modification, are permitted provided that the following conditions
9 // are met:
10 //
11 // Redistributions of source code must retain the above copyright
12 // notice, this list of conditions and the following disclaimer.
13 //
14 // Redistributions in binary form must reproduce the above copyright
15 // notice, this list of conditions and the following disclaimer in the
16 // documentation and/or other materials provided with the
17 // distribution.
18 //
19 // Neither the name of Texas Instruments Incorporated nor the names of
20 // its contributors may be used to endorse or promote products derived
21 // from this software without specific prior written permission.
22 //
23 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 // $
35 //#############################################################################
36 
37 //----------------------------------------------------------------------------------
38 // FILE: dlog_6ch_f.h
39 //
40 // Description:header file for data logging module
41 //
42 // Version: 1.0
43 //
44 //----------------------------------------------------------------------------------
45 
46 #ifndef DLOG_6CH_F_H
47 #define DLOG_6CH_F_H
48 #include "device.h"
49 
50 #define DLOG_CH_NUM 6
51 #define DLOG_BUF_SIZE 512
52 #define DLOG_SCALER_NUM 10
53 
54 //*********** Structure Definition ********//
55 typedef struct{
56  float32_t *input_ptr[DLOG_CH_NUM];
57  float32_t *output_ptr[DLOG_CH_NUM];
60  uint16_t status;
61  uint16_t preScalar;
62  uint16_t skipCount;
63  uint16_t size;
64  uint16_t count;
65 }DLOG_6CH_F;
66 
67 //*********** Function Declarations *******//
70 
71 #endif /* DLOG_6CH_F_H_ */
DLOG_6CH_F_FUNC
void DLOG_6CH_F_FUNC(DLOG_6CH_F *v)
DLOG_6CH_F::skipCount
uint16_t skipCount
Definition: dlog_6ch_f.h:62
float32_t
float float32_t
Definition: sfra_f32.h:42
DLOG_6CH_F::refValue
float32_t refValue
Definition: dlog_6ch_f.h:58
device.h
DLOG_6CH_F
Definition: dlog_6ch_f.h:55
DLOG_6CH_F::status
uint16_t status
Definition: dlog_6ch_f.h:60
DLOG_6CH_F::size
uint16_t size
Definition: dlog_6ch_f.h:63
DLOG_6CH_F::preScalar
uint16_t preScalar
Definition: dlog_6ch_f.h:61
DLOG_6CH_F_init
void DLOG_6CH_F_init(DLOG_6CH_F *v)
DLOG_6CH_F::prevValue
float32_t prevValue
Definition: dlog_6ch_f.h:59
DLOG_6CH_F::count
uint16_t count
Definition: dlog_6ch_f.h:64
DLOG_CH_NUM
#define DLOG_CH_NUM
Definition: dlog_6ch_f.h:50

Copyright 2023, Texas Instruments Incorporated