CryptoAuthLib
Microchip CryptoAuthentication Library
hal_win_kit_cdc.h
Go to the documentation of this file.
1 
28 #ifndef HAL_WIN_KIT_CDC_H_
29 #define HAL_WIN_KIT_CDC_H_
30 
31 #include <Windows.h>
32 
33 // Kit USB defines
34 #define CDC_DEVICES_MAX 10
35 #define CDC_BUFFER_MAX 1024
36 
37 
38 // Each device that is found will have a read handle and a write handle
39 typedef struct cdc_device
40 {
43 } cdc_device_t;
44 
45 
46 // A structure to hold CDC information
47 typedef struct atcacdc
48 {
50  int8_t num_kits_found;
51 } atcacdc_t;
52 
53 #endif /* HAL_WIN_KIT_CDC_H_ */
54 
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
HANDLE read_handle
Definition: hal_linux_kit_cdc.h:48
#define CDC_DEVICES_MAX
Definition: hal_win_kit_cdc.h:34
int HANDLE
Definition: hal_linux_kit_cdc.h:44
cdc_device_t kits[CDC_DEVICES_MAX]
Definition: hal_linux_kit_cdc.h:56
struct cdc_device cdc_device_t
HANDLE write_handle
The kit USB read file handle.
Definition: hal_linux_kit_cdc.h:49
struct atcacdc atcacdc_t