CTL_STATUS_t bma250_read_chip_id(CTL_ACCELEROMETER_t *self);
bma250_read_chip_id reads the chip ID register of the BMA250 accelerometer self.
bma250_read_chip_id returns an extended status code: non-negative values indicate a successful read, and value, of the chip ID.
bma250_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.