Open FFBoard
Open source force feedback firmware
dwc2_gd32.h File Reference

Go to the source code of this file.

Functions

static TU_ATTR_ALWAYS_INLINE void __eclic_enable_interrupt (uint32_t irq)
 
static TU_ATTR_ALWAYS_INLINE void __eclic_disable_interrupt (uint32_t irq)
 
static TU_ATTR_ALWAYS_INLINE void dwc2_dcd_int_enable (uint8_t rhport)
 
static TU_ATTR_ALWAYS_INLINE void dwc2_dcd_int_disable (uint8_t rhport)
 
static void dwc2_remote_wakeup_delay (void)
 
static void dwc2_phy_init (dwc2_regs_t *dwc2, uint8_t hs_phy_type)
 
static void dwc2_phy_update (dwc2_regs_t *dwc2, uint8_t hs_phy_type)
 

Variables

 C
 
uint32_t SystemCoreClock
 

Function Documentation

◆ __eclic_disable_interrupt()

static TU_ATTR_ALWAYS_INLINE void __eclic_disable_interrupt ( uint32_t  irq)
inlinestatic

Definition at line 56 of file dwc2_gd32.h.

◆ __eclic_enable_interrupt()

static TU_ATTR_ALWAYS_INLINE void __eclic_enable_interrupt ( uint32_t  irq)
inlinestatic

Definition at line 51 of file dwc2_gd32.h.

◆ dwc2_dcd_int_disable()

static TU_ATTR_ALWAYS_INLINE void dwc2_dcd_int_disable ( uint8_t  rhport)
inlinestatic

Definition at line 67 of file dwc2_gd32.h.

◆ dwc2_dcd_int_enable()

static TU_ATTR_ALWAYS_INLINE void dwc2_dcd_int_enable ( uint8_t  rhport)
inlinestatic

Definition at line 61 of file dwc2_gd32.h.

◆ dwc2_phy_init()

static void dwc2_phy_init ( dwc2_regs_t dwc2,
uint8_t  hs_phy_type 
)
inlinestatic

Definition at line 80 of file dwc2_gd32.h.

◆ dwc2_phy_update()

static void dwc2_phy_update ( dwc2_regs_t dwc2,
uint8_t  hs_phy_type 
)
inlinestatic

Definition at line 89 of file dwc2_gd32.h.

◆ dwc2_remote_wakeup_delay()

static void dwc2_remote_wakeup_delay ( void  )
inlinestatic

Definition at line 72 of file dwc2_gd32.h.

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
#define DWC2_REG_BASE 0x50000000UL
#define DWC2_EP_MAX 4
static const dwc2_controller_t _dwc2_controller[] =
{
{ .reg_base = DWC2_REG_BASE, .irqnum = 86, .ep_count = DWC2_EP_MAX, .ep_fifo_size = 1280 }
}
static const dwc2_controller_t _dwc2_controller[]
Definition: dwc2_esp32.h:57

◆ SystemCoreClock

uint32_t SystemCoreClock
extern