snickerdoodle Platform Controller
firmware for STM32F0 platform controller

usb otg low level driver configuration file More...

Modules

 USBD_CONF_Exported_Defines
 
 USBD_CONF_Exported_FunctionsPrototype
 
 USBD_CONF_Exported_Macros
 
 USBD_CONF_Exported_Types
 
 USBD_CONF_Exported_Variables
 

Functions

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

Detailed Description

usb otg low level driver configuration file

Function Documentation

◆ USBD_static_free()

void USBD_static_free ( void *  p)

#include <Inc/usbd_conf.h>

Dummy memory free.

Parameters
*ppointer to allocated memory address
Return values
None
496 {
497 

◆ USBD_static_malloc()

void* USBD_static_malloc ( uint32_t  size)

#include <Inc/usbd_conf.h>

static single allocation.

Parameters
sizesize of allocated memory
Return values
None
485 {
486  static uint32_t mem[(sizeof(USBD_CDC_HandleTypeDef)/4)+1];//On 32-bit boundary
487  return mem;