Rev 3471 Rev 3472
Line 20... Line 20...
20 the newest features and options. 20 the newest features and options.
21 */ 21 */
22   22  
23 /* ---------------------------- Hardware Config ---------------------------- */ 23 /* ---------------------------- Hardware Config ---------------------------- */
24   24  
-   25 #define USB_COUNT_SOF 0
-   26 /* Define this to 1 if interrupt is conected to D- signal
-   27 */
-   28  
25 #define USB_CFG_IOPORTNAME B 29 #define USB_CFG_IOPORTNAME D
26 /* This is the port where the USB bus is connected. When you configure it to 30 /* This is the port where the USB bus is connected. When you configure it to
27 * "B", the registers PORTB, PINB and DDRB will be used. 31 * "B", the registers PORTB, PINB and DDRB will be used.
28 */ 32 */
29 #define USB_CFG_DMINUS_BIT 0 33 #define USB_CFG_DMINUS_BIT 4
30 /* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected. 34 /* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected.
31 * This may be any bit in the port. 35 * This may be any bit in the port.
32 */ 36 */
33 #define USB_CFG_DPLUS_BIT 1 37 #define USB_CFG_DPLUS_BIT 2
34 /* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected. 38 /* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected.
35 * This may be any bit in the port. Please note that D+ must also be connected 39 * This may be any bit in the port. Please note that D+ must also be connected
36 * to interrupt pin INT0! 40 * to interrupt pin INT0!
37 */ 41 */
38 #define USB_CFG_CLOCK_KHZ 12000 42 #define USB_CFG_CLOCK_KHZ 12000