文件名称:WINCE_Driver
- 所属分类:
- Windows CE
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- ch***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
WINCE添加驱动程序,目的为响应S3C2410的EINT7中断,使用了rGB2作为LED状态输出
1.Kernel\Hal\cfw.c
OEMInitInterrupts()使能EINT7、LED(Output)、触发方式
2.Inc\oalintr.h(Inc\oalintr.inc)
增加:#define SYSINTR_BEEP (SYSINTR_FIRMWARE+19)
修改:
_inline DWORD MapIrq2SysIntr(DWORD _Irq)
{
if( _Irq<=18 )// 这里18改为19
return ( SYSINTR_FIRMWARE + _Irq )
else
return (0xffffffff)
}
-WINCE add drivers, the purpose of the EINT7 S3C2410 interrupt response, the use of the rGB2 as LED status output 1.Kernel \ Hal \ cfw.c OEMInitInterrupts () enabled EINT7, LED (Output), trigger 2.Inc \ oalintr.h (Inc \ oalintr.inc) added:# define SYSINTR_BEEP (SYSINTR_FIRMWARE+19) modified: _inline DWORD MapIrq2SysIntr (DWORD _Irq) {if (_Irq < = 18)// here 18 to 19 return (SYSINTR_FIRMWARE+ _Irq) else return (0xffffffff) }
1.Kernel\Hal\cfw.c
OEMInitInterrupts()使能EINT7、LED(Output)、触发方式
2.Inc\oalintr.h(Inc\oalintr.inc)
增加:#define SYSINTR_BEEP (SYSINTR_FIRMWARE+19)
修改:
_inline DWORD MapIrq2SysIntr(DWORD _Irq)
{
if( _Irq<=18 )// 这里18改为19
return ( SYSINTR_FIRMWARE + _Irq )
else
return (0xffffffff)
}
-WINCE add drivers, the purpose of the EINT7 S3C2410 interrupt response, the use of the rGB2 as LED status output 1.Kernel \ Hal \ cfw.c OEMInitInterrupts () enabled EINT7, LED (Output), trigger 2.Inc \ oalintr.h (Inc \ oalintr.inc) added:# define SYSINTR_BEEP (SYSINTR_FIRMWARE+19) modified: _inline DWORD MapIrq2SysIntr (DWORD _Irq) {if (_Irq < = 18)// here 18 to 19 return (SYSINTR_FIRMWARE+ _Irq) else return (0xffffffff) }
(系统自动生成,下载前可以参看下载内容)
下载文件列表
WINCE_Driver.doc