4.4.3.2.2 ActiveAlternateSettingSet()

RETURN_CODE_t ActiveAlternateSettingSet (uint8_t interfaceNumber, uint8_t alternateSetting)

Set the active alternate interface number for an interface.

Parameters:
interfaceNumber

- The interface number to set the alternate setting for

alternateSetting

- The alternate setting to set

Returns:

SUCCESS or an Error code according to RETURN_CODE_t