/* Read accelerometer vector data. 
Along with the actual sensor data, the LSB byte contains a "new" flag indicating if the data for this axis has been updated since the last time the axis data was read. Reading either LSB or MSB data will clear this flag. */
static bool bma020_get_accel(sensor_hal_t *hal, sensor_data_t *data)
/* Read accelerometer vector data. 
Along with the actual sensor data, the LSB byte contains a "new" flag indicating if the data for this axis has been updated since the last time the axis data was read. Reading either LSB or MSB data will clear this flag. */
static bool bma020_get_accel(sensor_hal_t *hal, sensor_data_t *data)
{
	bma_axis_t axis [3];
	size_t const count = sensor_bus_read(hal, hal->burst_addr,
			axis, sizeof(axis));
	format_axis_data(hal, axis, data);
	return (count == sizeof(axis));
}