1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

atusb/fw2: support device -> host side of the ATUSB EP0 protocol

- ep0.c: the ATUSB EP0 protocol engine
- Makefile (OBJS): added ep0.o
- atusb.c (main): initialize the EP0 protocol
- spi.h: whitespace cleanup

usb/patches/support-vendor-requests.patch:

- usb/ctrl.c (ctrl_handler): also pass vendor-specific requests to the
  class handler
- class/CDC/cdc.c (cdc_req_handler): reject vendor requests
This commit is contained in:
Werner Almesberger
2011-02-08 23:53:25 -03:00
parent 06f6174966
commit ec21e4ba47
6 changed files with 283 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
#include <stdint.h>
void spi_begin(void);
uint8_t spi_io(uint8_t v);
void spi_end(void);