fix lpcxpresso1347 board_leds

temp change USBD_API to ROM_API
add lpc13xx device support
fix romdriver pointer
able to init rom driver
This commit is contained in:
hathach
2013-05-29 14:39:14 +07:00
parent 1e5bd82af2
commit dda0808ebb
17 changed files with 363 additions and 161 deletions

View File

@@ -69,6 +69,12 @@ enum {
HID_DESC_TYPE_PHYSICAL = 0x23
};
enum {
HID_REQUEST_REPORT_INPUT = 1,
HID_REQUEST_REPORT_OUTPUT,
HID_REQUEST_REPORT_FEATURE
};
typedef ATTR_PREPACKED struct ATTR_PACKED {
uint8_t bLength; /**< Numeric expression that is the total size of the HID descriptor */
uint8_t bDescriptorType; /**< Constant name specifying type of HID descriptor. */