aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Endpoint.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-01-16 16:13:22 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-01-16 16:13:22 +0000
commit32830a2b827cbeb40284c5ea379381948fb9113e (patch)
treeb7aa3d7301faae4fd138e0b1d95657f41425ea40 /LUFA/Drivers/USB/LowLevel/Endpoint.h
parent70d55f6e0ca1f262bd8811ad8d4149e33125819a (diff)
downloadlufa-32830a2b827cbeb40284c5ea379381948fb9113e.tar.gz
lufa-32830a2b827cbeb40284c5ea379381948fb9113e.tar.bz2
lufa-32830a2b827cbeb40284c5ea379381948fb9113e.zip
Added new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Endpoint.h')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h
index 24c61a69a..9ce1380b4 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.h
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h
@@ -203,13 +203,19 @@
*/
#define ENDPOINT_EPSIZE_MASK 0x7F
- /** Maximum size in bytes of a given endpoint.
+ /** Retrives the maximum bank size in bytes of a given endpoint.
+ *
+ * \note This macro will only work correctly on endpoint indexes that are compile-time constants
+ * defined by the preprocessor.
*
* \param[in] EPIndex Endpoint number, a value between 0 and (\ref ENDPOINT_TOTAL_ENDPOINTS - 1)
*/
#define ENDPOINT_MAX_SIZE(EPIndex) _ENDPOINT_GET_MAXSIZE(EPIndex)
- /** Indicates the total number of banks supported by the given endpoint.
+ /** Retrieves the total number of banks supported by the given endpoint.
+ *
+ * \note This macro will only work correctly on endpoint indexes that are compile-time constants
+ * defined by the preprocessor.
*
* \param[in] EPIndex Endpoint number, a value between 0 and (\ref ENDPOINT_TOTAL_ENDPOINTS - 1)
*/