Skip to main content

Crate bmm350

Crate bmm350 

Source

Modules§

device
BMM350 driver for Rust

Structs§

Bmm350
Main struct representing the BMM350 device
MagCompensation
MagConfig
Configuration for the magnetometer
MagConfigBuilder
Register
BMM350 register addresses and constant values
Sensor3DData
3D sensor data (raw values)
Sensor3DDataScaled
Scaled 3D sensor data

Enums§

AverageNum
AxisEnableDisable
Bandwidth
CtrlUser
DataRate
Error
Possible errors that can occur when interacting with the BMM350
I2cWdtEnable
I2cWdtSelect
InterruptDrive
InterruptEnableDisable
InterruptLatch
InterruptMap
InterruptPolarity
PerformanceMode
PowerMode
Magnetometer power modes
SelfTestMode

Constants§

GRAVITY
Standard gravity in m/s^2