/* Handle complete IN transfer on EP0. 
In IN_DATA state it starts a receive and switches to OUT_STATUS state. In IN_STATUS state its starts a new read of setup packets and switches to IDLE.  */
void USBD_HandleEP0_IN()
/* Handle complete IN transfer on EP0. 
In IN_DATA state it starts a receive and switches to OUT_STATUS state. In IN_STATUS state its starts a new read of setup packets and switches to IDLE.  */
void USBD_HandleEP0_IN()
{
		device.Driver->EndpointReadStart(0,0);
		device.EP0_State = OUT_STATUS;
	}
	if (device.EP0_State == IN_STATUS) {
		device.Driver->EndpointReadStart(device.Endpoints[0].Address,24);
		device.EP0_State = IDLE;
	}
}