usb: Add API for getting status of remote wakeup
This change adds a posibility to check the status of remote wakeup feature. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
This commit is contained in:
parent
404f67ab5e
commit
75c0f52cca
3 changed files with 15 additions and 1 deletions
|
@ -433,6 +433,13 @@ bool usb_transfer_is_busy(uint8_t ep);
|
|||
*/
|
||||
int usb_wakeup_request(void);
|
||||
|
||||
/**
|
||||
* @brief Get status of the USB remote wakeup feature
|
||||
*
|
||||
* @return true if remote wakeup has been enabled by the host, false otherwise.
|
||||
*/
|
||||
bool usb_get_remote_wakeup_status(void);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue