Ak8963I2cBase Class

Definition

Abstract class for AK8963 the I2C interface. This sensor can be found as a sub I2C sensor like in the MPU9250. The access is done thru another I2C device and the core I2C primitive are different. Use those 3 primitive to define the access to read and write bytes to the AK8963

public abstract class Ak8963I2cBase
type Ak8963I2cBase = class
Public MustInherit Class Ak8963I2cBase
Inheritance
Ak8963I2cBase
Derived

Constructors

Ak8963I2cBase()

Methods

ReadByte(I2cDevice, Byte)

Read a byte on a specific register

ReadBytes(I2cDevice, Byte, Span<Byte>)

Read bytes on a specific AK8963 register

WriteRegister(I2cDevice, Byte, Byte)

Write a register of the AK8963

Applies to