]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - include/proxmark3.h
Properly exit usb thread (e.g. on Ctrl-D)
[proxmark3-svn] / include / proxmark3.h
index f1894f999eecc391e9841cf1f2812a6aae06a53a..8cbb98c4c3c368ff1261d3b1426ff3bb3f0f6c06 100644 (file)
 #define PWM_CHANNEL(x)                                                 (1<<(x))\r
 \r
 #define TC_CMR_TCCLKS_TIMER_CLOCK1                             (0<<0)\r
 #define PWM_CHANNEL(x)                                                 (1<<(x))\r
 \r
 #define TC_CMR_TCCLKS_TIMER_CLOCK1                             (0<<0)\r
+#define TC_CMR_TCCLKS_TIMER_CLOCK2                             (1<<0)\r
+#define TC_CMR_TCCLKS_TIMER_CLOCK3                             (2<<0)\r
+#define TC_CMR_TCCLKS_TIMER_CLOCK4                             (3<<0)\r
+#define TC_CMR_TCCLKS_TIMER_CLOCK5                             (4<<0)\r
 \r
 #define ADC_CHAN_LF                                                            4\r
 #define ADC_CHAN_HF                                                            5\r
 \r
 #define ADC_CHAN_LF                                                            4\r
 #define ADC_CHAN_HF                                                            5\r
@@ -74,7 +78,7 @@ typedef signed short SWORD;
 \r
 #include <usb_cmd.h>\r
 \r
 \r
 #include <usb_cmd.h>\r
 \r
-#define PACKED __attribute__((__packed__))\r
+//#define PACKED __attribute__((__packed__))\r
 \r
 #define USB_D_PLUS_PULLUP_ON() { \\r
                HIGH(GPIO_USB_PU); \\r
 \r
 #define USB_D_PLUS_PULLUP_ON() { \\r
                HIGH(GPIO_USB_PU); \\r
Impressum, Datenschutz