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