@NoOffset public static class BoardConfig.GPIO extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
BoardConfig.GPIO.Direction |
static class |
BoardConfig.GPIO.Drive
Drive strength in mA (2, 4, 8 and 12mA)
|
static class |
BoardConfig.GPIO.Level |
static class |
BoardConfig.GPIO.Mode |
static class |
BoardConfig.GPIO.Pull |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
GPIO() |
GPIO(BoardConfig.GPIO.Direction direction) |
GPIO(BoardConfig.GPIO.Direction direction,
BoardConfig.GPIO.Level level) |
GPIO(BoardConfig.GPIO.Direction direction,
BoardConfig.GPIO.Level level,
BoardConfig.GPIO.Pull pull) |
GPIO(BoardConfig.GPIO.Direction direction,
BoardConfig.GPIO.Mode mode) |
GPIO(BoardConfig.GPIO.Direction direction,
BoardConfig.GPIO.Mode mode,
BoardConfig.GPIO.Pull pull) |
GPIO(byte direction) |
GPIO(byte direction,
byte level) |
GPIO(byte direction,
byte level,
byte pull) |
GPIO(long size)
Native array allocator.
|
GPIO(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BoardConfig.GPIO.Direction |
direction() |
BoardConfig.GPIO |
direction(BoardConfig.GPIO.Direction setter) |
BoardConfig.GPIO.Drive |
drive() |
BoardConfig.GPIO |
drive(BoardConfig.GPIO.Drive setter) |
BoardConfig.GPIO |
getPointer(long i) |
BoardConfig.GPIO.Level |
level() |
BoardConfig.GPIO |
level(BoardConfig.GPIO.Level setter) |
BoardConfig.GPIO.Mode |
mode() |
BoardConfig.GPIO |
mode(BoardConfig.GPIO.Mode setter) |
BoardConfig.GPIO |
position(long position) |
BoardConfig.GPIO.Pull |
pull() |
BoardConfig.GPIO |
pull(BoardConfig.GPIO.Pull setter) |
boolean |
schmitt() |
BoardConfig.GPIO |
schmitt(boolean setter) |
boolean |
slewFast() |
BoardConfig.GPIO |
slewFast(boolean 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 GPIO(Pointer p)
Pointer(Pointer).public GPIO(long size)
Pointer.position(long).public GPIO()
public GPIO(BoardConfig.GPIO.Direction direction)
public GPIO(BoardConfig.GPIO.Direction direction, BoardConfig.GPIO.Level level)
public GPIO(@Cast(value="dai::BoardConfig::GPIO::Direction") byte direction, @Cast(value="dai::BoardConfig::GPIO::Level") byte level)
public GPIO(BoardConfig.GPIO.Direction direction, BoardConfig.GPIO.Level level, BoardConfig.GPIO.Pull pull)
public GPIO(@Cast(value="dai::BoardConfig::GPIO::Direction") byte direction, @Cast(value="dai::BoardConfig::GPIO::Level") byte level, @Cast(value="dai::BoardConfig::GPIO::Pull") byte pull)
public GPIO(BoardConfig.GPIO.Direction direction, BoardConfig.GPIO.Mode mode)
public GPIO(BoardConfig.GPIO.Direction direction, BoardConfig.GPIO.Mode mode, BoardConfig.GPIO.Pull pull)
public BoardConfig.GPIO position(long position)
public BoardConfig.GPIO getPointer(long i)
getPointer in class Pointerpublic BoardConfig.GPIO.Mode mode()
public BoardConfig.GPIO mode(BoardConfig.GPIO.Mode setter)
public BoardConfig.GPIO.Direction direction()
public BoardConfig.GPIO direction(BoardConfig.GPIO.Direction setter)
public BoardConfig.GPIO.Level level()
public BoardConfig.GPIO level(BoardConfig.GPIO.Level setter)
public BoardConfig.GPIO.Pull pull()
public BoardConfig.GPIO pull(BoardConfig.GPIO.Pull setter)
public BoardConfig.GPIO.Drive drive()
public BoardConfig.GPIO drive(BoardConfig.GPIO.Drive setter)
public BoardConfig.GPIO schmitt(boolean setter)
public BoardConfig.GPIO slewFast(boolean setter)
Copyright © 2023. All rights reserved.