Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does not support...
[pub/USBasp.git] / Projects / Magstripe / Magstripe.txt
1 /** \file
2 *
3 * This file contains special DoxyGen information for the generation of the main page and other special
4 * documentation pages. It is not a project source file.
5 */
6
7 /** \mainpage Denver Gingerich's USBSnoop Magnetic Card Reader Project
8 *
9 * \section SSec_Compat Demo Compatibility:
10 *
11 * The following table indicates what microcontrollers are compatible with this demo.
12 *
13 * - AT90USB1287
14 * - AT90USB1286
15 *
16 * \section SSec_Info USB Information:
17 *
18 * The following table gives a rundown of the USB utilization of this demo.
19 *
20 * <table>
21 * <tr>
22 * <td><b>USB Mode:</b></td>
23 * <td>Device</td>
24 * </tr>
25 * <tr>
26 * <td><b>USB Class:</b></td>
27 * <td>Human Interface Device (HID)</td>
28 * </tr>
29 * <tr>
30 * <td><b>USB Subclass:</b></td>
31 * <td>Keyboard</td>
32 * </tr>
33 * <tr>
34 * <td><b>Relevant Standards:</b></td>
35 * <td>USBIF HID Standard, USBIF HID Usage Tables</td>
36 * </tr>
37 * <tr>
38 * <td><b>Usable Speeds:</b></td>
39 * <td>Low Speed Mode, Full Speed Mode</td>
40 * </tr>
41 * </table>
42 *
43 * \section SSec_Description Project Description:
44 *
45 * Firmware for a USB AVR powered USB TTL magnetic stripe reader (using a card
46 * reader such as the Omron V3B-4K) by Denver Gingerich. This project is designed
47 * to be used with the open source Stripe Snoop project at http://stripesnoop.sourceforge.net/.
48 *
49 * See http://ossguy.com/ss_usb/ for the USB reader hardware project website,
50 * including construction and support details.
51 *
52 * To use, connect your magnetic card reader device to the USB AVR as follows (pin and port mapping may be adjusted
53 * from the project makefile):
54 *
55 * <table>
56 * <tr>
57 * <td><b>Signal:</b></td>
58 * <td><b>AVR Port:</b></td>
59 * </tr>
60 * <tr>
61 * <td>Track 1 Data</td>
62 * <td>PORTC, Pin 1</td>
63 * </tr>
64 * <tr>
65 * <td>Track 1 Clock</td>
66 * <td>PORTC, Pin 2</td>
67 * </tr>
68 * <tr>
69 * <td>Track 2 Data</td>
70 * <td>PORTC, Pin 3</td>
71 * </tr>
72 * <tr>
73 * <td>Track 2 Clock</td>
74 * <td>PORTC, Pin 0</td>
75 * </tr>
76 * <tr>
77 * <td>Track 3 Data</td>
78 * <td>PORTC, Pin 5</td>
79 * </tr>
80 * <tr>
81 * <td>Track 3 Clock</td>
82 * <td>PORTC, Pin 6</td>
83 * </tr>
84 * <tr>
85 * <td>Card Detect</td>
86 * <td>PORTC, Pin 4</td>
87 * </tr>
88 * </table>
89 *
90 * This project is based on the LUFA Keyboard demonstration application,
91 * written by Denver Gingerich.
92 *
93 * This application uses a keyboard HID driver to communicate the data collected
94 * a TTL magnetic stripe reader to the connected computer. The raw bitstream
95 * obtained from the magnetic stripe reader is "typed" through the keyboard
96 * driver as 0's and 1's. After every card swipe, the demo will send a return key.
97 *
98 * \section SSec_Options Project Options
99 *
100 * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
101 *
102 * <table>
103 * <tr>
104 * <td><b>Define Name:</b></td>
105 * <td><b>Location:</b></td>
106 * <td><b>Description:</b></td>
107 * </tr>
108 * <tr>
109 * <td>MAX_BITS</td>
110 * <td>CircularBitBuffer.h</td>
111 * <td>Gives the maximum number of bits per track which can be buffered by the device for later transmission to a host.</td>
112 * </tr>
113 * </table>
114 */