Defines for device state coding.
#define DEVICE_ADDRESSED 6 |
Referenced by usb_host_task().
#define DEVICE_ATTACHED 3 |
Referenced by usb_host_task().
#define DEVICE_CONFIGURED 7 |
Referenced by usb_host_task().
#define DEVICE_DEFAULT 5 |
Referenced by usb_host_task().
#define DEVICE_ERROR 9 |
Referenced by host_mass_storage_task(), and usb_host_task().
#define DEVICE_POWERED 4 |
Referenced by usb_host_task().
#define DEVICE_READY 8 |
Referenced by usb_host_task().
#define DEVICE_SUSPENDED 10 |
Referenced by usb_host_task().
#define DEVICE_UNATTACHED 2 |
Referenced by usb_host_task(), and usb_host_task_init().
#define DEVICE_UNSUPPORTED 0 |
Referenced by usb_host_task().
#define DEVICE_VBUS_LOW 1 |
Referenced by usb_host_task().
#define DEVICE_WAIT_RESUME 11 |
Referenced by usb_host_task().
#define Host_clear_configured | ( | ) | (Clr_bits(usb_host_device_status, 0x04)) |
Referenced by host_check_class().
#define Host_clear_device_ready | ( | ) | (Clr_bits(usb_host_device_status, 0x02)) |
#define Host_clear_device_status | ( | ) | (usb_host_device_status = 0x00) |
Referenced by usb_host_task(), and usb_host_task_init().
#define Host_clear_device_supported | ( | ) | (Clr_bits(usb_host_device_status, 0x01)) |
#define Host_set_configured | ( | ) | (Set_bits(usb_host_device_status, 0x04)) |
Referenced by host_check_class(), and usb_host_task().
#define Host_set_device_ready | ( | ) | (Set_bits(usb_host_device_status, 0x02)) |
Referenced by host_read_capacity(), and host_test_unit_ready().
#define Host_set_device_supported | ( | ) | (Set_bits(usb_host_device_status, 0x01)) |
Referenced by usb_host_task().
#define Is_host_configured | ( | ) | (Tst_bits(usb_host_device_status, 0x04)) |
Referenced by usb_host_task().
#define Is_host_device_ready | ( | ) | (Tst_bits(usb_host_device_status, 0x02)) |
#define Is_host_device_supported | ( | ) | (Tst_bits(usb_host_device_status, 0x01)) |