阅读:949回复:0
请教一个DS做的d12驱动具体问题?
我用DS做的关于philips d12 smart borad驱动程序中,
我board上的LED:d2,d3闪亮是不是用中断控制? 但我在利用ds生成的test程序读写io时,LED却没有任何反应。 dos下: C:\\d12\\exe\\objchk\\i386\\test_d12 i 0 时 返回的语言是: test application test_d12 starting...... device found ,handle open. issuing Ioctl to device_Error :Deviceioctrol returns 57,exiting 这是什么原因?哪位大侠能予以指点(我是USB的新手) 另外d12 上有两个LED灯,是不是要给两个地址来确定两个灯。 那么如何使这两个灯区别响应。 在ds里面我使用的是两个LED control code 一个code是0, 另一个是1。 在测试程序里test_d12 i n 这里n是不是指的code index(0 or 1)? |
|