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

Go to the source code of this file.

Classes

struct  tu_lookup_entry_t
 
struct  tu_lookup_table_t
 

Functions

void tu_print_mem (void const *buf, uint32_t count, uint8_t indent)
 
int CFG_TUSB_DEBUG_PRINTF (const char *format,...)
 
static void tu_print_buf (uint8_t const *buf, uint32_t bufsize)
 
static const char * tu_lookup_find (tu_lookup_table_t const *p_table, uint32_t key)
 

Variables

 C
 
char const *const tu_str_std_request []
 
char const *const tu_str_xfer_result []
 

Function Documentation

◆ CFG_TUSB_DEBUG_PRINTF()

int CFG_TUSB_DEBUG_PRINTF ( const char *  format,
  ... 
)

◆ tu_lookup_find()

static const char * tu_lookup_find ( tu_lookup_table_t const *  p_table,
uint32_t  key 
)
inlinestatic

Definition at line 110 of file tusb_debug.h.

◆ tu_print_buf()

static void tu_print_buf ( uint8_t const *  buf,
uint32_t  bufsize 
)
inlinestatic

Definition at line 61 of file tusb_debug.h.

◆ tu_print_mem()

void tu_print_mem ( void const *  buf,
uint32_t  count,
uint8_t  indent 
)

Definition at line 512 of file tusb.c.

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
#if CFG_TUSB_DEBUG
#if CFG_TUSB_DEBUG >= CFG_TUH_LOG_LEVEL || CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL
extern char const* const tu_str_speed[]

◆ tu_str_std_request

char const* const tu_str_std_request[]
extern

Definition at line 476 of file tusb.c.

◆ tu_str_xfer_result

char const* const tu_str_xfer_result[]
extern

Definition at line 492 of file tusb.c.