summaryrefslogtreecommitdiffstats
path: root/firmware/octoclock/OctoClock-io.h
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2013-12-06 17:47:24 -0800
committerMichael West <michael.west@ettus.com>2013-12-06 17:47:24 -0800
commitc3aa7326095a1a8c744e269a04572de74600df8d (patch)
tree983711ae9718128617b5f1880f8c6399e38e4055 /firmware/octoclock/OctoClock-io.h
parentaa3d9a9da0405e84e720870a13718b177d85652c (diff)
parent8f0f045cdac16ae84bc446b230beb2b651428294 (diff)
downloaduhd-c3aa7326095a1a8c744e269a04572de74600df8d.tar.gz
uhd-c3aa7326095a1a8c744e269a04572de74600df8d.tar.bz2
uhd-c3aa7326095a1a8c744e269a04572de74600df8d.zip
Merge branch 'master' into mwest_coverity
Conflicts: host/lib/usrp/b200/b200_iface.cpp
Diffstat (limited to 'firmware/octoclock/OctoClock-io.h')
-rw-r--r--firmware/octoclock/OctoClock-io.h70
1 files changed, 0 insertions, 70 deletions
diff --git a/firmware/octoclock/OctoClock-io.h b/firmware/octoclock/OctoClock-io.h
deleted file mode 100644
index 88cd1499b..000000000
--- a/firmware/octoclock/OctoClock-io.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright 2009 Ettus Research LLC
- */
-
-#ifndef IO_H
-#define IO_H
-
-#include <stdint.h>
-#include <stdbool.h>
-
-
-typedef int8_t i8;
-typedef int16_t i16;
-typedef int32_t i32;
-typedef int64_t i64;
-
-
-typedef uint8_t u8;
-typedef uint16_t u16;
-typedef uint32_t u32;
-typedef uint64_t u64;
-
-
-typedef float f32;
-typedef double f64;
-typedef long double f128;
-
-typedef int error_indicator; /* A type for functions, usually... */
-typedef unsigned int boolean; /* "natural" type */
-
-typedef char c8; /* 8-bit character */
-typedef unsigned char uc8; /* 8-bit character, unsigned*/
-/* it is sometimes useful to*/
-/* make the distinction*/
-
-#ifdef FALSE
-#undef FALSE
-#endif
-#define FALSE (0)
-
-#ifdef TRUE
-#undef TRUE
-#endif
-#define TRUE (!FALSE)
-
-#define is :{
-#define esac break;}
-
-
-// This other crap can be deleted, below, between the #if 0 and #endif inclusive
-
-#if 0
-
-#define IO_PX(port, pin) ((uint8_t)(((port - 'A') << 4) + pin))
-#define IO_PA(pin) IO_PX('A', pin)
-#define IO_PB(pin) IO_PX('B', pin)
-#define IO_PC(pin) IO_PX('C', pin)
-#define IO_PD(pin) IO_PX('D', pin)
-
-typedef const uint8_t io_pin_t;
-
-void io_output_pin(io_pin_t pin);
-void io_input_pin(io_pin_t pin);
-void io_set_pin(io_pin_t pin);
-void io_clear_pin(io_pin_t pin);
-bool io_test_pin(io_pin_t pin);
-
-#endif //if 0
-
-#endif /* IO_H */