CryptoAuthLib
Atmel CryptoAuthentication Library
hal_linux_kit_cdc.h
Go to the documentation of this file.
1 
42 #ifndef HAL_LINUX_KIT_CDC_H_
43 #define HAL_LINUX_KIT_CDC_H_
44 
52 // Kit USB defines
53 #define CDC_DEVICES_MAX 10
54 #define CDC_BUFFER_MAX 1024
55 
56 
57 // Each device that is found will have a read handle and a write handle
58 typedef int HANDLE;
59 #define INVALID_HANDLE_VALUE ((int)(-1))
60 typedef struct cdc_device {
63 } cdc_device_t;
64 
65 
66 // A structure to hold CDC information
67 typedef struct atcacdc {
70 } atcacdc_t;
71 
74 #endif /* HAL_LINUX_KIT_CDC_H_ */
75 
Definition: hal_linux_kit_cdc.h:60
cdc_device_t kits[CDC_DEVICES_MAX]
Definition: hal_linux_kit_cdc.h:68
#define CDC_DEVICES_MAX
Definition: hal_linux_kit_cdc.h:53
HANDLE read_handle
Definition: hal_linux_kit_cdc.h:61
struct atcacdc atcacdc_t
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 cdc_device cdc_device_t
Definition: hal_linux_kit_cdc.h:67