USB Device Personal Healthcare Device Class (PHDC) interface definitions.
Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
#include "conf_usb.h"
#include "usb_protocol.h"
#include "usb_protocol_phdc.h"
#include "udd.h"
#include "udc_desc.h"
#include "udi.h"
Data Structures | |
struct | udi_phdc_desc_t |
struct | udi_phdc_fnctext_desc_t |
struct | udi_phdc_metadata_t |
Macros | |
#define | UDI_PHDC_BMCAPABILITY 0 |
#define | UDI_PHDC_DESC |
#define | UDI_PHDC_EP_INTIN |
#define | UDI_PHDC_FNCTEXT |
#define | UDI_PHDC_METADATA_BULKIN |
#define | UDI_PHDC_METADATA_BULKOUT |
#define | UDI_PHDC_METADATA_INTIN |
#define | UDI_PHDC_NUM_ENDPOINT 2 /* Bulk IN, bulk OUT */ |
#define | UDI_PHDC_PREAMBLE_FEATURE false /* No preample message by default */ |
Functions | |
bool | udi_phdc_senddata (udi_phdc_metadata_t *metadata, void(*callback)(uint16_t)) |
Send metadata to USB host. More... | |
void | udi_phdc_senddata_abort (void) |
Abort of send metadata to USB host. More... | |
bool | udi_phdc_waitdata (udi_phdc_metadata_t *metadata, void(*callback)(bool, uint16_t)) |
Wait metadata from USB host. More... | |
Variables | |
static le16_t | tmp_wDevSpecializations [] = UDI_PHDC_SPECIALIZATION |
UDC_DESC_STORAGE udi_api_t | udi_api_phdc |
#define UDI_PHDC_PREAMBLE_FEATURE false /* No preample message by default */ |