CryptoAuthLib
Microchip CryptoAuthentication Library
hal_linux_kit_cdc.h
Go to the documentation of this file.
1 
28 #ifndef HAL_LINUX_KIT_CDC_H_
29 #define HAL_LINUX_KIT_CDC_H_
30 
38 // Kit USB defines
39 #define CDC_DEVICES_MAX 10
40 #define CDC_BUFFER_MAX 1024
41 
42 
43 // Each device that is found will have a read handle and a write handle
44 typedef int HANDLE;
45 #define INVALID_HANDLE_VALUE ((int)(-1))
46 typedef struct cdc_device
47 {
50 } cdc_device_t;
51 
52 
53 // A structure to hold CDC information
54 typedef struct atcacdc
55 {
58 } atcacdc_t;
59 
62 #endif /* HAL_LINUX_KIT_CDC_H_ */
63 
Definition: hal_linux_kit_cdc.h:54
int8_t num_kits_found
Definition: hal_linux_kit_cdc.h:57
Definition: hal_linux_kit_cdc.h:46
#define CDC_DEVICES_MAX
Definition: hal_linux_kit_cdc.h:39
HANDLE read_handle
Definition: hal_linux_kit_cdc.h:48
int HANDLE
Definition: hal_linux_kit_cdc.h:44
struct cdc_device cdc_device_t
cdc_device_t kits[CDC_DEVICES_MAX]
Definition: hal_linux_kit_cdc.h:56
HANDLE write_handle
The kit USB read file handle.
Definition: hal_linux_kit_cdc.h:49
struct atcacdc atcacdc_t