/* Clock-gated I2C clock domain for address matching interrupts wake up.  */
void USI_I2C_Sleep_Cmd(USI_TypeDef *USIx, u32 NewStatus)
/* Clock-gated I2C clock domain for address matching interrupts wake up.  */
void USI_I2C_Sleep_Cmd(USI_TypeDef *USIx, u32 NewStatus)
{
	assert_param(IS_USI_I2C_ALL_PERIPH(USIx));
	if (NewStatus != DISABLE) {
		USI_I2C_INTConfig(USIx, USI_I2C_LP_WAKE_INTER_EN, ENABLE);
		USIx->I2C_DIG_FILTER &= ~ USI_I2C_DIG_FLTR_SEL;
		USIx->I2C_CTRL &= ~(USI_I2C_SLV_DISABLE);
		USIx->I2C_ENABLE |= USI_I2C_SLEEP;
	} else {
		USI_I2C_INTConfig(USIx, USI_I2C_LP_WAKE_INTER_EN, DISABLE);
		USIx->I2C_DIG_FILTER |=  USI_I2C_DIG_FLTR_SEL; 
		USIx->I2C_ENABLE &= ~USI_I2C_SLEEP;
	}
}