SimpleFOClibrary 2.4.0
Loading...
Searching...
No Matches
MagneticSensorI2C.cpp File Reference
Include dependency graph for MagneticSensorI2C.cpp:

Go to the source code of this file.

Variables

MagneticSensorI2CConfig_s AS5600_I2C
 
MagneticSensorI2CConfig_s AS5048_I2C
 
MagneticSensorI2CConfig_s MT6701_I2C
 

Variable Documentation

◆ AS5048_I2C

Initial value:
= {
.chip_address = 0x40,
.bit_resolution = 14,
.angle_register = 0xFE,
.msb_mask = 0xFF,
.msb_shift = 6,
.lsb_mask = 0x3F,
.lsb_shift = 0
}

Typical configuration for the 12bit AMS AS5048 magnetic sensor over I2C interface

Definition at line 15 of file MagneticSensorI2C.cpp.

◆ AS5600_I2C

Initial value:
= {
.chip_address = 0x36,
.bit_resolution = 12,
.angle_register = 0x0C,
.msb_mask = 0x0F,
.msb_shift = 8,
.lsb_mask = 0xFF,
.lsb_shift = 0
}

Typical configuration for the 12bit AMS AS5600 magnetic sensor over I2C interface

Definition at line 4 of file MagneticSensorI2C.cpp.

◆ MT6701_I2C

Initial value:
= {
.chip_address = 0x06,
.bit_resolution = 14,
.angle_register = 0x03,
.msb_mask = 0xFF,
.msb_shift = 6,
.lsb_mask = 0xFC,
.lsb_shift = 2
}

Typical configuration for the 12bit MT6701 magnetic sensor over I2C interface

Definition at line 26 of file MagneticSensorI2C.cpp.