1 /* 2 * Copyright 2019 NXP 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef __USB_DEVICE_CONFIG_CHARGER_DETECT_H__ 9 #define __USB_DEVICE_CONFIG_CHARGER_DETECT_H__ 10 11 typedef enum _usb_device_charger_detect_type 12 { 13 kUSB_DcdTimeOut = 0x0U, /*!< Dcd detect result is timeout */ 14 kUSB_DcdUnknownType, /*!< Dcd detect result is unknown type */ 15 kUSB_DcdError, /*!< Dcd detect result is error*/ 16 kUSB_DcdSDP, /*!< The SDP facility is detected */ 17 kUSB_DcdCDP, /*!< The CDP facility is detected */ 18 kUSB_DcdDCP, /*!< The DCP facility is detected */ 19 } usb_device_charger_detect_type_t; 20 21 #endif /* __USB_DEVICE_CONFIG_CHARGER_DETECT_H__ */ 22