Change PIPE_PIPENUM_MASK from 0x07 to the more generic 0x0F to allow for full pipe address support in USB host architectures other than the current AVR8 devices. Minor documentation improvements.

pull/1469/head
Dean Camera 13 years ago
parent ecba8bcecf
commit ec3e47a7d0

@ -317,7 +317,7 @@ TYPEDEF_HIDES_STRUCT = YES
# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
# corresponding to a cache size of 2^16 = 65536 symbols
SYMBOL_CACHE_SIZE = 1
SYMBOL_CACHE_SIZE = 0
#---------------------------------------------------------------------------
# Build related configuration options

@ -41,7 +41,7 @@
* -# Port all demos to multiple architectures
* - Ports
* -# Finish USB XMEGA port
* -# Add AVR32 UC3C support
* -# Add AVR32 UC3C, UC3D and UC3L support
* -# Atmel ARM7 series microcontrollers
* -# Other (commercial) C compilers
*/

@ -128,6 +128,7 @@
* - MIDIFighter, a USB-MIDI controller: http://www.midifighter.com/
* - Norduino, a wireless Arduino: http://norduino.robomotic.com/norduino-is-now-usb-hid/
* - Retrode, a USB Games Console Cartridge Reader: http://www.retrode.org
* - RFI21.1EU UHF RFID reader: http://www.metra.cz/rfid/uhf-rfid-ctecky/rfi21-1eu-uhf-rfid-ctecka.htm
* - SmartCardDetective, a Smart Card analysis tool: http://www.smartcarddetective.com/
* - USBTINY-MKII, an AVRISP-MKII Clone AVR Programmer: http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
* - VMeter, a USB MIDI touch strip controller: http://www.vmeter.net/

@ -106,7 +106,7 @@
/** Pipe number mask, for masking against pipe addresses to retrieve the pipe's numerical address
* in the device.
*/
#define PIPE_PIPENUM_MASK 0x07
#define PIPE_PIPENUM_MASK 0x0F
/** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's
* numerical address in the attached device.
@ -114,7 +114,7 @@
#define PIPE_EPNUM_MASK 0x0F
/** Endpoint direction mask, for masking against endpoint addresses to retrieve the endpoint's
* direction for comparing with the \c ENDPOINT_DESCRIPTOR_DIR_* masks.
* direction for comparing with the \c ENDPOINT_DIR_* masks.
*/
#define PIPE_EPDIR_MASK 0x80

Loading…
Cancel
Save