USB Device Personal Healthcare Device Class (PHDC) interface.
Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
|
void | udi_phdc_disable (void) |
|
bool | udi_phdc_enable (void) |
|
uint8_t | udi_phdc_getsetting (void) |
|
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_setup (void) |
|
bool | udi_phdc_waitdata (udi_phdc_metadata_t *metadata, void(*callback)(bool, uint16_t)) |
| Wait metadata from USB host. More...
|
|
|
static bool | udi_phdc_send_preamplemsg (void) |
| This function sends a preample message. More...
|
|
static void | udi_phdc_preamplemsg_ack (udd_ep_status_t status, iram_size_t nb_send, udd_ep_id_t ep) |
| Callback called when preample message is sent. More...
|
|
static bool | udi_phdc_send_metadata (void) |
| This function sends a metadata. More...
|
|
static void | udi_phdc_metadata_ack (udd_ep_status_t status, iram_size_t nb_send, udd_ep_id_t ep) |
| Callback called when metadata is sent. More...
|
|
static bool | udi_phdc_wait_preamplemsg (void) |
| This function requests a preample message. More...
|
|
static void | udi_phdc_received_preample (udd_ep_status_t status, iram_size_t nb_received, udd_ep_id_t ep) |
| Callback called when metadata is received. More...
|
|
static bool | udi_phdc_wait_metadata (uint8_t bNumTransfers) |
| This function request metadata. More...
|
|
static void | udi_phdc_received_metadata (udd_ep_status_t status, iram_size_t nb_received, udd_ep_id_t ep) |
| Callback called when metadata is received. More...
|
|
static void | udi_phdc_abort_all_transfers_ongoing (void) |
| Aborts all PHDC transfers on-going or pending. More...
|
|