The LIS3MDL is a 3-axis digital magnetic sensor, and it is true that the datasheet primarily focuses on configuring the output data rate (ODR) for the X and Y axes. However, the Z-axis is also configured when you set the ODR for X and Y.The LIS3MDL d...