标签:blog class code ext http 2014
#define PORT_G0 PA1_IN//过零扫描io
if(PORT_G0!=G0_lvl0) //过零扫描
{
Nop(10);
if(PORT_G0!=G0_lvl0)
{
G0_lvl0=PORT_G0;
T_250us_pump=0;
PowerPump=0;
if(G0_lvl0)
{
//过零上升沿
}
else
{
//过零下降沿
}
}
} 标签:blog class code ext http 2014
原文地址:http://blog.csdn.net/chuangwu2009/article/details/25124967