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 />

Table 6-1 List of Hardware Interrupt Factors (2/2)<br />

No. Interrupt Factors<br />

43 INTCAP20 16bit TMRB input capture 20<br />

44 INTCAP21 16bit TMRB input capture 21<br />

45 INTCAP30 16bit TMRB input capture 30<br />

46 INTCAP31 16bit TMRB input capture 31<br />

47 INTCAP40 16bit TMRB input capture 40<br />

48 INTCAP41 16bit TMRB input capture 41<br />

49 INTAD A/D conversion completion<br />

6.2.5 Active State<br />

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

Activation trigger<br />

(Clearing standby)<br />

Clock<br />

Generator<br />

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

The active state indicates which change in signal of an interrupt factor triggers an interrupt. The<br />

CPU considers an interrupt signal as an interrupt factor when it is changed from “L” to “H”. A signal<br />

directly sent from the peripheral IP to the CPU is configured to output the “H” as an interrupt<br />

request.<br />

The active state of the interrupt to clear the standby mode has the options. As for the signal from<br />

the peripheral IP, the trigger is determined to be the rising or falling edges depending on the<br />

interrupt factor. If the signal is from the external pin, the “H” level, “L” level, rising or falling edge is<br />

selectable.<br />

If the interrupt is used for clearing the standby mode, setting the clock generator register is<br />

required. Enable the IMCGx bit and specify the active state in the IMCGx<br />

bits. You must set the activation trigger as shown in Table 6-1.<br />

The interrupt detected by the clock generator is notified to the CPU with a signal in “H” lelvel.<br />

An interrupt from the external pin can be used without setting the clock generator if it does not<br />

function as the clearing factor. However, inputting the “H” pulse or the signal in “H” level is required<br />

so that the CPU can detect it as an interrupt factor.<br />

Interrupts

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

Saved successfully!

Ooh no, something went wrong!