- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
烧写内核的方法(Method for writing kernel)
烧写内核的方法(Method for writing kernel)
Embedded learning - class 12: burn, u-boot, kernel, and file system process (2011-02-19 17:53:33) reprinted label: register interrupt source, development board, file system transplantation, it classification: embedded learning
Interrupted today, see S 3C2400.pdf, fourteenth chapter INTERRUPT CONTROLLER.
Interrupt steps are divided into: 1, save the scene; 2, deal with the interruption; 3, restore the scene. Interrupts are divided into external interrupts and internal interrupts. The external interrupts are caused by pins of the CPU and IC (components), and the internal interrupts are generated by the internal controller of the CPU. The most basic interrupt registers are the PND register and the MASK register.
The MASK register (MASK is not a register true name) each bit bit corresponds to a different interrupt source (a bit bit can correspond to a variety of interrupt sources) and sets whether or not it should ring off the source of the interrupt.
The PND register (PND is not the real register name), each bit bit corresponds to different interrupt sources, and an interrupt source changes its corresponding bit bits.
The interrupt diagram follows:
Interrupt priority, see S3C2400.pdf fourteenth chapter INTERRUPT CONTROLLER P382 P363.
Any CPU, PND register, bit position 1, indicates zero clearing. For related registers and concepts, see the S3C2400.pdf fourteenth chapter. Take your time.
Set the basic steps of the interrupt: (to set the external interrupt of the K1 switch on the ARM board)
1, in the ARM board schematic to find K1 corresponding to the pin identified as EINT8, EINT8 corresponding to the CPU pin is identified as GPG0. The GPG0 is found in the manual, and the corresponding bit is set to 10 (EINT8).
RGPGCON= rGPGCON (~ (30)) | (20);
2, in the manual to find EINT8 corresponding to the external interrupt controller for EXTINT1.
REXTINT1= rEXTINT1 (~ (70)) | (20); / / EINT8 is decreased along the effective
3. Interrupt decla
您可能关注的文档
- 日语语源漫谈(On the Japanese etymology).doc
- 时空之轮中文版攻略下(The wheel of time Chinese version of the Raiders).doc
- 明三关古威(Three Gu Wei Ming).doc
- 明星志愿1攻略及秘籍心得(Star volunteer 1 Raiders and cheats experience).doc
- 明星微博很牛很强大(Star micro-blog is very powerful).doc
- 明星志愿3结局条件一览(Star volunteer 3 outcome conditions list).doc
- 明星衣橱转型c2b个性定制(Star wardrobe transformation C2B personalized customization).doc
- 明星韩红 社会谈论雅安(Star Han Hong society talking about Ya'an).doc
- 明月草(Bright moon grass).doc
- 明朝时代 天工炉配方大全(Recipe for heavenly furnace works in Ming Dynasty).doc
- 烷烃同分异构体书写的程序与技巧(Procedures and techniques for writing alkanes isomers).doc
- 热水器终端导购人员行为举止要求(Water heater terminal shopping guide behavior requirements).doc
- 煤地质学(Coal geology).doc
- 煤层气争夺如何休战(How will the coal-bed methane fight for truce).doc
- 煤矿竖井井筒装备制定施工方案须注意的问题(Problems needing attention in making construction scheme of shaft and shaft equipment in coal mine).doc
- 煤质知识(Coal quality knowledge).doc
- 熔丝位(fuse).doc
- 爬虫url去重(Crawler URL de weight).doc
- 牛津英语小学一年级到六年极 dvd学习视频(Oxford English primary school, grade 1 to six, extremely DVD learning video).doc
- 牧场物语料理单(Ranch menu).doc
文档评论(0)