From 85df93d9978dcfa7f4ddf8cdf25f092ca00eb135 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 10 Jun 2009 12:27:44 +0000 Subject: [PATCH] misc updates git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1869 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/str71x/str71x_usb.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/str71x/str71x_usb.h b/arch/arm/src/str71x/str71x_usb.h index 1a3f75d19aa..de32637b921 100644 --- a/arch/arm/src/str71x/str71x_usb.h +++ b/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 ************************************************************************************/