/* Read BMA150 acceleration 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 bma150_get_accel(sensor_hal_t *hal, sensor_data_t *data)
/* Read BMA150 acceleration 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 bma150_get_accel(sensor_hal_t *hal, sensor_data_t *data)
{
	size_t const count = sensor_bus_read(hal, hal->burst_addr,
			event_regs.acc, sizeof(event_regs.acc));
	format_axis_data(hal, event_regs.acc, data);
	return (count == sizeof(event_regs.acc));
}