diff options
author | Dean Camera <[email protected]> | 2009-07-28 13:01:44 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-07-28 13:01:44 +0000 |
commit | c1be3073939c71d17c92fcbce4e1690d0a1443f0 (patch) | |
tree | 66215e49220bbb4fc1d966b96e40a4ea67416767 /LUFA/ManPages | |
parent | 23c1653efe58d436504c01438133c1ef7b3f8fbc (diff) | |
download | qmk_firmware-c1be3073939c71d17c92fcbce4e1690d0a1443f0.tar.gz qmk_firmware-c1be3073939c71d17c92fcbce4e1690d0a1443f0.zip |
Added HOST_STATE_AS_GPIOR1 and DEVICE_STATE_AS_GPIOR0 compile time options, the latter of which is used in the bootloaders, to reduce code size.
Diffstat (limited to 'LUFA/ManPages')
-rw-r--r-- | LUFA/ManPages/ChangeLog.txt | 1 | ||||
-rw-r--r-- | LUFA/ManPages/CompileTimeTokens.txt | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index ff34ff2ed8..b8ba3b2ce3 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -34,6 +34,7 @@ * - Added new Benito Arduino Programmer project
* - Added new LEDs_ToggleLEDs() function to the LEDs driver
* - Added new Pipe_BoundEndpointNumber() and Pipe_IsEndpointBound() functions
+ * - Added new DEVICE_STATE_AS_GPIOR0 and DEVICE_STATE_AS_GPIOR1 compile time options
*
* <b>Changed:</b>
* - Deprecated psuedo-scheduler and removed dynamic memory allocator from the library (first no longer needed and second unused)
diff --git a/LUFA/ManPages/CompileTimeTokens.txt b/LUFA/ManPages/CompileTimeTokens.txt index f11dff2e1b..130a2e8fb4 100644 --- a/LUFA/ManPages/CompileTimeTokens.txt +++ b/LUFA/ManPages/CompileTimeTokens.txt @@ -95,6 +95,18 @@ * 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
+ * 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.
+ *
+ * <b>HOST_STATE_AS_GPIOR1</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.
+ *
* <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
* the amount of configuration required to set up the library, and allows the value to change dynamically (if descriptors are stored in
|