Tune USB CDC class + doc
parent
b6d630d1c9
commit
cddc16dc2e
|
|
@ -8,16 +8,16 @@ namespace usb {
|
||||||
|
|
||||||
class CDC {
|
class CDC {
|
||||||
public:
|
public:
|
||||||
constexpr inline CDC() {}
|
constexpr inline CDC() = default;
|
||||||
|
|
||||||
|
/// Calls USB_Init from the LUFA library
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
|
/// Calls USB_USBTask from the LUFA library - basically takes care about the runtime of USB CDC operation
|
||||||
void Step();
|
void Step();
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// The one and only instance of Selector in the FW
|
/// The one and only instance of USB CDC in the FW
|
||||||
extern CDC cdc;
|
extern CDC cdc;
|
||||||
|
|
||||||
} // namespace usb
|
} // namespace usb
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue