40 #ifdef X_NUCLEO_IKS01A1
42 #include "lib/sensors.h"
46 static int _active = 1;
77 volatile st_lib_axes_raw_typedef axes_raw_data;
84 st_lib_bsp_magneto_m_get_axes_raw(&axes_raw_data);
88 ret_val = axes_raw_data.AXIS_X;
91 ret_val = axes_raw_data.AXIS_Y;
94 ret_val = axes_raw_data.AXIS_Z;
104 configure(
int type,
int value)
107 case SENSORS_HW_INIT:
133 SENSORS_SENSOR(magneto_sensor, MAGNETO_SENSOR, value, configure, status);
Header file for the STM32Cube HAL APIs.
Header file for the stm32nucleo-spirit1 Magneto Sensor Driver.