diff options
| author | hathach <[email protected]> | 2020-04-16 16:05:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-16 16:05:57 +0700 |
| commit | 418b69f2db1c07341cfca73bfb6373cc57ae3656 (patch) | |
| tree | 5c4e516c63998db6bcbc190e3e382786b2fb18e3 /src/portable/template | |
| parent | 969121df4f1025481cfe085397c8dede454f4537 (diff) | |
implement dcd disconnect/connect for lpc ip3511
Diffstat (limited to 'src/portable/template')
| -rw-r--r-- | src/portable/template/dcd_template.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/portable/template/dcd_template.c b/src/portable/template/dcd_template.c index d29c98e55..ba1383f31 100644 --- a/src/portable/template/dcd_template.c +++ b/src/portable/template/dcd_template.c @@ -91,6 +91,18 @@ void dcd_remote_wakeup (uint8_t rhport) (void) rhport; } +// Connect by enabling internal pull-up resistor on D+/D- +void dcd_connect(uint8_t rhport) +{ + (void) rhport; +} + +// Disconnect by disabling internal pull-up resistor on D+/D- +void dcd_disconnect(uint8_t rhport) +{ + (void) rhport; +} + //--------------------------------------------------------------------+ // Endpoint API //--------------------------------------------------------------------+ |
