summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-05-01 19:52:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-05-01 19:52:50 +0000
commit0a6c1fff8a08287f4053eeef680e4f13123f9b80 (patch)
tree87bbdd2f039df307bedc8da2abf10cd3191a2d18 /nuttx/include
parent48bbe68916ccaf0d2fa050e945bf650384ca624f (diff)
downloadpx4-nuttx-0a6c1fff8a08287f4053eeef680e4f13123f9b80.tar.gz
px4-nuttx-0a6c1fff8a08287f4053eeef680e4f13123f9b80.tar.bz2
px4-nuttx-0a6c1fff8a08287f4053eeef680e4f13123f9b80.zip
Add up_enc28j60.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2643 42af7a65-404d-4744-a932-0658087f49c3
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
****************************************************************************/