Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/usb
diff options
context:
space:
mode:
authorfenugrec <fenugrec@users.sourceforge.net>2015-10-13 21:22:33 +0300
committerKarl Palsson <karlp@tweak.net.au>2015-10-14 23:48:26 +0300
commitc899273c62568fdb00fe54b80eab45c6c0917969 (patch)
tree79a0737374af00d6a0ff9a924a8363344a7d3dc5 /lib/usb
parent7814d06095e7da1aa6fcee35089eabaf2d27aa93 (diff)
usb: Improved comments of USB API
usbd.h: more comments for bmRequestType and bmAttributes bitfield macros usbd.h: migrated and added API doxyblocks from implementations (*.c)
Diffstat (limited to 'lib/usb')
-rw-r--r--lib/usb/usb.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/usb/usb.c b/lib/usb/usb.c
index f2ed2772..a073bc76 100644
--- a/lib/usb/usb.c
+++ b/lib/usb/usb.c
@@ -39,28 +39,6 @@ LGPL License Terms @ref lgpl_license
#include <libopencm3/usb/usbd.h>
#include "usb_private.h"
-/**
- * Main initialization entry point.
- *
- * Initialize the USB firmware library to implement the USB device described
- * by the descriptors provided.
- *
- * It is required that the 48MHz USB clock is already available.
- *
- * @param driver TODO
- * @param dev Pointer to USB device descriptor. This must not be changed while
- * the device is in use.
- * @param conf Pointer to array of USB configuration descriptors. These must
- * not be changed while the device is in use. The length of this
- * array is determined by the bNumConfigurations field in the
- * device descriptor.
- * @param strings TODO
- * @param control_buffer Pointer to array that would hold the data
- * received during control requests with DATA
- * stage
- * @param control_buffer_size Size of control_buffer
- * @return the usb device initialized for use. (currently cannot fail).
- */
usbd_device *usbd_init(const usbd_driver *driver,
const struct usb_device_descriptor *dev,
const struct usb_config_descriptor *conf,