bma456.c
/*!
 *	@brief This API reads the bma456 interrupt status from the sensor.
 */
@brief This API reads the bma456 interrupt status from the sensor.
@brief This API reads the bma456 interrupt status from the sensor .
uint16_t bma456_read_int_status(uint16_t *int_status, struct bma4_dev *dev)
{
	uint16_t rslt = BMA4_OK;
	if (dev != NULL) {
		if (dev->chip_id == BMA456_CHIP_ID) {
			rslt = bma4_read_int_status(int_status, dev);
		} else {
			rslt = BMA4_E_INVALID_SENSOR;
		}
	} else {
		rslt = BMA4_E_NULL_PTR;
	}
	return rslt;
}
uint16_t bma456_read_int_status ( uint16_t * int_status , struct bma4_dev * dev ) { uint16_t rslt = BMA4_OK ; if ( dev != NULL ) { if ( dev -> chip_id == BMA456_CHIP_ID ) { rslt = bma4_read_int_status ( int_status , dev ) ; } else { rslt = BMA4_E_INVALID_SENSOR ; } } else { rslt = BMA4_E_NULL_PTR ; } return rslt ; }
@brief This API reads the bma456 interrupt status from the sensor.
@brief This API reads the bma456 interrupt status from the sensor .
/* Read the interrupt status */