| Electronic Components Datasheet Search |
|
ST20-GP6 Datasheet(PDF) 26 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-GP6 Datasheet(HTML) 26 Page - STMicroelectronics |
|
26 / 123 page ![]() ST20-GP6 26/123 In addition to the trap groups mentioned above, the CauseError flag in the Status register is used to signal when a trap condition has been activated by the causeerror instruction. It can be used to indicate when trap conditions have occurred due to the user setting them, rather than by the sys- tem. 4.6.2 Events that can cause traps Table 4.4 summarizes the events that can cause traps and gives the encoding of bits in the trap Status and Enable words. Trap group Code Breakpoint 0 CPU errors 1 System operations 2 Scheduler 3 Table 4.3 Trap group codes Trap cause Status/Enable codes Trap group Comments Breakpoint 00 When a process executes the breakpoint instruction ( j0) then it traps to its trap handler. IntegerError 11 Integer error other than integer overflow - e.g. explicitly checked or explicitly set error. Overflow 21 Integer overflow or integer division by zero. IllegalOpcode 32 Attempt to execute an illegal instruction. This is signalled when opr is executed with an invalid operand. LoadTrap 42 When the trap descriptor is read with the ldtraph instruction or when the trapped process status is read with the ldtrapped instruction. StoreTrap 52 When the trap descriptor is written with the sttraph instruction or when the trapped process status is written with the sttrapped instruction. InternalChannel 63 Scheduler trap from internal channel. ExternalChannel 73 Scheduler trap from external channel. Timer 83 Scheduler trap from timer alarm. Timeslice 93 Scheduler trap from timeslice. Run 10 3 Scheduler trap from runp (run process) or startp (start process). Signal 11 3 Scheduler trap from signal. ProcessInterrupt 12 3 Start executing a process at a new priority level. QueueEmpty 13 3 Caused by no process active at a priority level. CauseError 15 (Status only) Any, encoded 0-3 Signals that the causeerror instruction set the trap flag. Table 4.4 Trap causes and Status/Enable codes |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |