M480 BSP V3.05.005
The Board Support Package for M480 Series
Macros
hsotg.h File Reference

M480 Series HSOTG Driver Header File. More...

Go to the source code of this file.

Macros

#define HSOTG_VBUS_EN_ACTIVE_HIGH
 
#define HSOTG_VBUS_EN_ACTIVE_LOW
 
#define HSOTG_VBUS_ST_VALID_HIGH
 
#define HSOTG_VBUS_ST_VALID_LOW
 
#define HSOTG_ENABLE()
 This macro is used to enable HSOTG function. More...
 
#define HSOTG_DISABLE()
 This macro is used to disable HSOTG function. More...
 
#define HSOTG_ENABLE_PHY()
 This macro is used to enable USB PHY. More...
 
#define HSOTG_DISABLE_PHY()
 This macro is used to disable USB PHY. More...
 
#define HSOTG_ENABLE_ID_DETECT()
 This macro is used to enable ID detection function. More...
 
#define HSOTG_DISABLE_ID_DETECT()
 This macro is used to disable ID detection function. More...
 
#define HSOTG_ENABLE_WAKEUP()
 This macro is used to enable HSOTG wake-up function. More...
 
#define HSOTG_DISABLE_WAKEUP()
 This macro is used to disable HSOTG wake-up function. More...
 
#define HSOTG_SET_VBUS_EN_POL(u32Pol)
 This macro is used to set the polarity of USB_VBUS_EN pin. More...
 
#define HSOTG_SET_VBUS_STS_POL(u32Pol)
 This macro is used to set the polarity of USB_VBUS_ST pin. More...
 
#define HSOTG_ENABLE_INT(u32Mask)
 This macro is used to enable HSOTG related interrupts. More...
 
#define HSOTG_DISABLE_INT(u32Mask)
 This macro is used to disable HSOTG related interrupts. More...
 
#define HSOTG_GET_INT_FLAG(u32Mask)
 This macro is used to get HSOTG related interrupt flags. More...
 
#define HSOTG_CLR_INT_FLAG(u32Mask)
 This macro is used to clear HSOTG related interrupt flags. More...
 
#define HSOTG_GET_STATUS(u32Mask)
 This macro is used to get HSOTG related status. More...
 

Detailed Description

M480 Series HSOTG Driver Header File.

Version
V0.10

SPDX-License-Identifier: Apache-2.0

Definition in file hsotg.h.