예제 #1
0
void rt5025_power_off(void)
{
	rt5025_reg_write(g_shdn, RT5025_CHENH_REG, 0x00);
	rt5025_reg_write(g_shdn, RT5025_CHENL_REG, 0x80);
	rt5025_set_bits(g_shdn, RT5025_SHDNCTRL_REG, RT5025_SHDNCTRL_MASK);
}
static void rt5025_power_off(void)
{
	rt5025_reg_write(g_shdn, RT5025_REG_CHANNELH, 0x00);
	rt5025_reg_write(g_shdn, RT5025_REG_CHANNELL, 0x80);
	rt5025_set_bits(g_shdn, RT5025_REG_MISC3, RT5025_SHDNCTRL_MASK);
}