usbd_pwr.h 501 B

12345678910111213141516171819202122232425
  1. /*!
  2. \file usbd_pwr.h
  3. \brief USB device power management functions prototype
  4. */
  5. /*
  6. Copyright (C) 2017 GigaDevice
  7. 2017-02-10, V1.0.0, firmware for GD32F30x
  8. */
  9. #ifndef USBD_PWR_H
  10. #define USBD_PWR_H
  11. #include "usbd_core.h"
  12. /* function declarations */
  13. /* USB wakeup first operation is to wakeup mcu */
  14. void resume_mcu (void);
  15. /* set USB device to suspend mode */
  16. void usbd_suspend (void);
  17. /* start to remote wakeup */
  18. void usbd_remote_wakeup_active (void);
  19. #endif /* USBD_PWR_H */