Demo entry 6623367

USBH_Init

   

Submitted by think3r on Jun 07, 2017 at 15:14
Language: C. Code size: 285 Bytes.

	USBH_Init(&USB_OTG_Core, 
	#ifdef USE_USB_OTG_FS  
				USB_OTG_FS_CORE_ID,
	#else 
				USB_OTG_HS_CORE_ID,
	#endif 
				&USB_Host,
				&USBH_MSC_cb, 
				&USR_cb);

	for(i = 0; i<130;i++)
	{
		USBH_Process(&USB_OTG_Core, &USB_Host);
		delay_ms(10);
		led1 = !led1;
	}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).