summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include')
-rwxr-xr-xnuttx/include/nuttx/enc28j60.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/enc28j60.h b/nuttx/include/nuttx/enc28j60.h
index 52fcb4f8d..efa4ed652 100755
--- a/nuttx/include/nuttx/enc28j60.h
+++ b/nuttx/include/nuttx/enc28j60.h
@@ -44,6 +44,24 @@
#include <stdbool.h>
/****************************************************************************
+ * Pre-processor Definitions
+ ****************************************************************************/
+
+/* ENC28J60 Configuration Settings:
+ *
+ * CONFIG_NET_ENC28J60 - Enabled ENC28J60 support
+ * CONFIG_ENC28J60_OWNBUS - Set if the ENC28J60 is the only active device on
+ * the SPI bus. No locking or SPI configuration will be performed. All
+ * transfers will be performed from the ENC2J60 interrupt handler.
+ * CONFIG_ENC28J60_SPIMODE - Controls the SPI mode
+ * CONFIG_ENC28J60_FREQUENCY - Define to use a different bus frequency
+ * CONFIG_ENC28J60_NINTERFACES - Specifies the number of physical ENC28J60
+ * devices that will be supported.
+ * CONFIG_ENC28J60_STATS - Collect network statistics
+ * CONFIG_ENC28J60_HALFDUPPLEX - Default is full duplex
+ */
+
+/****************************************************************************
* Public Types
****************************************************************************/