Home
last modified time | relevance | path

Searched refs:usb_task_state (Results 1 – 1 of 1) sorted by relevance

/device/google/accessory/arduino/USB_Host_Shield/
DUsb.cpp35 static byte usb_task_state; variable
43 usb_task_state = USB_DETACHED_SUBSTATE_INITIALIZE; //set up state machine in USB()
61 return( usb_task_state ); in getUsbTaskState()
65 usb_task_state = state; in setUsbTaskState()
348 usb_task_state = USB_DETACHED_SUBSTATE_ILLEGAL; in Task()
351 if(( usb_task_state & USB_STATE_MASK ) != USB_STATE_DETACHED ) { in Task()
352 usb_task_state = USB_DETACHED_SUBSTATE_INITIALIZE; in Task()
357 if(( usb_task_state & USB_STATE_MASK ) == USB_STATE_DETACHED ) { in Task()
359 usb_task_state = USB_ATTACHED_SUBSTATE_SETTLE; in Task()
365 switch( usb_task_state ) { in Task()
[all …]