I2C.Adapter Class (console safe)
Class for I2C bus adapter.
Object
Adapter
class I2C.Adapter
Constructors
Adapter (console safe) | Private constructor. |
Methods
Close (console safe) | Closes the bus. |
shared Open | Attempts to Open the I2C bus. |
ProcessBlockCall (console safe) | Runs an SMBus “Block write, block read process call” transaction, using string. |
ProcessCall (console safe) | Runs an SMBus “Process call” transaction. |
ProcessMemoryBlockCall (console safe) | Runs an SMBus “Block write, block read process call” transaction, using MemoryBlock. |
ReadBlock (console safe) | Runs an SMBus “Block read” transaction, using string.
|
ReadByte (console safe) | Runs an SMBus “Read byte” transaction. |
ReadBytes (console safe) | Reads number of bytes bytes returning them as array of UInt8. |
ReadFunctionality (console safe) | Reads the capabilities of the I2C bus. |
ReadMemoryBlock (console safe) | Runs an SMBus “Block read” transaction, using MemoryBlock.
|
ReadWord (console safe) | Runs an SMBus “Read word” transaction. |
ReceiveByte (console safe) | Runs an SMBus “Receive byte” transaction. |
Scan (console safe) | Scans the I2C bus, returning array of found devices. |
SendByte (console safe) | Runs an SMBus “Send byte” transaction. |
SetAddress (console safe) | Sets address of device to communicate with. |
WriteBlock (console safe) | Runs an SMBus “Block write” transaction, using string. |
WriteByte (console safe) | Runs an SMBus “Write byte” transaction. |
WriteMemoryBlock (console safe) | Runs an SMBus “Block write” transaction, using memory block, |
WriteQuick (console safe) | Run as SMBus “Quick command” transaction. |
WriteWord (console safe) | Runs an SMBus “Write word” transaction. |
Supported Platforms:
Linux ARM 32 bitLinux ARM 64 bitUnsupported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bit