#include "board.h"
#include "USBD.h"
#include "CDCDEEMDriver.h"
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | MAXPACKETSIZE 1536 |
#define | ETH_TX_BUFFERS 64 |
#define | ETH_RX_BUFFERS 64 |
#define | ETH_BUFF_SIZE 1536 |
#define | DUMMY_BUFFERS 2 |
#define | DUMMY_BUFF_SIZE 128 |
Functions | |
COMPILER_ALIGNED (8) | |
void | USBDDriverCallbacks_ConfigurationChanged (unsigned char cfgnum) |
void | USBDCallbacks_RequestReceived (const USBGenericRequest *request) |
int | main (void) |
Main function. Execution starts here. | |
Variables | |
const USBDDriverDescriptors | cdcdEEMDriverDescriptors |
This file contains all the specific code for the usb_eem example.
Definition in file main.c.
#define MAXPACKETSIZE 1536 |
COMPILER_ALIGNED | ( | 8 | ) |
void USBDCallbacks_RequestReceived | ( | const USBGenericRequest * | request | ) |
Invoked when a new SETUP request is received from the host. Forwards the request to the Mass Storage device driver handler function.
request | Pointer to a USBGenericRequest instance. |
Definition at line 198 of file main.c.