Edit

Share via


Bmm150I2cBase Class

Definition

Abstract class for Bmm150 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 Bmm150

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

Constructors

Bmm150I2cBase()

Methods

ReadByte(I2cDevice, Byte)

Read a byte on a specific register

ReadBytes(I2cDevice, Byte, Span<Byte>)

Read bytes on a specific Bmm150 register

WriteRegister(I2cDevice, Byte, Byte)

Write a register of the Bmm150

Applies to