Ak8963I2cBase.ReadBytes(I2cDevice, Byte, Span<Byte>) Method

Definition

Read bytes on a specific AK8963 register

public abstract void ReadBytes (System.Device.I2c.I2cDevice i2CDevice, byte reg, Span<byte> readBytes);
abstract member ReadBytes : System.Device.I2c.I2cDevice * byte * Span<byte> -> unit
Public MustOverride Sub ReadBytes (i2CDevice As I2cDevice, reg As Byte, readBytes As Span(Of Byte))

Parameters

i2CDevice
I2cDevice

I2C device

reg
Byte

The register to read

readBytes
Span<Byte>

Span of byte to store the data read

Applies to