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

Go to the source code of this file.

Classes

struct  TU_ATTR_PACKED
 AUDIO Channel Cluster Descriptor (4.1) More...
 

Typedefs

typedef struct TU_ATTR_PACKED musb_ep_csr_t
 
typedef struct TU_ATTR_PACKED musb_regs_t
 

Functions

 TU_VERIFY_STATIC (sizeof(musb_ep_csr_t)==16, "size is not correct")
 
static TU_ATTR_ALWAYS_INLINE musb_ep_csr_tget_ep_csr (musb_regs_t *musb_regs, unsigned epnum)
 

Variables

 C
 

Typedef Documentation

◆ musb_ep_csr_t

typedef struct TU_ATTR_PACKED musb_ep_csr_t

◆ musb_regs_t

typedef struct TU_ATTR_PACKED musb_regs_t

Function Documentation

◆ get_ep_csr()

static TU_ATTR_ALWAYS_INLINE musb_ep_csr_t * get_ep_csr ( musb_regs_t musb_regs,
unsigned  epnum 
)
inlinestatic

Definition at line 302 of file musb_type.h.

◆ TU_VERIFY_STATIC()

TU_VERIFY_STATIC ( sizeof(musb_ep_csr_t = =16,
"size is not correct"   
)

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
#ifndef __IO
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#endif
#ifndef __O
#define __O volatile
#endif
#ifndef __R
#define __R volatile const
#endif
typedef struct TU_ATTR_PACKED {
__IO uint16_t maxp;
__IO uint8_t csrl;
__IO uint8_t csrh;
}musb_ep_maxp_csr_t
AUDIO Channel Cluster Descriptor (4.1)
Definition: audio.h:647
volatile uint16_t
Definition: hcd_rusb2.c:58