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

@@ -54,17 +54,7 @@
// volatile uint8_t state;
//
//};
typedef struct {
volatile uint8_t state;
}usbd_info_t; // TODO rename
usbd_info_t usbd_info; // TODO rename
typedef struct {
void (* const init) (void);
void (* const configured) (void);
void (* const unmounted) (void);
}device_class_driver_t;
//--------------------------------------------------------------------+