@Namespace(value="dai::bootloader") @Properties(inherit=depthai.class) public class UsbConfig extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
UsbConfig()
Default native constructor.
|
UsbConfig(long size)
Native array allocator.
|
UsbConfig(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UsbConfig |
getPointer(long i) |
int |
maxUsbSpeed()
UNKNOWN = 0, LOW, FULL, HIGH, SUPER, SUPER_PLUS
|
UsbConfig |
maxUsbSpeed(int setter) |
short |
pid() |
UsbConfig |
pid(short setter) |
UsbConfig |
position(long position) |
int |
timeoutMs()
If timeout < 0 - waits forever
if timeout == 0 - no timeout
if timeout > 0 - waits timeout milliseconds
|
UsbConfig |
timeoutMs(int setter) |
short |
vid()
VID/PID pair used by bootloader
|
UsbConfig |
vid(short setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic UsbConfig()
public UsbConfig(long size)
Pointer.position(long).public UsbConfig(Pointer p)
Pointer(Pointer).public UsbConfig getPointer(long i)
getPointer in class Pointerpublic int timeoutMs()
public UsbConfig timeoutMs(int setter)
public int maxUsbSpeed()
public UsbConfig maxUsbSpeed(int setter)
public UsbConfig vid(short setter)
public UsbConfig pid(short setter)
Copyright © 2023. All rights reserved.