发表于:2003-11-20 13:38:00
楼主
我自己写acl-8316的驱动,i/0 addres is 0x220,IRQ is 10
采用板上的计数器产生的中断
初识设置
_outp(0x220+11,0xf2);//interal pacer trigger
_outp(0x220+12,0xf2);//interal pacer interrupt
_outp(0x220+3,0x74);// set timer1
_outp(0x220+1,0x02);
_outp(0x220+1,0x00);
_outp(0x220+3,0xb4);//set timer2
_outp(0x220+2,0x64);
_outp(0x220+2,0x00);
但中断总不响应,为什么?王各位大虾相告,