/* Enable or Disable High Pass Filter on CLick.  */
void LSM303DLHC_AccFilterClickCmd(uint8_t HighPassFilterClickState)
/* Enable or Disable High Pass Filter on CLick.  */
void LSM303DLHC_AccFilterClickCmd(uint8_t HighPassFilterClickState)
{
  uint8_t tmpreg;
  LSM303DLHC_Read(ACC_I2C_ADDRESS, LSM303DLHC_CTRL_REG2_A, &tmpreg, 1);
  tmpreg &= 0xFB;
  tmpreg |= HighPassFilterClickState;
  LSM303DLHC_Write(ACC_I2C_ADDRESS, LSM303DLHC_CTRL_REG2_A, &tmpreg);
}