22#ifndef __USBD_CONF__H__
23#define __USBD_CONF__H__
66#define USBD_MAX_NUM_INTERFACES 1U
68#define USBD_MAX_NUM_CONFIGURATION 1U
70#define USBD_MAX_STR_DESC_SIZ 512U
72#define USBD_DEBUG_LEVEL 0U
74#define USBD_LPM_ENABLED 1U
76#define USBD_SELF_POWERED 1U
94#define USBD_malloc (void *)USBD_static_malloc
97#define USBD_free USBD_static_free
100#define USBD_memset memset
103#define USBD_memcpy memcpy
106#define USBD_Delay HAL_Delay
110#if (USBD_DEBUG_LEVEL > 0)
111#define USBD_UsrLog(...) printf(__VA_ARGS__);\
114#define USBD_UsrLog(...)
117#if (USBD_DEBUG_LEVEL > 1)
119#define USBD_ErrLog(...) printf("ERROR: ");\
120 printf(__VA_ARGS__);\
123#define USBD_ErrLog(...)
126#if (USBD_DEBUG_LEVEL > 2)
127#define USBD_DbgLog(...) printf("DEBUG : ");\
128 printf(__VA_ARGS__);\
131#define USBD_DbgLog(...)
void USBD_static_free(void *p)
Dummy memory free.
void * USBD_static_malloc(uint32_t size)
Static single allocation.
CMSIS STM32H7xx Device Peripheral Access Layer Header File.
This file contains all the functions prototypes for the HAL module driver.