SAMV71 Xplained Ultra Software Package 1.4

USBDDriverCallbacks.c File Reference

#include "USBDDriver.h"
#include <USBLib_Trace.h>

Go to the source code of this file.

Functions

WEAK void USBDDriverCallbacks_ConfigurationChanged (uint8_t cfgnum)
WEAK void USBDDriverCallbacks_InterfaceSettingChanged (uint8_t interface, uint8_t setting)

Detailed Description

Purpose

Definition of several callbacks which are triggered by the USB software driver after receiving specific requests.

Usage

  1. Re-implement the USBDDriverCallbacks_ConfigurationChanged callback to know when the hosts changes the active configuration of the device.
  2. Re-implement the USBDDriverCallbacks_InterfaceSettingChanged callback to get notified whenever the active setting of an interface is changed by the host.

Definition in file USBDDriverCallbacks.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines