Synopsis
CTL_MAGNETOMETER_t *platform_configure_builtin_magnetometer(void);
Description

platform_configure_builtin_magnetometer configures the platform's built-in magnetometer, if there is one. If there is no built-in magnetometer available, or the resources (SPI bus, I2C bus etc.) are not available to support the magnetometer, platform_configure_builtin_magnetometer returns zero.