/* This API initializes the auxiliary interface to access auxiliary sensor.  */
uint16_t bma4_aux_interface_init(struct bma4_dev *dev)
/* This API initializes the auxiliary interface to access auxiliary sensor.  */
uint16_t bma4_aux_interface_init(struct bma4_dev *dev)
{
    uint16_t rslt = BMA4_OK;
    rslt |= bma4_null_pointer_check(dev);
    if (rslt == BMA4_OK) {
        rslt = bma4_set_aux_interface_config(dev);
        if (rslt != BMA4_OK)
            rslt = BMA4_E_AUX_CONFIG_FAIL;
    }
    return rslt;
}