added dcd_remote_wakeup() stub for all ports

This commit is contained in:
hathach
2019-03-30 14:47:11 +07:00
parent cabf6abb4f
commit b28cc6ddb1
11 changed files with 109 additions and 34 deletions

View File

@@ -59,12 +59,19 @@ extern tud_desc_set_t tud_desc_set;
//--------------------------------------------------------------------+
// Application API
//--------------------------------------------------------------------+
bool tud_mounted(void);
// Task function should be called in main/rtos loop
void tud_task (void);
bool tud_remote_wakeup(void);
// Check if device is connected and configured
bool tud_mounted(void);
// Tell stack that device is self or bus powered (default = bus)
void tud_set_self_powered(bool self_powered);
// Remote wake up host, only if suspended and enabled by host
bool tud_remote_wakeup(void);
//--------------------------------------------------------------------+
// Application Callbacks (WEAK is optional)
//--------------------------------------------------------------------+