SimpleFOClibrary  2.1
MagneticSensorI2C.cpp File Reference

Go to the source code of this file.

Variables

MagneticSensorI2CConfig_s AS5600_I2C
 
MagneticSensorI2CConfig_s AS5048_I2C
 

Variable Documentation

◆ AS5048_I2C

Initial value:
= {
.chip_address = 0x40,
.bit_resolution = 14,
.angle_register = 0xFE,
.data_start_bit = 15
}

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

Definition at line 12 of file MagneticSensorI2C.cpp.

◆ AS5600_I2C

Initial value:
= {
.chip_address = 0x36,
.bit_resolution = 12,
.angle_register = 0x0E,
.data_start_bit = 11
}

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

Definition at line 4 of file MagneticSensorI2C.cpp.