adding tud_isr/tuh_isr with lpc18/43
This commit is contained in:
@@ -47,6 +47,9 @@ bool tud_init (void);
|
||||
// Task function should be called in main/rtos loop
|
||||
void tud_task (void);
|
||||
|
||||
// Interrupt handler, name alias to DCD
|
||||
#define tud_isr dcd_isr
|
||||
|
||||
// Check if device is connected and configured
|
||||
bool tud_mounted(void);
|
||||
|
||||
|
||||
@@ -68,6 +68,9 @@ typedef struct {
|
||||
//--------------------------------------------------------------------+
|
||||
void tuh_task(void);
|
||||
|
||||
// Interrupt handler, name alias to HCD
|
||||
#define tuh_isr hcd_isr
|
||||
|
||||
tusb_device_state_t tuh_device_get_state (uint8_t dev_addr);
|
||||
static inline bool tuh_device_is_configured(uint8_t dev_addr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user