Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Committer:
sahilmgandhi
Date:
Sun May 14 23:18:57 2017 +0000
Revision:
18:6a4db94011d3
Publishing again

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sahilmgandhi 18:6a4db94011d3 1 /**************************************************************************//**
sahilmgandhi 18:6a4db94011d3 2 * @file otg.h
sahilmgandhi 18:6a4db94011d3 3 * @version V0.10
sahilmgandhi 18:6a4db94011d3 4 * $Revision: 3 $
sahilmgandhi 18:6a4db94011d3 5 * $Date: 15/08/11 10:26a $
sahilmgandhi 18:6a4db94011d3 6 * @brief M451 Series OTG Driver Header File
sahilmgandhi 18:6a4db94011d3 7 *
sahilmgandhi 18:6a4db94011d3 8 * @note
sahilmgandhi 18:6a4db94011d3 9 * Copyright (C) 2014~2015 Nuvoton Technology Corp. All rights reserved.
sahilmgandhi 18:6a4db94011d3 10 *
sahilmgandhi 18:6a4db94011d3 11 ******************************************************************************/
sahilmgandhi 18:6a4db94011d3 12 #ifndef __OTG_H__
sahilmgandhi 18:6a4db94011d3 13 #define __OTG_H__
sahilmgandhi 18:6a4db94011d3 14
sahilmgandhi 18:6a4db94011d3 15 /*---------------------------------------------------------------------------------------------------------*/
sahilmgandhi 18:6a4db94011d3 16 /* Include related headers */
sahilmgandhi 18:6a4db94011d3 17 /*---------------------------------------------------------------------------------------------------------*/
sahilmgandhi 18:6a4db94011d3 18 #include "M451Series.h"
sahilmgandhi 18:6a4db94011d3 19
sahilmgandhi 18:6a4db94011d3 20 #ifdef __cplusplus
sahilmgandhi 18:6a4db94011d3 21 extern "C"
sahilmgandhi 18:6a4db94011d3 22 {
sahilmgandhi 18:6a4db94011d3 23 #endif
sahilmgandhi 18:6a4db94011d3 24
sahilmgandhi 18:6a4db94011d3 25
sahilmgandhi 18:6a4db94011d3 26 /** @addtogroup Standard_Driver Standard Driver
sahilmgandhi 18:6a4db94011d3 27 @{
sahilmgandhi 18:6a4db94011d3 28 */
sahilmgandhi 18:6a4db94011d3 29
sahilmgandhi 18:6a4db94011d3 30 /** @addtogroup OTG_Driver OTG Driver
sahilmgandhi 18:6a4db94011d3 31 @{
sahilmgandhi 18:6a4db94011d3 32 */
sahilmgandhi 18:6a4db94011d3 33
sahilmgandhi 18:6a4db94011d3 34
sahilmgandhi 18:6a4db94011d3 35 /** @addtogroup OTG_EXPORTED_CONSTANTS OTG Exported Constants
sahilmgandhi 18:6a4db94011d3 36 @{
sahilmgandhi 18:6a4db94011d3 37 */
sahilmgandhi 18:6a4db94011d3 38
sahilmgandhi 18:6a4db94011d3 39
sahilmgandhi 18:6a4db94011d3 40
sahilmgandhi 18:6a4db94011d3 41 /*---------------------------------------------------------------------------------------------------------*/
sahilmgandhi 18:6a4db94011d3 42 /* OTG constant definitions */
sahilmgandhi 18:6a4db94011d3 43 /*---------------------------------------------------------------------------------------------------------*/
sahilmgandhi 18:6a4db94011d3 44 #define OTG_VBUS_EN_ACTIVE_HIGH (0UL) /*!< USB VBUS power switch enable signal is active high. */
sahilmgandhi 18:6a4db94011d3 45 #define OTG_VBUS_EN_ACTIVE_LOW (1UL) /*!< USB VBUS power switch enable signal is active low. */
sahilmgandhi 18:6a4db94011d3 46 #define OTG_VBUS_ST_VALID_HIGH (0UL) /*!< USB VBUS power switch valid status is high. */
sahilmgandhi 18:6a4db94011d3 47 #define OTG_VBUS_ST_VALID_LOW (1UL) /*!< USB VBUS power switch valid status is low. */
sahilmgandhi 18:6a4db94011d3 48
sahilmgandhi 18:6a4db94011d3 49
sahilmgandhi 18:6a4db94011d3 50 /*@}*/ /* end of group OTG_EXPORTED_CONSTANTS */
sahilmgandhi 18:6a4db94011d3 51
sahilmgandhi 18:6a4db94011d3 52
sahilmgandhi 18:6a4db94011d3 53 /** @addtogroup OTG_EXPORTED_FUNCTIONS OTG Exported Functions
sahilmgandhi 18:6a4db94011d3 54 @{
sahilmgandhi 18:6a4db94011d3 55 */
sahilmgandhi 18:6a4db94011d3 56
sahilmgandhi 18:6a4db94011d3 57 /*---------------------------------------------------------------------------------------------------------*/
sahilmgandhi 18:6a4db94011d3 58 /* Define Macros and functions */
sahilmgandhi 18:6a4db94011d3 59 /*---------------------------------------------------------------------------------------------------------*/
sahilmgandhi 18:6a4db94011d3 60
sahilmgandhi 18:6a4db94011d3 61
sahilmgandhi 18:6a4db94011d3 62 /**
sahilmgandhi 18:6a4db94011d3 63 * @brief This macro is used to enable OTG function
sahilmgandhi 18:6a4db94011d3 64 * @param None
sahilmgandhi 18:6a4db94011d3 65 * @return None
sahilmgandhi 18:6a4db94011d3 66 * @details This macro will set OTGEN bit of OTG_CTL register to enable OTG function.
sahilmgandhi 18:6a4db94011d3 67 */
sahilmgandhi 18:6a4db94011d3 68 #define OTG_ENABLE() (OTG->CTL |= OTG_CTL_OTGEN_Msk)
sahilmgandhi 18:6a4db94011d3 69
sahilmgandhi 18:6a4db94011d3 70 /**
sahilmgandhi 18:6a4db94011d3 71 * @brief This macro is used to disable OTG function
sahilmgandhi 18:6a4db94011d3 72 * @param None
sahilmgandhi 18:6a4db94011d3 73 * @return None
sahilmgandhi 18:6a4db94011d3 74 * @details This macro will clear OTGEN bit of OTG_CTL register to disable OTG function.
sahilmgandhi 18:6a4db94011d3 75 */
sahilmgandhi 18:6a4db94011d3 76 #define OTG_DISABLE() (OTG->CTL &= ~OTG_CTL_OTGEN_Msk)
sahilmgandhi 18:6a4db94011d3 77
sahilmgandhi 18:6a4db94011d3 78 /**
sahilmgandhi 18:6a4db94011d3 79 * @brief This macro is used to enable USB PHY
sahilmgandhi 18:6a4db94011d3 80 * @param None
sahilmgandhi 18:6a4db94011d3 81 * @return None
sahilmgandhi 18:6a4db94011d3 82 * @details When the USB role is selected as OTG device, use this macro to enable USB PHY.
sahilmgandhi 18:6a4db94011d3 83 * This macro will set OTGPHYEN bit of OTG_PHYCTL register to enable USB PHY.
sahilmgandhi 18:6a4db94011d3 84 */
sahilmgandhi 18:6a4db94011d3 85 #define OTG_ENABLE_PHY() (OTG->PHYCTL |= OTG_PHYCTL_OTGPHYEN_Msk)
sahilmgandhi 18:6a4db94011d3 86
sahilmgandhi 18:6a4db94011d3 87 /**
sahilmgandhi 18:6a4db94011d3 88 * @brief This macro is used to disable USB PHY
sahilmgandhi 18:6a4db94011d3 89 * @param None
sahilmgandhi 18:6a4db94011d3 90 * @return None
sahilmgandhi 18:6a4db94011d3 91 * @details This macro will clear OTGPHYEN bit of OTG_PHYCTL register to disable USB PHY.
sahilmgandhi 18:6a4db94011d3 92 */
sahilmgandhi 18:6a4db94011d3 93 #define OTG_DISABLE_PHY() (OTG->PHYCTL &= ~OTG_PHYCTL_OTGPHYEN_Msk)
sahilmgandhi 18:6a4db94011d3 94
sahilmgandhi 18:6a4db94011d3 95 /**
sahilmgandhi 18:6a4db94011d3 96 * @brief This macro is used to enable ID detection function
sahilmgandhi 18:6a4db94011d3 97 * @param None
sahilmgandhi 18:6a4db94011d3 98 * @return None
sahilmgandhi 18:6a4db94011d3 99 * @details This macro will set IDDETEN bit of OTG_PHYCTL register to enable ID detection function.
sahilmgandhi 18:6a4db94011d3 100 */
sahilmgandhi 18:6a4db94011d3 101 #define OTG_ENABLE_ID_DETECT() (OTG->PHYCTL |= OTG_PHYCTL_IDDETEN_Msk)
sahilmgandhi 18:6a4db94011d3 102
sahilmgandhi 18:6a4db94011d3 103 /**
sahilmgandhi 18:6a4db94011d3 104 * @brief This macro is used to disable ID detection function
sahilmgandhi 18:6a4db94011d3 105 * @param None
sahilmgandhi 18:6a4db94011d3 106 * @return None
sahilmgandhi 18:6a4db94011d3 107 * @details This macro will clear IDDETEN bit of OTG_PHYCTL register to disable ID detection function.
sahilmgandhi 18:6a4db94011d3 108 */
sahilmgandhi 18:6a4db94011d3 109 #define OTG_DISABLE_ID_DETECT() (OTG->PHYCTL &= ~OTG_PHYCTL_IDDETEN_Msk)
sahilmgandhi 18:6a4db94011d3 110
sahilmgandhi 18:6a4db94011d3 111 /**
sahilmgandhi 18:6a4db94011d3 112 * @brief This macro is used to enable OTG wake-up function
sahilmgandhi 18:6a4db94011d3 113 * @param None
sahilmgandhi 18:6a4db94011d3 114 * @return None
sahilmgandhi 18:6a4db94011d3 115 * @details This macro will set WKEN bit of OTG_CTL register to enable OTG wake-up function.
sahilmgandhi 18:6a4db94011d3 116 */
sahilmgandhi 18:6a4db94011d3 117 #define OTG_ENABLE_WAKEUP() (OTG->CTL |= OTG_CTL_WKEN_Msk)
sahilmgandhi 18:6a4db94011d3 118
sahilmgandhi 18:6a4db94011d3 119 /**
sahilmgandhi 18:6a4db94011d3 120 * @brief This macro is used to disable OTG wake-up function
sahilmgandhi 18:6a4db94011d3 121 * @param None
sahilmgandhi 18:6a4db94011d3 122 * @return None
sahilmgandhi 18:6a4db94011d3 123 * @details This macro will clear WKEN bit of OTG_CTL register to disable OTG wake-up function.
sahilmgandhi 18:6a4db94011d3 124 */
sahilmgandhi 18:6a4db94011d3 125 #define OTG_DISABLE_WAKEUP() (OTG->CTL &= ~OTG_CTL_WKEN_Msk)
sahilmgandhi 18:6a4db94011d3 126
sahilmgandhi 18:6a4db94011d3 127 /**
sahilmgandhi 18:6a4db94011d3 128 * @brief This macro is used to set the polarity of USB_VBUS_EN pin
sahilmgandhi 18:6a4db94011d3 129 * @param[in] u32Pol The polarity selection. Valid values are listed below.
sahilmgandhi 18:6a4db94011d3 130 * - \ref OTG_VBUS_EN_ACTIVE_HIGH
sahilmgandhi 18:6a4db94011d3 131 * - \ref OTG_VBUS_EN_ACTIVE_LOW
sahilmgandhi 18:6a4db94011d3 132 * @return None
sahilmgandhi 18:6a4db94011d3 133 * @details This macro is used to set the polarity of external USB VBUS power switch enable signal.
sahilmgandhi 18:6a4db94011d3 134 */
sahilmgandhi 18:6a4db94011d3 135 #define OTG_SET_VBUS_EN_POL(u32Pol) (OTG->PHYCTL = (OTG->PHYCTL & (~OTG_PHYCTL_VBENPOL_Msk)) | ((u32Pol)<<OTG_PHYCTL_VBENPOL_Pos))
sahilmgandhi 18:6a4db94011d3 136
sahilmgandhi 18:6a4db94011d3 137 /**
sahilmgandhi 18:6a4db94011d3 138 * @brief This macro is used to set the polarity of USB_VBUS_ST pin
sahilmgandhi 18:6a4db94011d3 139 * @param[in] u32Pol The polarity selection. Valid values are listed below.
sahilmgandhi 18:6a4db94011d3 140 * - \ref OTG_VBUS_ST_VALID_HIGH
sahilmgandhi 18:6a4db94011d3 141 * - \ref OTG_VBUS_ST_VALID_LOW
sahilmgandhi 18:6a4db94011d3 142 * @return None
sahilmgandhi 18:6a4db94011d3 143 * @details This macro is used to set the polarity of external USB VBUS power switch status signal.
sahilmgandhi 18:6a4db94011d3 144 */
sahilmgandhi 18:6a4db94011d3 145 #define OTG_SET_VBUS_STS_POL(u32Pol) (OTG->PHYCTL = (OTG->PHYCTL & (~OTG_PHYCTL_VBSTSPOL_Msk)) | ((u32Pol)<<OTG_PHYCTL_VBSTSPOL_Pos))
sahilmgandhi 18:6a4db94011d3 146
sahilmgandhi 18:6a4db94011d3 147 /**
sahilmgandhi 18:6a4db94011d3 148 * @brief This macro is used to enable OTG related interrupts
sahilmgandhi 18:6a4db94011d3 149 * @param[in] u32Mask The combination of interrupt source. Each bit corresponds to a interrupt source. Valid values are listed below.
sahilmgandhi 18:6a4db94011d3 150 * - \ref OTG_INTEN_ROLECHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 151 * - \ref OTG_INTEN_VBEIEN_Msk
sahilmgandhi 18:6a4db94011d3 152 * - \ref OTG_INTEN_SRPFIEN_Msk
sahilmgandhi 18:6a4db94011d3 153 * - \ref OTG_INTEN_HNPFIEN_Msk
sahilmgandhi 18:6a4db94011d3 154 * - \ref OTG_INTEN_GOIDLEIEN_Msk
sahilmgandhi 18:6a4db94011d3 155 * - \ref OTG_INTEN_IDCHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 156 * - \ref OTG_INTEN_PDEVIEN_Msk
sahilmgandhi 18:6a4db94011d3 157 * - \ref OTG_INTEN_HOSTIEN_Msk
sahilmgandhi 18:6a4db94011d3 158 * - \ref OTG_INTEN_BVLDCHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 159 * - \ref OTG_INTEN_AVLDCHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 160 * - \ref OTG_INTEN_VBCHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 161 * - \ref OTG_INTEN_SECHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 162 * - \ref OTG_INTEN_SRPDETIEN_Msk
sahilmgandhi 18:6a4db94011d3 163 * @return None
sahilmgandhi 18:6a4db94011d3 164 * @details This macro will enable OTG related interrupts specified by u32Mask parameter.
sahilmgandhi 18:6a4db94011d3 165 */
sahilmgandhi 18:6a4db94011d3 166 #define OTG_ENABLE_INT(u32Mask) (OTG->INTEN |= (u32Mask))
sahilmgandhi 18:6a4db94011d3 167
sahilmgandhi 18:6a4db94011d3 168 /**
sahilmgandhi 18:6a4db94011d3 169 * @brief This macro is used to disable OTG related interrupts
sahilmgandhi 18:6a4db94011d3 170 * @param[in] u32Mask The combination of interrupt source. Each bit corresponds to a interrupt source. Valid values are listed below.
sahilmgandhi 18:6a4db94011d3 171 * - \ref OTG_INTEN_ROLECHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 172 * - \ref OTG_INTEN_VBEIEN_Msk
sahilmgandhi 18:6a4db94011d3 173 * - \ref OTG_INTEN_SRPFIEN_Msk
sahilmgandhi 18:6a4db94011d3 174 * - \ref OTG_INTEN_HNPFIEN_Msk
sahilmgandhi 18:6a4db94011d3 175 * - \ref OTG_INTEN_GOIDLEIEN_Msk
sahilmgandhi 18:6a4db94011d3 176 * - \ref OTG_INTEN_IDCHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 177 * - \ref OTG_INTEN_PDEVIEN_Msk
sahilmgandhi 18:6a4db94011d3 178 * - \ref OTG_INTEN_HOSTIEN_Msk
sahilmgandhi 18:6a4db94011d3 179 * - \ref OTG_INTEN_BVLDCHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 180 * - \ref OTG_INTEN_AVLDCHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 181 * - \ref OTG_INTEN_VBCHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 182 * - \ref OTG_INTEN_SECHGIEN_Msk
sahilmgandhi 18:6a4db94011d3 183 * - \ref OTG_INTEN_SRPDETIEN_Msk
sahilmgandhi 18:6a4db94011d3 184 * @return None
sahilmgandhi 18:6a4db94011d3 185 * @details This macro will disable OTG related interrupts specified by u32Mask parameter.
sahilmgandhi 18:6a4db94011d3 186 */
sahilmgandhi 18:6a4db94011d3 187 #define OTG_DISABLE_INT(u32Mask) (OTG->INTEN &= ~(u32Mask))
sahilmgandhi 18:6a4db94011d3 188
sahilmgandhi 18:6a4db94011d3 189 /**
sahilmgandhi 18:6a4db94011d3 190 * @brief This macro is used to get OTG related interrupt flags
sahilmgandhi 18:6a4db94011d3 191 * @param[in] u32Mask The combination of interrupt source. Each bit corresponds to a interrupt source. Valid values are listed below.
sahilmgandhi 18:6a4db94011d3 192 * - \ref OTG_INTSTS_ROLECHGIF_Msk
sahilmgandhi 18:6a4db94011d3 193 * - \ref OTG_INTSTS_VBEIF_Msk
sahilmgandhi 18:6a4db94011d3 194 * - \ref OTG_INTSTS_SRPFIF_Msk
sahilmgandhi 18:6a4db94011d3 195 * - \ref OTG_INTSTS_HNPFIF_Msk
sahilmgandhi 18:6a4db94011d3 196 * - \ref OTG_INTSTS_GOIDLEIF_Msk
sahilmgandhi 18:6a4db94011d3 197 * - \ref OTG_INTSTS_IDCHGIF_Msk
sahilmgandhi 18:6a4db94011d3 198 * - \ref OTG_INTSTS_PDEVIF_Msk
sahilmgandhi 18:6a4db94011d3 199 * - \ref OTG_INTSTS_HOSTIF_Msk
sahilmgandhi 18:6a4db94011d3 200 * - \ref OTG_INTSTS_BVLDCHGIF_Msk
sahilmgandhi 18:6a4db94011d3 201 * - \ref OTG_INTSTS_AVLDCHGIF_Msk
sahilmgandhi 18:6a4db94011d3 202 * - \ref OTG_INTSTS_VBCHGIF_Msk
sahilmgandhi 18:6a4db94011d3 203 * - \ref OTG_INTSTS_SECHGIF_Msk
sahilmgandhi 18:6a4db94011d3 204 * - \ref OTG_INTSTS_SRPDETIF_Msk
sahilmgandhi 18:6a4db94011d3 205 * @return Interrupt flags of selected sources.
sahilmgandhi 18:6a4db94011d3 206 * @details This macro will return OTG related interrupt flags specified by u32Mask parameter.
sahilmgandhi 18:6a4db94011d3 207 */
sahilmgandhi 18:6a4db94011d3 208 #define OTG_GET_INT_FLAG(u32Mask) (OTG->INTSTS & (u32Mask))
sahilmgandhi 18:6a4db94011d3 209
sahilmgandhi 18:6a4db94011d3 210 /**
sahilmgandhi 18:6a4db94011d3 211 * @brief This macro is used to clear OTG related interrupt flags
sahilmgandhi 18:6a4db94011d3 212 * @param[in] u32Mask The combination of interrupt source. Each bit corresponds to a interrupt source. Valid values are listed below.
sahilmgandhi 18:6a4db94011d3 213 * - \ref OTG_INTSTS_ROLECHGIF_Msk
sahilmgandhi 18:6a4db94011d3 214 * - \ref OTG_INTSTS_VBEIF_Msk
sahilmgandhi 18:6a4db94011d3 215 * - \ref OTG_INTSTS_SRPFIF_Msk
sahilmgandhi 18:6a4db94011d3 216 * - \ref OTG_INTSTS_HNPFIF_Msk
sahilmgandhi 18:6a4db94011d3 217 * - \ref OTG_INTSTS_GOIDLEIF_Msk
sahilmgandhi 18:6a4db94011d3 218 * - \ref OTG_INTSTS_IDCHGIF_Msk
sahilmgandhi 18:6a4db94011d3 219 * - \ref OTG_INTSTS_PDEVIF_Msk
sahilmgandhi 18:6a4db94011d3 220 * - \ref OTG_INTSTS_HOSTIF_Msk
sahilmgandhi 18:6a4db94011d3 221 * - \ref OTG_INTSTS_BVLDCHGIF_Msk
sahilmgandhi 18:6a4db94011d3 222 * - \ref OTG_INTSTS_AVLDCHGIF_Msk
sahilmgandhi 18:6a4db94011d3 223 * - \ref OTG_INTSTS_VBCHGIF_Msk
sahilmgandhi 18:6a4db94011d3 224 * - \ref OTG_INTSTS_SECHGIF_Msk
sahilmgandhi 18:6a4db94011d3 225 * - \ref OTG_INTSTS_SRPDETIF_Msk
sahilmgandhi 18:6a4db94011d3 226 * @return None
sahilmgandhi 18:6a4db94011d3 227 * @details This macro will clear OTG related interrupt flags specified by u32Mask parameter.
sahilmgandhi 18:6a4db94011d3 228 */
sahilmgandhi 18:6a4db94011d3 229 #define OTG_CLR_INT_FLAG(u32Mask) (OTG->INTSTS = (u32Mask))
sahilmgandhi 18:6a4db94011d3 230
sahilmgandhi 18:6a4db94011d3 231 /**
sahilmgandhi 18:6a4db94011d3 232 * @brief This macro is used to get OTG related status
sahilmgandhi 18:6a4db94011d3 233 * @param[in] u32Mask The combination of user specified source. Valid values are listed below.
sahilmgandhi 18:6a4db94011d3 234 * - \ref OTG_STATUS_OVERCUR_Msk
sahilmgandhi 18:6a4db94011d3 235 * - \ref OTG_STATUS_IDSTS_Msk
sahilmgandhi 18:6a4db94011d3 236 * - \ref OTG_STATUS_SESSEND_Msk
sahilmgandhi 18:6a4db94011d3 237 * - \ref OTG_STATUS_BVLD_Msk
sahilmgandhi 18:6a4db94011d3 238 * - \ref OTG_STATUS_AVLD_Msk
sahilmgandhi 18:6a4db94011d3 239 * - \ref OTG_STATUS_VBUSVLD_Msk
sahilmgandhi 18:6a4db94011d3 240 * @return The user specified status.
sahilmgandhi 18:6a4db94011d3 241 * @details This macro will return OTG related status specified by u32Mask parameter.
sahilmgandhi 18:6a4db94011d3 242 */
sahilmgandhi 18:6a4db94011d3 243 #define OTG_GET_STATUS(u32Mask) (OTG->STATUS & (u32Mask))
sahilmgandhi 18:6a4db94011d3 244
sahilmgandhi 18:6a4db94011d3 245
sahilmgandhi 18:6a4db94011d3 246
sahilmgandhi 18:6a4db94011d3 247 /*@}*/ /* end of group OTG_EXPORTED_FUNCTIONS */
sahilmgandhi 18:6a4db94011d3 248
sahilmgandhi 18:6a4db94011d3 249 /*@}*/ /* end of group OTG_Driver */
sahilmgandhi 18:6a4db94011d3 250
sahilmgandhi 18:6a4db94011d3 251 /*@}*/ /* end of group Standard_Driver */
sahilmgandhi 18:6a4db94011d3 252
sahilmgandhi 18:6a4db94011d3 253 #ifdef __cplusplus
sahilmgandhi 18:6a4db94011d3 254 }
sahilmgandhi 18:6a4db94011d3 255 #endif
sahilmgandhi 18:6a4db94011d3 256
sahilmgandhi 18:6a4db94011d3 257
sahilmgandhi 18:6a4db94011d3 258 #endif //__OTG_H__
sahilmgandhi 18:6a4db94011d3 259
sahilmgandhi 18:6a4db94011d3 260 /*** (C) COPYRIGHT 2014~2015 Nuvoton Technology Corp. ***/