23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

<strong>TMPM330</strong> (rev0.4) 6-6<br />

<strong>TMPM330</strong><br />

Processing Details See<br />

Detecting interrupt<br />

Handling interrupt<br />

Executing interrupt<br />

service routine<br />

Returning to preceding<br />

program<br />

The CPU detects the interrupt.<br />

The interrupt factor with the highest priority is detected<br />

according to the priority order.<br />

The CPU handles the interrupt.<br />

The CPU pushes resister contents to the stack before<br />

entering the interrupt service routine<br />

Program for the interrupt service routine.<br />

Clear the interrupt factor if needed.<br />

Configure to return to the preceding program of the interrupt<br />

service routine.<br />

6.3.4<br />

Detection<br />

by CPU<br />

6.3.5<br />

CPU<br />

processing<br />

6.3.6<br />

Interrupt<br />

service<br />

routine<br />

Interrupts

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!