summaryrefslogtreecommitdiff
path: root/bsp/gd32303e-eval/Libraries/GD32F30x_usbd_driver/Include/usbd_pwr.h
blob: 9d885a6cb9fc552fd51a1b3b28ed0124c7dba75e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*!
    \file  usbd_pwr.h
    \brief USB device power management functions prototype
*/

/*
    Copyright (C) 2017 GigaDevice

    2017-02-10, V1.0.0, firmware for GD32F30x
*/

#ifndef USBD_PWR_H
#define USBD_PWR_H

#include "usbd_core.h"

/* function declarations */
/* USB wakeup first operation is to wakeup mcu */
void  resume_mcu (void);
/* set USB device to suspend mode */
void  usbd_suspend (void);
/* start to remote wakeup */
void  usbd_remote_wakeup_active (void);

#endif /* USBD_PWR_H */