USB: add generic class/vendor request handling
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Sep 2010 16:52:22 +0000 (16:52 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Sep 2010 16:52:22 +0000 (16:52 +0000)
commitf5729acab3560972ec31e397844b9fe39c7455ce
tree42c9e1227663bab9014780ef881a7ad1e21af1d6
parentea55bf87b5e954a4939dece9aec37e364da15b93
USB: add generic class/vendor request handling

A generic USB device can handle class and/or vendor request implementing
the usb_device->event_cb callback.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4245 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/usb_stm32.c
bertos/drv/usb.h