CTL_STATUS_t bma150_soft_reset(CTL_ACCELEROMETER_t *self);

bma150_soft_reset performs a soft reset of the sensor self.

Return Value

bma150_soft_reset returns a standard status code.

Thread Safety

bma150_soft_reset is thread-safe if the transport member in self is thread-safe. Typically, for SPI and I2C transports, you ensure thread safety by associating a mutex with the bus used by the transport.