/* Read BMA180 device ID and revision numbers. 
This function reads the accelerometer hardware identification registers and returns these values in the specified data structure. */
static bool bma180_device_id(sensor_hal_t *hal, sensor_data_t *data)
/* Read BMA180 device ID and revision numbers. 
This function reads the accelerometer hardware identification registers and returns these values in the specified data structure. */
static bool bma180_device_id(sensor_hal_t *hal, sensor_data_t *data)
{
	data->device.id = sensor_bus_get(hal, BMA180_CHIP_ID);
	data->device.version = sensor_bus_get(hal, BMA180_CHIP_VERSION);
	return true;
}