summaryrefslogtreecommitdiffstats
path: root/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'spi.h')
-rw-r--r--spi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spi.h b/spi.h
index d3d9805..aa80c43 100644
--- a/spi.h
+++ b/spi.h
@@ -105,4 +105,8 @@
#define JEDEC_BYTE_PROGRAM_OUTSIZE 0x05
#define JEDEC_BYTE_PROGRAM_INSIZE 0x00
+/* Error codes */
+#define SPI_INVALID_OPCODE -2
+#define SPI_INVALID_ADDRESS -3
+
#endif /* !__SPI_H__ */
OpenPOWER on IntegriCloud