Platform-independent drivers for STMicroelectronics MEMS motion and environmental sensors, based on standard C programming language, are available in source code in the STMicroelectronics public GitHub repository.
The repository contains drivers and examples for STMicroelectronics MEMS sensors.
The sensor drivers and examples are listed by part number. The sensor drivers support SPI and I²C interfaces.
Integration details are available in the README section of the GitHub repository.
Standard C platform-independent drivers
SPI and I²C interfaces supported
Available in the STMicroelectronics public GitHub repository