CryptoAuthLib
Microchip CryptoAuthentication Library
hal_win_kit_hid.h
Go to the documentation of this file.
1 
28 #ifndef HAL_WIN_KIT_HID_H_
29 #define HAL_WIN_KIT_HID_H_
30 
31 #include <Windows.h>
32 
40 // Kit USB defines
41 #define HID_DEVICES_MAX 10
42 #define HID_PACKET_MAX 512
43 
44 // Each device that is found will have a read handle and a write handle
45 typedef struct hid_device
46 {
49 } hid_device_t;
50 
51 
52 // A structure to hold HID information
53 typedef struct atcahid
54 {
56  int8_t num_kits_found;
57 } atcahid_t;
58 
60 #endif /* HAL_WIN_KIT_HID_H_ */
Definition: hal_all_platforms_kit_hidapi.h:48
struct atcahid atcahid_t
Definition: hal_linux_kit_hid.h:43
HANDLE read_handle
Definition: hal_win_kit_hid.h:47
int8_t num_kits_found
Definition: hal_all_platforms_kit_hidapi.h:51
#define HID_DEVICES_MAX
Definition: hal_win_kit_hid.h:41
int HANDLE
Definition: hal_linux_kit_cdc.h:44
struct hid_device hid_device_t
HANDLE write_handle
The kit USB read file handle.
Definition: hal_win_kit_hid.h:48
hid_device * kits[HID_DEVICES_MAX]
Definition: hal_all_platforms_kit_hidapi.h:50