UsbHostController Class
Namespace: GHIElectronics.TinyCLR.Devices.UsbHost · Assembly: GHIElectronics.TinyCLR.Devices.UsbHost
No description available.
public class UsbHostController : IDisposable
Properties
Provider
public IUsbHostControllerProvider Provider { get; }
The low-level provider backing this controller. (inherited)
Methods
GetDefault()
public static UsbHostController GetDefault()
Returns the default watchdog for this device. (inherited)
Returns UsbHostController
FromName(string name)
public static UsbHostController FromName(string name)
Returns a watchdog identified by its native API name. (inherited)
| Parameter | Type | Description |
|---|---|---|
name | string |
Returns UsbHostController
FromProvider(IUsbHostControllerProvider provider)
public static UsbHostController FromProvider(IUsbHostControllerProvider provider)
Creates a controller from a custom IWatchdogControllerProvider. (inherited)
| Parameter | Type | Description |
|---|---|---|
provider | IUsbHostControllerProvider |
Returns UsbHostController
Dispose()
public void Dispose()
Releases buffered memory (the unmanaged firmware/application buffers). (inherited)
Enable()
public void Enable()
Re-enables interrupts after a matching Disable. (inherited)
Disable()
public void Disable()
Disables interrupts on the current core. Always pair with Enable. (inherited)
GetConnectedDevices()
public static BaseDevice[] GetConnectedDevices()
No description available.
Returns BaseDevice[]
Events
OnConnectionChangedEvent
public event OnConnectionChanged OnConnectionChangedEvent
No description available.