summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/c1101lib.h
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-06-22 02:19:00 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-06-22 02:19:00 +0000
commit722202c477817732716c29f00b37f754b7abf3a6 (patch)
treeb2ba8384a2ea9a13266a55fe4aba0107ff400fdf /software/hhd70dongle/c1101lib.h
parentmoved cmd flags to own byte (diff)
rx detect works, still receiving mostly noise
git-svn-id: https://svn.spreadspace.org/mur.sat@550 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/c1101lib.h')
-rw-r--r--software/hhd70dongle/c1101lib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/software/hhd70dongle/c1101lib.h b/software/hhd70dongle/c1101lib.h
index 3b819da..4dad8a6 100644
--- a/software/hhd70dongle/c1101lib.h
+++ b/software/hhd70dongle/c1101lib.h
@@ -119,6 +119,12 @@
#define SPIC1101_ADDR_FIFO_WRITE 0x3F
#define SPIC1101_ADDR_FIFO_WRITE_BURST (0x3F | 0x40)
+#define SPIC1101_ADDR_PATABLE_READ (0x3E | 0x80)
+#define SPIC1101_ADDR_PATABLE_READ_BURST (0x3E | 0x80 | 0xC0)
+#define SPIC1101_ADDR_PATABLE_WRITE 0x3E
+#define SPIC1101_ADDR_PATABLE_WRITE_BURST (0x3E | 0x40)
+
+
#define SPIC1101_SB_CHIP_NOT_RDY(x) (x & 0b10000000)
#define SPIC1101_SB_IDLE(x) (x & 0b01110000) == 0
#define SPIC1101_SB_RXMODE(x) (x & 0b01110000) == 0b0010000