USBD_DevStop

USBD_DevStop

Description

Stops device. This function disconnects the device from the USB host.

Files

usbd_core.h/usbd_core.c

Prototype

void USBD_DevStop (CPU_INT08U dev_nbr, USBD_ERR *p_err);

 

Arguments

dev_nbr

Device number.

p_err

Pointer to variable that will receive the return error code from this function.

USBD_ERR_NONE

USBD_ERR_DEV_INVALID_NBR

USBD_ERR_DEV_INVALID_STATE

Returned Value

None.

Callers

Application.

Notes / Warnings

None.