aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/ManPages/CompileTimeTokens.txt
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-07-28 13:12:14 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-07-28 13:12:14 +0000
commite426463355b8516a442c01e0e6b4a574c39fc0f4 (patch)
tree5c6c01c7ab24a423e956154bb8bba7db268c8b5b /LUFA/ManPages/CompileTimeTokens.txt
parentc1be3073939c71d17c92fcbce4e1690d0a1443f0 (diff)
downloadlufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.tar.gz
lufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.tar.bz2
lufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.zip
Better solution - change compile time token names to DEVICE_STATE_AS_GPIOR and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use.
Diffstat (limited to 'LUFA/ManPages/CompileTimeTokens.txt')
-rw-r--r--LUFA/ManPages/CompileTimeTokens.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/LUFA/ManPages/CompileTimeTokens.txt b/LUFA/ManPages/CompileTimeTokens.txt
index 130a2e8fb..513d85454 100644
--- a/LUFA/ManPages/CompileTimeTokens.txt
+++ b/LUFA/ManPages/CompileTimeTokens.txt
@@ -95,17 +95,19 @@
* defined to a non-zero value instead to give the size in bytes of the control endpoint, to reduce the size of the compiled
* binary.
*
- * <b>DEVICE_STATE_AS_GPIOR0</b> - ( \ref Group_Device ) \n
+ * <b>DEVICE_STATE_AS_GPIOR</b> - ( \ref Group_Device ) \n
* One of the most frequenty used global variables in the stack is the USB_DeviceState global, which indicates the current state of
* the Device State Machine. To reduce the amount of code and time required to access and modify this global in an application, this token
- * make be defined to fix the state variable into one of the three general purpose IO registers inside the AVR reserved for application
- * use. When defined, the GPIOR0 register should not be used within the user application except implicitly via the library APIs.
+ * may be defined to a value between 0 and 2 to fix the state variable into one of the three general purpose IO registers inside the AVR
+ * reserved for application use. When defined, the corresponding GPIOR register should not be used within the user application except
+ * implicitly via the library APIs.
*
- * <b>HOST_STATE_AS_GPIOR1</b> - ( \ref Group_Host ) \n
+ * <b>HOST_STATE_AS_GPIOR</b> - ( \ref Group_Host ) \n
* One of the most frequenty used global variables in the stack is the USB_HostState global, which indicates the current state of
* the Host State Machine. To reduce the amount of code and time required to access and modify this global in an application, this token
- * make be defined to fix the state variable into one of the three general purpose IO registers inside the AVR reserved for application
- * use. When defined, the GPIOR1 register should not be used within the user application except implicitly via the library APIs.
+ * may be defined to a value between 0 and 2 to fix the state variable into one of the three general purpose IO registers inside the AVR
+ * reserved for application use. When defined, the corresponding GPIOR register should not be used within the user application except
+ * implicitly via the library APIs.
*
* <b>TOTAL_NUM_CONFIGURATIONS</b> - ( \ref Group_Device ) \n
* By default, the library determines the number of configurations a USB device supports by reading the device descriptor. This reduces