STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
usbd_conf.h File Reference

: Header for usbd_conf.c file. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "main.h"
#include "stm32h7xx.h"
#include "stm32h7xx_hal.h"
Include dependency graph for usbd_conf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USBD_MAX_NUM_INTERFACES   1U
#define USBD_MAX_NUM_CONFIGURATION   1U
#define USBD_MAX_STR_DESC_SIZ   512U
#define USBD_DEBUG_LEVEL   0U
#define USBD_LPM_ENABLED   1U
#define USBD_SELF_POWERED   1U
#define DEVICE_FS   0
#define DEVICE_HS   1
#define USBD_malloc   (void *)USBD_static_malloc
 Alias for memory allocation.
#define USBD_free   USBD_static_free
 Alias for memory release.
#define USBD_memset   memset
 Alias for memory set.
#define USBD_memcpy   memcpy
 Alias for memory copy.
#define USBD_Delay   HAL_Delay
 Alias for delay.
#define USBD_UsrLog(...)
#define USBD_ErrLog(...)
#define USBD_DbgLog(...)

Functions

void * USBD_static_malloc (uint32_t size)
 Static single allocation.
void USBD_static_free (void *p)
 Dummy memory free.

Detailed Description

: Header for usbd_conf.c file.

Version
: v1.0_Cube
Attention

Copyright (c) 2026 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file usbd_conf.h.