/* Read accelerometer device ID and revision numbers. 
This function reads the accelerometer hardware identification registers and returns these values to the addresses specified in the function parameters. */
static bool kxtf9_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 to the addresses specified in the function parameters. */
static bool kxtf9_device_id(sensor_hal_t *hal, sensor_data_t *data)
{
	data->device.id = (uint32_t)sensor_bus_get(hal, KXTF9_WHO_AM_I);
	data->device.version = 0;
	return true;
}