KiCad PCB EDA Suite
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 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_DISTORTION
,
37
ST_NOISE
,
38
ST_OP
,
39
ST_POLE_ZERO
,
40
ST_SENSITIVITY
,
41
ST_TRANS_FUNC
,
42
ST_TRANSIENT
43
};
44
46
enum
SIM_PLOT_TYPE
47
{
48
// Y axis
49
SPT_VOLTAGE
= 0x01,
50
SPT_CURRENT
= 0x02,
51
SPT_AC_PHASE
= 0x04,
52
SPT_AC_MAG
= 0x08,
53
54
// X axis
55
SPT_TIME
= 0x10,
56
SPT_LIN_FREQUENCY
= 0x20,
57
SPT_LOG_FREQUENCY
= 0x20,
58
SPT_SWEEP
= 0x40,
59
60
SPT_UNKNOWN
= 0x00
61
};
62
63
#endif
/* SIM_TYPES_H */
SIM_PLOT_TYPE
SIM_PLOT_TYPE
Definition:
sim_types.h:47
SPT_TIME
@ SPT_TIME
Definition:
sim_types.h:55
SPT_LOG_FREQUENCY
@ SPT_LOG_FREQUENCY
Definition:
sim_types.h:57
SPT_AC_PHASE
@ SPT_AC_PHASE
Definition:
sim_types.h:51
SPT_SWEEP
@ SPT_SWEEP
Definition:
sim_types.h:58
SPT_UNKNOWN
@ SPT_UNKNOWN
Definition:
sim_types.h:60
SPT_VOLTAGE
@ SPT_VOLTAGE
Definition:
sim_types.h:49
SPT_CURRENT
@ SPT_CURRENT
Definition:
sim_types.h:50
SPT_AC_MAG
@ SPT_AC_MAG
Definition:
sim_types.h:52
SPT_LIN_FREQUENCY
@ SPT_LIN_FREQUENCY
Definition:
sim_types.h:56
SIM_TYPE
SIM_TYPE
< Possible simulation types
Definition:
sim_types.h:32
ST_TRANS_FUNC
@ ST_TRANS_FUNC
Definition:
sim_types.h:41
ST_TRANSIENT
@ ST_TRANSIENT
Definition:
sim_types.h:42
ST_DISTORTION
@ ST_DISTORTION
Definition:
sim_types.h:36
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_POLE_ZERO
@ ST_POLE_ZERO
Definition:
sim_types.h:39
ST_DC
@ ST_DC
Definition:
sim_types.h:35
ST_OP
@ ST_OP
Definition:
sim_types.h:38
ST_SENSITIVITY
@ ST_SENSITIVITY
Definition:
sim_types.h:40
src
eeschema
sim
sim_types.h
Generated on Mon Jan 30 2023 00:06:52 for KiCad PCB EDA Suite by
1.9.4