COSA
An Object-Oriented Platform for Arduino Programming
Desc.h File Reference
#include "Cosa/Types.h"
Include dependency graph for Desc.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
 

Detailed Description

Version
1.0

License

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.

Macro Definition Documentation

#define CDC_ACM_INTERFACE   0

Definition at line 48 of file Desc.h.

#define CDC_DATA_INTERFACE   1

Definition at line 49 of file Desc.h.

#define CDC_ENABLED

Definition at line 27 of file Desc.h.

#define CDC_ENDPOINT_ACM   (CDC_FIRST_ENDPOINT)

Definition at line 51 of file Desc.h.

#define CDC_ENDPOINT_IN   (CDC_FIRST_ENDPOINT+2)

Definition at line 53 of file Desc.h.

#define CDC_ENDPOINT_OUT   (CDC_FIRST_ENDPOINT+1)

Definition at line 52 of file Desc.h.

#define CDC_ENPOINT_COUNT   3

Definition at line 34 of file Desc.h.

#define CDC_FIRST_ENDPOINT   1

Definition at line 50 of file Desc.h.

#define CDC_INTERFACE_COUNT   2

Definition at line 33 of file Desc.h.

#define CDC_RX   CDC_ENDPOINT_OUT

Definition at line 62 of file Desc.h.

#define CDC_TX   CDC_ENDPOINT_IN

Definition at line 63 of file Desc.h.

#define HID_ENDPOINT_INT   (HID_FIRST_ENDPOINT)

Definition at line 57 of file Desc.h.

#define HID_ENPOINT_COUNT   0

Definition at line 45 of file Desc.h.

#define HID_FIRST_ENDPOINT   (CDC_FIRST_ENDPOINT + CDC_ENPOINT_COUNT)

Definition at line 56 of file Desc.h.

#define HID_INTERFACE   (CDC_ACM_INTERFACE + CDC_INTERFACE_COUNT)

Definition at line 55 of file Desc.h.

#define HID_INTERFACE_COUNT   0

Definition at line 44 of file Desc.h.

#define IMANUFACTURER   1

Definition at line 70 of file Desc.h.

#define INTERFACE_COUNT   (MSC_INTERFACE + MSC_INTERFACE_COUNT)

Definition at line 59 of file Desc.h.

#define IPRODUCT   2

Definition at line 71 of file Desc.h.