https://github.com/adafruit/Adafruit_CircuitPython_LIS3MDL/blob/293dc0f58e8688f6aab7b76b3b19e165dfc1a81c/adafruit_lis3mdl.py#L37