Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Associates a configuration with its other-speed counterpart.

Files

usbd_core.h/usbd_core.c

Prototype

Arguments

dev_nbr

Device number.

cfg_nbr

Configuration number.

cfg_other

Other-speed configuration 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
USBD_ERR_CFG_INVALID_NBR

Returned Value

None,

Callers

Application.

Notes / Warnings

  1. Configurations from high- and full-speed can be associated with each other to provide comparable functionality regardless of speed.

  2. Configuration can only be added when the device is in either the USBD_DEV_STATE_NONE or USB_DEV_STATE_INIT states.
  • No labels