libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
usb_efm32hg.c File Reference
#include <string.h>
#include <libopencm3/cm3/common.h>
#include <libopencm3/efm32/memorymap.h>
#include <libopencm3/efm32/cmu.h>
#include <libopencm3/efm32/usb.h>
#include <libopencm3/usb/usbd.h>
#include <libopencm3/usb/dwc/otg_fs.h>
#include "usb_private.h"
#include "usb_dwc_common.h"
Include dependency graph for usb_efm32hg.c:

Go to the source code of this file.

Macros

#define RX_FIFO_SIZE   256
 
#define ENDPOINT_COUNT   4
 

Functions

static usbd_deviceefm32hg_usbd_init (void)
 Initialize the USB device controller hardware of the EFM32HG. More...
 

Variables

static struct _usbd_device _usbd_dev
 
const struct _usbd_driver efm32hg_usb_driver