1 /*
2  * Copyright (c) 2016, Freescale Semiconductor, Inc.
3  * Copyright 2016 NXP
4  * All rights reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 #ifndef __USB_0TG_CONFIG_H__
10 #define __USB_0TG_CONFIG_H__
11 
12 /*!
13  * @brief otg khci instance count, meantime it indicates khci enable or disable.
14  *        - if 0, otg khci driver is disable.
15  *        - if greater than 0, otg khci driver is enable.
16  */
17 #define USB_OTG_CONFIG_KHCI (1U)
18 
19 /*! if 1, the otg srp is enable; if 0, the otg srp is disbale */
20 #define USB_OTG_SRP_ENABLE (1U)
21 
22 /*! if 1, the otg hnp is enable; if 0, the otg hnp is disbale */
23 #define USB_OTG_HNP_ENABLE (1U)
24 
25 /*! if 1, the otg adp is enable; if 0, the otg adp is disbale */
26 #define USB_OTG_ADP_ENABLE (0U)
27 
28 #if ((defined USB_OTG_CONFIG_KHCI) && (USB_OTG_CONFIG_KHCI))
29 /*!
30  * @brief otg khci instance count, meantime it indicates khci enable or disable.
31  *        - if 0, otg khci driver is disable.
32  *        - if greater than 0, otg khci driver is enable.
33  */
34 #define USB_OTG_KHCI_PERIPHERAL_ENABLE (1U)
35 
36 #endif
37 
38 #endif
39