- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lecture 10MPC 555 Interrupt.ppt
Week 9 ISU, CprE 211, Sp04 Lecture 10MPC 555 Interrupt Interrupt System Design: Hardware issues Connect interrupt sources to processor core. Determine ISR addresses using exception vector table. Help software determine interrupt source. Disable/enable interrupts. Mask interrupts. Interrupt System Design: Software Issues Interrupt setup Set up interrupt level Set up exception vector table Set up interrupt mask Enable interrupt Device-specific setup Interrupt Processing Create/destroy stack frame Save/restore machine states and EPC Mask interrupt (optional) Enable interrupt (optional) Save/restore registers contents Determine interrupt source Determine ISR address Device-specific processing MPC555 Interrupt Overview MPC555 Interrupt Sources: External I/O devices Internal I/O device From USIU inside (Unified System Interface unit) USIU includes interrupt control PowerPC Internal I/O Modules TPU3: Time Processor Units, 3rd version; versatile functions, e.g. counting pulses MIOS1: Modular I/O System; QADC64: Queued Analog-to-digital converter TouCAN: Control Area Network, two-wire, up to 1Mbps and 40m; e.g. network inside vehicle QSMCM: Queued Serial Multi-channel Module IMB3 bus: Inter-Module Bus UIMB: U-bus to IMB Interface UIMB: U-bus to IMB interface UIPEND: Interrupt pending reg. U-bus: Unified bus, connecting multiple internal buses UMCR[IRQUX]: Enable level 7-31 UIMB: U-bus to IMB Interface The interface converts 32 interrupt levels on IMB3 Bus to 8 interrupt levels on U-Bus Level 0-6 to U-Bus level 0-6 Level 7-31 to U-Bus level 7 Interrupt handler reads full UIPEND through memory-mapped I/O External Interrupts Other I/O device: Hard drive, video card, … IRQ[0]: connect to reset Unified System Interface Unit The USIU controls system start-up, system initialization and operation, system protection, and the external system bus. MPC555 USIU functions: System configuration and protection Interrupt controller System reset monitoring and generation Clock syn
您可能关注的文档
- Congenital Diaphragmatic Hernia.ppt
- Contemporary College English.ppt
- Contitech Tianjin HR Intern Recruitment 2014.ppt
- Controller Area Network (CAN).ppt
- CountingSection 3-7.ppt
- CP15协处理器.ppt
- CPC#7February 28, 2006.ppt
- CPC01.12.10.ppt
- Creating a 7-CircuitRight-Handed Cretan Labyrinth.ppt
- CREATING A BASIC SEARCH ON EBSCOHOST.ppt
文档评论(0)