COSA
An Object-Oriented Platform for Arduino Programming
|
#include "Cosa/Types.h"
Go to the source code of this file.
Macros | |
#define | CDC_ENABLED |
#define | CDC_INTERFACE_COUNT 2 |
#define | CDC_ENPOINT_COUNT 3 |
#define | HID_INTERFACE_COUNT 0 |
#define | HID_ENPOINT_COUNT 0 |
#define | CDC_ACM_INTERFACE 0 |
#define | CDC_DATA_INTERFACE 1 |
#define | CDC_FIRST_ENDPOINT 1 |
#define | CDC_ENDPOINT_ACM (CDC_FIRST_ENDPOINT) |
#define | CDC_ENDPOINT_OUT (CDC_FIRST_ENDPOINT+1) |
#define | CDC_ENDPOINT_IN (CDC_FIRST_ENDPOINT+2) |
#define | HID_INTERFACE (CDC_ACM_INTERFACE + CDC_INTERFACE_COUNT) |
#define | HID_FIRST_ENDPOINT (CDC_FIRST_ENDPOINT + CDC_ENPOINT_COUNT) |
#define | HID_ENDPOINT_INT (HID_FIRST_ENDPOINT) |
#define | INTERFACE_COUNT (MSC_INTERFACE + MSC_INTERFACE_COUNT) |
#define | CDC_RX CDC_ENDPOINT_OUT |
#define | CDC_TX CDC_ENDPOINT_IN |
#define | IMANUFACTURER 1 |
#define | IPRODUCT 2 |
Copyright (c) 2010, Peter Barrett (original author) Copyright (C) 2013-2015, Mikael Patel (refactoring and extensions)
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
This file is part of the Arduino Che Cosa project.
Definition in file Desc.h.
#define CDC_ENDPOINT_ACM (CDC_FIRST_ENDPOINT) |
#define CDC_ENDPOINT_IN (CDC_FIRST_ENDPOINT+2) |
#define CDC_ENDPOINT_OUT (CDC_FIRST_ENDPOINT+1) |
#define CDC_RX CDC_ENDPOINT_OUT |
#define CDC_TX CDC_ENDPOINT_IN |
#define HID_ENDPOINT_INT (HID_FIRST_ENDPOINT) |
#define HID_FIRST_ENDPOINT (CDC_FIRST_ENDPOINT + CDC_ENPOINT_COUNT) |
#define HID_INTERFACE (CDC_ACM_INTERFACE + CDC_INTERFACE_COUNT) |