RD33993(0X00,0X00,0X00); RD33993(0X00,0X00,0X00);
然后按下面说明对应引脚即可
SP_status.Byte=SP_status.Byte<<2; SP_status.Bit.BIT0=SGh_status.Bit.BIT6; SP_status.Bit.BIT1=SGh_status.Bit.BIT7; SGh_status.Bit.BIT6=0; SGh_status.Bit.BIT7=0; //SP_status: SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0 //SGh_status: NC NC SG13 SG12 SG11 SG10 SG9 SG8 //SGl_status: SG7 SG6 SG5 SG4 SG3 SG2 SG1
这是我得MC33993程序,供大家参考
有不足之处请大侠指点
[此贴子已经被作者于2006-7-3 16:38:29编辑过] |