Exemple #1
0
void REC80_Stop(void)
{
	if(ir.actcmd != 0x00000000)
	{
waitend:
		if(ir.state != REC80_IDLE)
			goto waitend;
	}
	ir.actcmd = 0x00000000;
	stopIR();
}
Exemple #2
0
void SIRC_Stop(void)
{
	if(ir_actcmd != 0x00000000)
	{
waitend:
		if(ir_state != SIRC_IDLE)
			goto waitend;
	}
	ir_actcmd = 0x0000;
	stopIR();
}
Exemple #3
0
void RC5_Stop(void)
{
	if((ir_actcmd != 0x0000) && (ir_actcmd != 0x1000))
	{
waitend:
		if(ir_state != RC5_IDLE)
			goto waitend;
	}

	ir_toggle++;
	ir_actcmd = 0x0000;
	stopIR();
}
Exemple #4
0
void RC6_Stop(void)
{
    if(ir.actcmd != 0x00000000)
	{
waitend:
		if(ir.state != RC6_IDLE)
			goto waitend;
	}

	ir.toggle++;
	ir.actcmd = 0x0000;
	stopIR();
}
Exemple #5
0
void NRC17_Stop(void)
{
	if(ir_actcmd != 0x0000)
	{
retry:
		if(ir_state == NRC17_IDLE)
		{
			ir_cmd = ir_startstop;
			ir_state++;
		}
		else
			goto retry;
	
waitend:
		if(ir_state != NRC17_IDLE)
			goto waitend;
	}
	ir_actcmd = 0x0000;
	stopIR();
}