HAL for kit protocol over HID for any platform. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "hidapi.h"
#include "atca_hal.h"
#include "hal/kit_protocol.h"
Functions | |
ATCA_STATUS | hal_kit_hid_init (ATCAIface iface, ATCAIfaceCfg *cfg) |
HAL implementation of Kit USB HID init. | |
ATCA_STATUS | hal_kit_hid_post_init (ATCAIface iface) |
HAL implementation of Kit HID post init. | |
ATCA_STATUS | hal_kit_hid_send (ATCAIface iface, uint8_t word_address, uint8_t *txdata, int txlength) |
HAL implementation of kit protocol send over USB HID. | |
ATCA_STATUS | hal_kit_hid_receive (ATCAIface iface, uint8_t word_address, uint8_t *rxdata, uint16_t *rxlength) |
HAL implementation of send over USB HID. | |
ATCA_STATUS | hal_kit_hid_control (ATCAIface iface, uint8_t option, void *param, size_t paramlen) |
Perform control operations for the kit protocol. | |
ATCA_STATUS | hal_kit_hid_release (void *hal_data) |
Close the physical port for HID. | |
HAL for kit protocol over HID for any platform.