summaryrefslogtreecommitdiff
path: root/kicad/lib.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-23 13:13:00 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-23 14:06:49 -0300
commit588225de5b3bae2a8afc5e5934d32e7be03667f7 (patch)
tree061c2738e3733af87f887ccc65dc2e50b0524c83 /kicad/lib.h
parent16acfc20c25de008e00d5aa1b70dc5fce823ef81 (diff)
downloadeeshow-588225de5b3bae2a8afc5e5934d32e7be03667f7.tar.gz
eeshow-588225de5b3bae2a8afc5e5934d32e7be03667f7.tar.bz2
eeshow-588225de5b3bae2a8afc5e5934d32e7be03667f7.zip
kicad/lib.h, lib-parse.c, delta.c: decode pin shapes
Diffstat (limited to 'kicad/lib.h')
-rw-r--r--kicad/lib.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/kicad/lib.h b/kicad/lib.h
index c9b1a00..a6c48e9 100644
--- a/kicad/lib.h
+++ b/kicad/lib.h
@@ -20,6 +20,16 @@
#include "gfx/text.h"
+enum pin_shape {
+ pin_inverted = 1 << 0,
+ pin_clock = 1 << 1,
+ pin_input_low = 1 << 2,
+ pin_output_low = 1 << 3,
+ pin_falling_edge = 1 << 4,
+ pin_non_logic = 1 << 5,
+ pin_invisible = 1 << 6,
+};
+
enum lib_state {
lib_skip, /* before a definition */
lib_def, /* in definition */
@@ -82,7 +92,7 @@ struct lib_obj {
int number_size;
int name_size;
char etype;
- // @@@ shape
+ enum pin_shape shape;
} pin;
} u;
struct lib_obj *next;