Lock the write bulk pipe.
usbd_phdc_os.h / usbd_phdc_os.c
void USBD_PHDC_OS_WrBulkLock (CPU_INT08U class_nbr, CPU_INT08U prio, CPU_INT16U timeout, USBD_ERR *p_err); |
class_nbr
PHDC instance number.
prio
Priority of the transfer. This value is between 0 and 4 and is computed in function of the transfer’s QoS by the caller.
timeout
Timeout.
p_err
Pointer to variable that will receive the return error code from this function.
None.
Personal Healthcare Device Class.
p_err
argument should be assigned as described in Table - Error Code Assignment in Function of Lock Operation Result.