KiCad PCB EDA Suite
Loading...
Searching...
No Matches
cadstar_archive_objects.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) 2023 Roberto Fernandez Bautista <
[email protected]
>
5
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6
*
7
* This program is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License as published by the
9
* Free Software Foundation, either version 3 of the License, or (at your
10
* option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19
*/
20
25
26
#pragma once
27
28
#define CADSTAR_FONT_NAME wxT( "CADSTAR" )
29
30
31
enum class
CADSTAR_PIN_TYPE
32
{
33
UNCOMMITTED
,
34
PIN_INPUT
,
35
OUTPUT_OR
,
36
OUTPUT_NOT_OR
,
37
OUTPUT_NOT_NORM_OR
,
38
POWER
,
39
GROUND
,
40
TRISTATE_BIDIR
,
41
TRISTATE_INPUT
,
42
TRISTATE_DRIVER
43
};
44
45
49
enum class
CADSTAR_PIN_POSITION
50
{
51
TOP_RIGHT
= 0,
52
TOP_LEFT
= 1,
53
BOTTOM_LEFT
= 2,
54
BOTTOM_RIGHT
= 3
55
};
CADSTAR_PIN_POSITION
CADSTAR_PIN_POSITION
Positioning of pin names can be in one of four quadrants.
Definition
cadstar_archive_objects.h:50
CADSTAR_PIN_POSITION::BOTTOM_RIGHT
@ BOTTOM_RIGHT
Definition
cadstar_archive_objects.h:54
CADSTAR_PIN_POSITION::TOP_LEFT
@ TOP_LEFT
Definition
cadstar_archive_objects.h:52
CADSTAR_PIN_POSITION::BOTTOM_LEFT
@ BOTTOM_LEFT
Definition
cadstar_archive_objects.h:53
CADSTAR_PIN_POSITION::TOP_RIGHT
@ TOP_RIGHT
Default.
Definition
cadstar_archive_objects.h:51
CADSTAR_PIN_TYPE
CADSTAR_PIN_TYPE
Definition
cadstar_archive_objects.h:32
CADSTAR_PIN_TYPE::OUTPUT_NOT_OR
@ OUTPUT_NOT_OR
Output pin not OR tieable.
Definition
cadstar_archive_objects.h:36
CADSTAR_PIN_TYPE::TRISTATE_DRIVER
@ TRISTATE_DRIVER
Tristate output pin.
Definition
cadstar_archive_objects.h:42
CADSTAR_PIN_TYPE::PIN_INPUT
@ PIN_INPUT
Input pin.
Definition
cadstar_archive_objects.h:34
CADSTAR_PIN_TYPE::OUTPUT_OR
@ OUTPUT_OR
Output pin OR tieable.
Definition
cadstar_archive_objects.h:35
CADSTAR_PIN_TYPE::POWER
@ POWER
Power pin.
Definition
cadstar_archive_objects.h:38
CADSTAR_PIN_TYPE::UNCOMMITTED
@ UNCOMMITTED
Uncommitted pin (default)
Definition
cadstar_archive_objects.h:33
CADSTAR_PIN_TYPE::TRISTATE_INPUT
@ TRISTATE_INPUT
Tristate input pin.
Definition
cadstar_archive_objects.h:41
CADSTAR_PIN_TYPE::GROUND
@ GROUND
Ground pin.
Definition
cadstar_archive_objects.h:39
CADSTAR_PIN_TYPE::TRISTATE_BIDIR
@ TRISTATE_BIDIR
Tristate bi-directional driver pin.
Definition
cadstar_archive_objects.h:40
CADSTAR_PIN_TYPE::OUTPUT_NOT_NORM_OR
@ OUTPUT_NOT_NORM_OR
Output pin not normally OR tieable.
Definition
cadstar_archive_objects.h:37
src
common
io
cadstar
cadstar_archive_objects.h
Generated on Thu Sep 17 2026 00:06:10 for KiCad PCB EDA Suite by
1.13.2