文件名称:WINCE_Driver
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:8.44kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.