HID/HostDevice.h File Reference
#include "../HostInterface.h"
#include <debug_progmem.h>
Include dependency graph for HID/HostDevice.h:

Go to the source code of this file.

Classes

struct  USB::HID::Report
 
class  USB::HID::HostDevice
 

Namespaces

 USB
 
 USB::HID
 

Typedefs

using USB::HID::MountCallback = Delegate< HostDevice *(const HostInterface::Instance &inst, const Report &report)>
 Application callback to notify connection of a new device. More...
 
using USB::HID::UnmountCallback = Delegate< void(HostDevice &dev)>
 Application callback to notify disconnection of a device. More...
 

Functions

void USB::HID::onMount (MountCallback callback)
 Application should call this method to receive device connection notifications. More...
 
void USB::HID::onUnmount (UnmountCallback callback)
 Application should call this method to receive device disconnection notifications. More...