Revision 270
Added by markw almost 11 years ago
usb.h | ||
---|---|---|
#ifndef USB_H
|
||
#define USB_H
|
||
|
||
#include <inttypes.h>
|
||
#include <stdbool.h>
|
||
//#include <inttypes.h>
|
||
//#include <stdbool.h>
|
||
|
||
#include "common/integer.h"
|
||
|
||
/* NAK powers. To save space in endpoint data structure, amount of retries */
|
||
/* before giving up and returning 0x4 is stored in bmNakPower as a power of 2.*/
|
||
/* The actual nak_limit is then calculated as nak_limit = ( 2^bmNakPower - 1) */
|
Also available in: Unified diff
Fixes to make this build into ZPU firmware