LPS22HB/LPS22HB_driver.c
LPS22HB_Error_et LPS22HB_read_reg( void *handle, uint8_t RegAddr, uint16_t NumByteToRead, uint8_t *Data )
{

  if ( LPS22HB_io_read( handle, RegAddr, Data, NumByteToRead ) )
    return LPS22HB_ERROR;
  else
    return LPS22HB_OK;
}
/*******************************************************************************
* Function Name   : LPS22HB_read_reg
* Description   : Generic Reading function. It must be fullfilled with either
*         : I2C or SPI reading functions
* Input       : Register Address
* Output      : Data Read
* Return      : None
*******************************************************************************/
Function Name   : LPS22HB_read_reg
Description   : Generic Reading function. It must be fullfilled with either
: I2C or SPI reading functions
Input       : Register Address
Output      : Data Read
Return      : None
Function Name : LPS22HB_read_reg Description : Generic Reading function . It must be fullfilled with either : I2C or SPI reading functions Input : Register Address Output : Data Read Return : None
LPS22HB_Error_et LPS22HB_read_reg( void *handle, uint8_t RegAddr, uint16_t NumByteToRead, uint8_t *Data )
{
  if ( LPS22HB_io_read( handle, RegAddr, Data, NumByteToRead ) )
    return LPS22HB_ERROR;
  else
    return LPS22HB_OK;
}
LPS22HB_Error_et LPS22HB_read_reg ( void * handle , uint8_t RegAddr , uint16_t NumByteToRead , uint8_t * Data ) { if ( LPS22HB_io_read ( handle , RegAddr , Data , NumByteToRead ) ) return LPS22HB_ERROR ; else return LPS22HB_OK ; }
Function Name   : LPS22HB_read_reg
Description   : Generic Reading function.
Function Name : LPS22HB_read_reg Description : Generic Reading function .