OpenCores
URL https://opencores.org/ocsvn/usb_device_core/usb_device_core/trunk

Subversion Repositories usb_device_core

[/] [usb_device_core/] [trunk/] [sw/] [usb_log.h] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 ultra_embe
#ifndef __USB_LOG_H__
2
#define __USB_LOG_H__
3
 
4
//-----------------------------------------------------------------
5
// Defines:
6
//-----------------------------------------------------------------
7
#define USBLOG_HW_RESET         1
8
#define USBLOG_HW_CTRL          7
9
#define USBLOG_HW_DATA          9
10
#define USBLOG_CONTROL          9
11
#define USBLOG_SETUP_DATA       9
12
#define USBLOG_SETUP            8
13
#define USBLOG_SETUP_OUT        8
14
#define USBLOG_SETUP_IN         8
15
#define USBLOG_SETUP_IN_DBG     11
16
#define USBLOG_DESC             7
17
#define USBLOG_DESC_WARN        1
18
#define USBLOG_INFO             8
19
#define USBLOG_ERR              0
20
#define USBLOG_CDC_INFO         7
21
#define USBLOG_DFU_INFO         7
22
 
23
//-----------------------------------------------------------------
24
// Prototypes
25
//-----------------------------------------------------------------
26
#ifdef HAS_USB_DEVICE_LOG
27
extern int  log_printf(int level, const char* ctrl1, ... );
28
#else
29
static int  log_printf(int level, const char* ctrl1, ... ) { return 0; }
30
#endif
31
 
32
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.