KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sim_types.h
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright (C) 2016 CERN
5
* Copyright (C) 2021-2023 KiCad Developers, see AUTHORS.txt for contributors.
6
*
7
* @author Maciej Suminski <
[email protected]
>
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License
11
* as published by the Free Software Foundation; either version 3
12
* of the License, or (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, you may find one here:
21
* https://www.gnu.org/licenses/gpl-3.0.html
22
* or you may search the http://www.gnu.org website for the version 3 license,
23
* or you may write to the Free Software Foundation, Inc.,
24
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25
*/
26
27
#ifndef SIM_TYPES_H
28
#define SIM_TYPES_H
29
31
enum
SIM_TYPE
32
{
33
ST_UNKNOWN
,
34
ST_AC
,
35
ST_DC
,
36
ST_DISTO
,
37
ST_NOISE
,
38
ST_OP
,
39
ST_PZ
,
40
ST_SENS
,
41
ST_TF
,
42
ST_TRAN
,
43
ST_SP
,
44
ST_FFT
,
45
ST_LAST
46
};
47
49
enum
SIM_TRACE_TYPE
50
{
51
// Y axis
52
SPT_VOLTAGE
= 0x0001,
53
SPT_CURRENT
= 0x0002,
54
SPT_AC_PHASE
= 0x0004,
55
SPT_AC_GAIN
= 0x0008,
56
SPT_POWER
= 0x0010,
57
SPT_SP_AMP
= 0x0020,
58
SPT_Y_AXIS_MASK
= 0x00FF,
59
60
// X axis
61
SPT_TIME
= 0x0100,
62
SPT_LIN_FREQUENCY
= 0x0200,
63
SPT_LOG_FREQUENCY
= 0x0400,
64
SPT_SWEEP
= 0x0800,
65
SPT_X_AXIS_MASK
= 0xFF00,
66
67
SPT_UNKNOWN
= 0x0000
68
};
69
70
#endif
/* SIM_TYPES_H */
SIM_TRACE_TYPE
SIM_TRACE_TYPE
Definition:
sim_types.h:50
SPT_TIME
@ SPT_TIME
Definition:
sim_types.h:61
SPT_LOG_FREQUENCY
@ SPT_LOG_FREQUENCY
Definition:
sim_types.h:63
SPT_AC_PHASE
@ SPT_AC_PHASE
Definition:
sim_types.h:54
SPT_SWEEP
@ SPT_SWEEP
Definition:
sim_types.h:64
SPT_UNKNOWN
@ SPT_UNKNOWN
Definition:
sim_types.h:67
SPT_AC_GAIN
@ SPT_AC_GAIN
Definition:
sim_types.h:55
SPT_Y_AXIS_MASK
@ SPT_Y_AXIS_MASK
Definition:
sim_types.h:58
SPT_SP_AMP
@ SPT_SP_AMP
Definition:
sim_types.h:57
SPT_X_AXIS_MASK
@ SPT_X_AXIS_MASK
Definition:
sim_types.h:65
SPT_VOLTAGE
@ SPT_VOLTAGE
Definition:
sim_types.h:52
SPT_POWER
@ SPT_POWER
Definition:
sim_types.h:56
SPT_CURRENT
@ SPT_CURRENT
Definition:
sim_types.h:53
SPT_LIN_FREQUENCY
@ SPT_LIN_FREQUENCY
Definition:
sim_types.h:62
SIM_TYPE
SIM_TYPE
< Possible simulation types
Definition:
sim_types.h:32
ST_SP
@ ST_SP
Definition:
sim_types.h:43
ST_LAST
@ ST_LAST
Definition:
sim_types.h:45
ST_TRAN
@ ST_TRAN
Definition:
sim_types.h:42
ST_UNKNOWN
@ ST_UNKNOWN
Definition:
sim_types.h:33
ST_NOISE
@ ST_NOISE
Definition:
sim_types.h:37
ST_AC
@ ST_AC
Definition:
sim_types.h:34
ST_DISTO
@ ST_DISTO
Definition:
sim_types.h:36
ST_TF
@ ST_TF
Definition:
sim_types.h:41
ST_SENS
@ ST_SENS
Definition:
sim_types.h:40
ST_DC
@ ST_DC
Definition:
sim_types.h:35
ST_OP
@ ST_OP
Definition:
sim_types.h:38
ST_FFT
@ ST_FFT
Definition:
sim_types.h:44
ST_PZ
@ ST_PZ
Definition:
sim_types.h:39
src
eeschema
sim
sim_types.h
Generated on Thu Nov 21 2024 00:06:42 for KiCad PCB EDA Suite by
1.9.6