cancel
Showing results for 
Search instead for 
Did you mean: 

traps

jm
Associate II
Posted on July 20, 2004 at 09:46

traps

3 REPLIES 3
jm
Associate II
Posted on December 23, 2003 at 06:50

Hi,

My apply work on st10f168, i would to minimize errors and problems with using TRAPS , but i don't know use it

What are the purpose of this interruption? Can i write fonctions at traps adress? So how can i use it ?

If you 've some exemples or suggestions that can help me !

thanks

najoua
Associate II
Posted on July 05, 2004 at 06:52

Hello,

Traps interrupt the current execution like standard interrupts do. However, trap functions offer the possibility to bypass the interrupt system prioritization process in cases where immediate system reaction is required. Trap functions are not maskable and always have priority over interrupt requests on any priority level.

The ST10 provides two kinds of traps: software and hardware traps. Have a look at the ST10x167 user's manual (INTERRUPT AND TRAP FUNCTIONS section), this will help you.

Najoua
jm
Associate II
Posted on July 20, 2004 at 09:46

Thank you for your precision Najoua !!