Inital Remote Wakeup Support
Not working yet...
This commit is contained in:
parent
aeaaaaa468
commit
dc562cdcb3
3 changed files with 61 additions and 35 deletions
|
@ -76,6 +76,13 @@ void usb_keyboard_send()
|
|||
uint32_t wait_count = 0;
|
||||
usb_packet_t *tx_packet;
|
||||
|
||||
if (remote_wakeup_enabled) {
|
||||
USB0_CTL |= USB_CTL_RESUME;
|
||||
_delay_ms(5); //wait 1 to 15ms
|
||||
USB0_CTL &= ~USB_CTL_RESUME;
|
||||
_delay_ms(5);
|
||||
}
|
||||
|
||||
// Wait till ready
|
||||
while ( 1 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue