Skip to main content
Visitor II
July 20, 2004
Question

traps

  • July 20, 2004
  • 3 replies
  • 809 views
Posted on July 20, 2004 at 09:46

traps

    This topic has been closed for replies.

    3 replies

    jmAuthor
    Visitor II
    December 23, 2003
    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

    Visitor II
    July 5, 2004
    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
    jmAuthor
    Visitor II
    July 20, 2004
    Posted on July 20, 2004 at 09:46

    Thank you for your precision Najoua !!