On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
RTUSB-32 Programming Manual
RTUSB-32 Reference Manual
Introduction
Initialization
Device Query
Device Configuration
Pipe I/O
Message Queues
Keyboard Class Driver
Mouse Class Driver
Touch Screen Driver
Printer Class Driver
Mass Storage Class Driver
AX772 USB-Ethernet Driver
Function USBAX772
Function USBAX772Init
Function USBAX772Status
Function USBAX772SendFrame
Function USBAX772AcceptMulticastList
AX172 USB-Ethernet Driver
CDC ECM USB-Ethernet Driver
Audio Class Driver
Media Transfer Protocol Class Driver
RTUSB-32 Error Codes and Diagnostics
|
Function USBAX772Status
USBAX772Status can be used to query the status of an interface:
int USBAX772Status(int DeviceIndex);
ParametersDeviceIndexZero-based index of the AX772 interface.
return valueOne of the values given below or a negative error code on failure. Code RTU_DISCONNECTED means that no AX772/AX178 device is currently connected on the given index.
If an AX772/AX178 device is present on the interface, one of the following values will be returned:
Value |
Meaning |
USB_AX_10_HALF |
The device is connected at 10Mbs, half duplex mode |
USB_AX_10_FULL |
The device is connected at 10Mbs, full duplex mode |
USB_AX_100_HALF |
The device is connected at 100Mbs, half duplex mode |
USB_AX_100_FULL |
The device is connected at 100Mbs, full duplex mode |
USB_AX_1000_HALF |
The device is connected at 1000Mbs, half duplex mode |
USB_AX_1000_FULL |
The device is connected at 1000Mbs, full duplex mode |
USB_AX_UNKNOWN |
The device is present, but no media mode has been established yet |
Function USBAX772Init
Function USBAX772SendFrame
|