4.20. HID Mouse Remote Wakeup
4.20.1. Overview
This example project demonstrates the Remote Wakeup feature of a USB HID mouse.
PC sees a mouse via Device Manager
4.20.2. Board Setting
Connect a USB port on PC to the PWR DEBUG port on the development board with a USB Type-C cable
Connect a USB port on PC to one of USB port on the development board with a USB Type-C cable
4.20.3. Running the example
Download the program and run. The computer can automatically recognize and enumerate a device with a mouse.
Pressing the PBUTN/KEYA button on the board is equivalent to moving the mouse to the right.
After setting the computer into sleep mode, press the PBUTN/KEYA button again, this will wake up the computer.