CDC/HostDevice.h File Reference
#include "../HostInterface.h"
#include "UsbSerial.h"
Include dependency graph for CDC/HostDevice.h:

Go to the source code of this file.

Classes

class  USB::CDC::HostDevice
 Implements CDC interface for a connected serial device. More...
 

Namespaces

 USB
 
 USB::CDC
 

Typedefs

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

Functions

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