Main / Cpu
TrapsA trap is a system function that is called when certain signals are sent to the processor, such as system level signals like SIGTERM in Unix. Ctrl + C on a Linux shell is a good example of a trap being invoked. Traps do not typically have critical response time requirements, whereas interrupts often do. For the Aurix processor, there is a register that records trap events on external input lines. Another register lets you define which cores will receive each trap event, which can go out to all cores simultaneously as the default. SW can then clear the trap flags after service. |