跳至主要內容
Knowledgebase
Home
Renesas Electronics Taiwan - Knowledgebase

Is there any way to realize software interruption?

Latest Updated:03/25/2009

Question:

Is there any way to realize software interruption?

Answer:

Please examine the following method.

1. Use trap instruction

By executing TRAPA instruction, the exception handling vector table of vector no. 32-63 can be used.

2. Use dummy interrupt from on-chip peripheral function

For example, the following interruption can be possible.

•Timer interrupt (Overflow interruption of MTU, Compare match interrupt of CMT, etc,)

•IRQ interrupt (Connect output from I/O port to IRQ pin)

Suitable Products
SH7144, SH7145
SH7065
SH7058
SH7055
SH7050, SH7051
SH7052, SH7053, SH7054
SH7047, SH7049, SH7105, SH7107, SH7109
SH7046, SH7148, SH7101, SH7048, SH7104, SH7106, SH7108
SH7040, SH7041, SH7042, SH7043, SH7044, SH7045
SH7032, SH7034, SH7034B
SH7032
SH7020, SH7021
SH7018
SH7014, SH7016, SH7017
SH7011