summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-10 12:27:44 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-10 12:27:44 +0000
commit978c420ca77473f1256d2226afea6d99748dcb78 (patch)
tree73bbe09bef3e0c0b4bae700f4a0fbb9b22fcad55 /nuttx/arch
parentc91049651eb0bdcdc3ac7247c23a3619136adac7 (diff)
downloadpx4-nuttx-978c420ca77473f1256d2226afea6d99748dcb78.tar.gz
px4-nuttx-978c420ca77473f1256d2226afea6d99748dcb78.tar.bz2
px4-nuttx-978c420ca77473f1256d2226afea6d99748dcb78.zip
misc updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1869 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/arm/src/str71x/str71x_usb.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/str71x/str71x_usb.h b/nuttx/arch/arm/src/str71x/str71x_usb.h
index 1a3f75d19..de32637b9 100644
--- a/nuttx/arch/arm/src/str71x/str71x_usb.h
+++ b/nuttx/arch/arm/src/str71x/str71x_usb.h
@@ -157,9 +157,14 @@
/* Endpoint register mask (no toggle fields) */
-#define USB_EPR_MASK (USB_EPR_CTRRX|USB_EPR_SETUP|USB_EPR_TFIELD|\
+#define USB_EPR_NOTOGGLE_MASK (USB_EPR_CTRRX|USB_EPR_SETUP|USB_EPR_TFIELD|\
USB_EPR_KIND|USB_EPR_CTRTX|USB_EPR_ADDRFIELD)
+/* Toggles only */
+
+#define USB_EPR_TXDTOG_MASK (USB_EPR_TXSTAT_MASK|USB_EPR_NOTOGGLE_MASK)
+#define USB_EPR_RXDTOG_MASK (USB_EPR_RXSTAT_MASK|USB_EPR_NOTOGGLE_MASK)
+
/************************************************************************************
* Public Types
************************************************************************************/