no modif

Dependents:   ISEN_RF24Network_Node_01 ISEN_RF24Network_Node_02

Revision:
6:5cc7136648d1
Parent:
2:3bdf0d9bb71f
--- a/nRF24L01.h	Tue Feb 23 00:40:33 2016 +0000
+++ b/nRF24L01.h	Thu Apr 21 04:10:58 2016 +0000
@@ -1,6 +1,6 @@
 /*
     Copyright (c) 2007 Stefan Engelke <mbox@stefanengelke.de>
-    Portions Copyright (C) 2011 Greg Copeland
+	Portions Copyright (C) 2011 Greg Copeland
 
     Permission is hereby granted, free of charge, to any person
     obtaining a copy of this software and associated documentation
@@ -23,8 +23,17 @@
     DEALINGS IN THE SOFTWARE.
 */
 
+/*
+ * Mbed support added by Akash Vibhute <akash.roboticist@gmail.com>
+ * Porting completed on Nov/05/2015
+ *
+ * Updated 1: Synced with TMRh20's RF24 library on Nov/04/2015 from https://github.com/TMRh20
+ * Updated 2: Synced with TMRh20's RF24 library on Apr/18/2015 from https://github.com/TMRh20
+ *
+ */
+
 /* Memory Map */
-#define CONFIG      0x00
+#define NRF_CONFIG      0x00
 #define EN_AA       0x01
 #define EN_RXADDR   0x02
 #define SETUP_AW    0x03
@@ -48,8 +57,8 @@
 #define RX_PW_P4    0x15
 #define RX_PW_P5    0x16
 #define FIFO_STATUS 0x17
-#define DYNPD       0x1C
-#define FEATURE     0x1D
+#define DYNPD	    0x1C
+#define FEATURE	    0x1D
 
 /* Bit Mnemonics */
 #define MASK_RX_DR  6
@@ -89,13 +98,13 @@
 #define TX_EMPTY    4
 #define RX_FULL     1
 #define RX_EMPTY    0
-#define DPL_P5      5
-#define DPL_P4      4
-#define DPL_P3      3
-#define DPL_P2      2
-#define DPL_P1      1
-#define DPL_P0      0
-#define EN_DPL      2
+#define DPL_P5	    5
+#define DPL_P4	    4
+#define DPL_P3	    3
+#define DPL_P2	    2
+#define DPL_P1	    1
+#define DPL_P0	    0
+#define EN_DPL	    2
 #define EN_ACK_PAY  1
 #define EN_DYN_ACK  0
 
@@ -125,3 +134,5 @@
 #define RF_DR_HIGH  3
 #define RF_PWR_LOW  1
 #define RF_PWR_HIGH 2
+
+