CryptoAuthLib
Atmel CryptoAuthentication Library
hal_win_kit_cdc.h
Go to the documentation of this file.
1 
42 #ifndef HAL_WIN_KIT_CDC_H_
43 #define HAL_WIN_KIT_CDC_H_
44 
45 #include <Windows.h>
46 
47 // Kit USB defines
48 #define CDC_DEVICES_MAX 10
49 #define CDC_BUFFER_MAX 1024
50 
51 
52 // Each device that is found will have a read handle and a write handle
53 typedef struct cdc_device {
56 } cdc_device_t;
57 
58 
59 // A structure to hold CDC information
60 typedef struct atcacdc {
62  int8_t num_kits_found;
63 } atcacdc_t;
64 
65 #endif /* HAL_WIN_KIT_CDC_H_ */
66 
#define CDC_DEVICES_MAX
Definition: hal_win_kit_cdc.h:48
Definition: hal_linux_kit_cdc.h:60
struct cdc_device cdc_device_t
cdc_device_t kits[CDC_DEVICES_MAX]
Definition: hal_linux_kit_cdc.h:68
HANDLE read_handle
Definition: hal_linux_kit_cdc.h:61
int HANDLE
Definition: hal_linux_kit_cdc.h:58
int8_t num_kits_found
Definition: hal_linux_kit_cdc.h:69
HANDLE write_handle
The kit USB read file handle.
Definition: hal_linux_kit_cdc.h:62
struct atcacdc atcacdc_t
Definition: hal_linux_kit_cdc.h:67