예제 #1
0
void EVENT_USB_Device_ConfigurationChanged(void){
    CDC_Device_ConfigureEndpoints(&VirtualSerial_CDC_Interface);
}
예제 #2
0
파일: USBtoSerial.c 프로젝트: ldarlok/LCS
void EVENT_USB_Device_ConfigurationChanged(void) /** Event handler for the library USB Configuration Changed event. */
{
	bool ConfigSuccess = true;
	ConfigSuccess &= CDC_Device_ConfigureEndpoints(&VirtualSerial_CDC_Interface);
	LEDs_SetAllLEDs(ConfigSuccess ? LEDMASK_USB_READY : LEDMASK_USB_ERROR);
}
예제 #3
0
/** Event handler for the library USB Configuration Changed event. */
void EVENT_USB_Device_ConfigurationChanged(void)
{
  bool ConfigSuccess = true;

  ConfigSuccess &= CDC_Device_ConfigureEndpoints(&tpad_CDC_Interface);
}
예제 #4
0
void EVENT_USB_DEVICE_ConfigureEndpoints(void)
{
    CDC_Device_ConfigureEndpoints(&CDC_interface);
}
예제 #5
0
파일: main.c 프로젝트: drrk/minimus-weigand
/** Event handler for the library USB Configuration Changed event. */
void EVENT_USB_Device_ConfigurationChanged(void)
{
	bool success = true;

	success &= CDC_Device_ConfigureEndpoints(&VirtualSerial_CDC_Interface);
}