Synopsis
CTL_STATUS_t bma150_read_chip_id(CTL_ACCELEROMETER_t *self);
Description

bma150_read_chip_id reads the chip ID register of the BMA150 accelerometer self.

Return Value

bma150_read_chip_id returns an extended status code: non-negative values indicate a successful read, and value, of the chip ID.

Thread Safety

bma150_read_chip_id 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.