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

  if ( LPS22HB_io_write( handle, RegAddr, Data, NumByteToWrite ) )
    return LPS22HB_ERROR;
  else
    return LPS22HB_OK;
}
/*******************************************************************************
* Function Name   : LPS22HB_write_reg
* Description   : Generic Writing function. It must be fullfilled with either
*         : I2C or SPI writing function
* Input       : Register Address, Data to be written
* Output      : None
* Return      : None
*******************************************************************************/
Function Name   : LPS22HB_write_reg
Description   : Generic Writing function. It must be fullfilled with either
: I2C or SPI writing function
Input       : Register Address, Data to be written
Output      : None
Return      : None
Function Name : LPS22HB_write_reg Description : Generic Writing function . It must be fullfilled with either : I2C or SPI writing function Input : Register Address Data to be written Output : None Return : None
LPS22HB_Error_et LPS22HB_write_reg( void *handle, uint8_t RegAddr, uint16_t NumByteToWrite, uint8_t *Data )
{
  if ( LPS22HB_io_write( handle, RegAddr, Data, NumByteToWrite ) )
    return LPS22HB_ERROR;
  else
    return LPS22HB_OK;
}
LPS22HB_Error_et LPS22HB_write_reg ( void * handle , uint8_t RegAddr , uint16_t NumByteToWrite , uint8_t * Data ) { if ( LPS22HB_io_write ( handle , RegAddr , Data , NumByteToWrite ) ) return LPS22HB_ERROR ; else return LPS22HB_OK ; }
Function Name   : LPS22HB_write_reg
Description   : Generic Writing function.
Function Name : LPS22HB_write_reg Description : Generic Writing function .