projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
DevChapter9.h
diff --git
a/LUFA/Drivers/USB/LowLevel/DevChapter9.h
b/LUFA/Drivers/USB/LowLevel/DevChapter9.h
index
6571659
..
49795e5
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/DevChapter9.h
+++ b/
LUFA/Drivers/USB/LowLevel/DevChapter9.h
@@
-28,14
+28,6
@@
this software.
\r
*/
\r
\r
this software.
\r
*/
\r
\r
-/** \file
\r
- *
\r
- * Module for device mode request processing. This module allows for the processing of standard control
\r
- * requests to the default control endpoint while in device mode.
\r
- *
\r
- * \see Chapter 9 of the USB 2.0 specification.
\r
- */
\r
-
\r
#ifndef __DEVCHAPTER9_H__
\r
#define __DEVCHAPTER9_H__
\r
\r
#ifndef __DEVCHAPTER9_H__
\r
#define __DEVCHAPTER9_H__
\r
\r
@@
-47,6
+39,7
@@
#include "../HighLevel/StdDescriptors.h"
\r
#include "../HighLevel/Events.h"
\r
#include "../HighLevel/StdRequestType.h"
\r
#include "../HighLevel/StdDescriptors.h"
\r
#include "../HighLevel/Events.h"
\r
#include "../HighLevel/StdRequestType.h"
\r
+ #include "../HighLevel/USBTask.h"
\r
#include "LowLevel.h"
\r
\r
/* Enable C linkage for C++ Compilers: */
\r
#include "LowLevel.h"
\r
\r
/* Enable C linkage for C++ Compilers: */
\r
@@
-90,25
+83,25
@@
extern bool USB_CurrentlySelfPowered;
\r
\r
/* Throwable Events: */
\r
extern bool USB_CurrentlySelfPowered;
\r
\r
/* Throwable Events: */
\r
- /** This module raises the USB_UnhandledControlPacket event when a request to the default control
\r
+ /** This module raises the
\ref
USB_UnhandledControlPacket event when a request to the default control
\r
* endpoint has been received, but the library does not implement an internal handler for it.
\r
*
\r
* endpoint has been received, but the library does not implement an internal handler for it.
\r
*
\r
- * \see
Events.h
for more information on this event.
\r
+ * \see
\ref Group_Events
for more information on this event.
\r
*/
\r
RAISES_EVENT(USB_UnhandledControlPacket);
\r
\r
*/
\r
RAISES_EVENT(USB_UnhandledControlPacket);
\r
\r
- /** This module raises the
USB_ConfigurationChanged event when the host issues a
REQ_SetConfiguration
\r
+ /** This module raises the
\ref USB_ConfigurationChanged event when the host issues a \ref
REQ_SetConfiguration
\r
* device request, to change the currently selected configuration number.
\r
*
\r
* device request, to change the currently selected configuration number.
\r
*
\r
- * \see
Events.h
for more information on this event.
\r
+ * \see
\ref Group_Events
for more information on this event.
\r
*/
\r
RAISES_EVENT(USB_ConfigurationChanged);
\r
\r
*/
\r
RAISES_EVENT(USB_ConfigurationChanged);
\r
\r
- /** This module raises the USB_DeviceEnumerationComplete event when the host has completed its
\r
- * enumeration of the device (i.e. when a REQ_SetConfiguration request changes the current configuration
\r
+ /** This module raises the
\ref
USB_DeviceEnumerationComplete event when the host has completed its
\r
+ * enumeration of the device (i.e. when a
\ref
REQ_SetConfiguration request changes the current configuration
\r
* number from 0 to a non-zero value).
\r
*
\r
* number from 0 to a non-zero value).
\r
*
\r
- * \see
Events.h
for more information on this event.
\r
+ * \see
\ref Group_Events
for more information on this event.
\r
*/
\r
RAISES_EVENT(USB_DeviceEnumerationComplete);
\r
\r
*/
\r
RAISES_EVENT(USB_DeviceEnumerationComplete);
\r
\r
@@
-126,10
+119,8
@@
static void USB_Device_SetConfiguration(void);
\r
static void USB_Device_GetConfiguration(void);
\r
static void USB_Device_GetDescriptor(void);
\r
static void USB_Device_SetConfiguration(void);
\r
static void USB_Device_GetConfiguration(void);
\r
static void USB_Device_GetDescriptor(void);
\r
- static void USB_Device_GetStatus(const uint8_t bmRequestType);
\r
- #if !defined(FEATURELESS_CONTROL_ONLY_DEVICE)
\r
- static void USB_Device_ClearSetFeature(const uint8_t bRequest, const uint8_t bmRequestType);
\r
- #endif
\r
+ static void USB_Device_GetStatus(void);
\r
+ static void USB_Device_ClearSetFeature(void);
\r
#endif
\r
#endif
\r
\r
#endif
\r
#endif
\r
\r