| Electronic Components Datasheet Search |
|
UM0434 Datasheet(PDF) 189 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0434 Datasheet(HTML) 189 Page - STMicroelectronics |
|
189 / 390 page ![]() Interrupts and exceptions UM0434 190/391 Instruction fetch and execution resume, using the new MSR value, at a location specific to the exception type. The location is determined by the IVPR and an IVOR specific for each type of interrupt (see Table 114). A new operating context is selected using the low-order three bits of the specific IVOR selected by the type of interrupt. Table 149 shows the MSR settings for different interrupt categories. Note that reserved and preserved MSR bits are unimplemented and are read as 0. 6.8.1 Enabling and disabling exceptions When a condition exists that may cause an exception to be generated, it must be determined whether the exception is enabled for that condition. ● System reset exceptions cannot be masked. ● A machine check exception can occur only if the machine check enable, MSR[ME], = 1. If ME = 0, the processor goes directly into checkstop state when a machine check exception condition occurs. Individual machine check exceptions can be enabled and disabled through HID0 bits. ● Asynchronous, maskable non-critical exceptions (such as the external input and decrementer) are enabled by setting MSR[EE]. When EE = 0, recognition of these exception conditions is delayed. EE is cleared automatically when a non-critical or critical interrupt is taken to mask further recognition of conditions causing those exceptions. ● Asynchronous, maskable critical exceptions (such as critical input and watchdog timer) are enabled by setting MSR[CE]. When CE = 0, recognition of these exception conditions is delayed. CE is cleared automatically when a critical interrupt is taken to mask further recognition of conditions causing those exceptions. ● Synchronous and asynchronous debug exceptions are enabled by setting MSR[DE]. If DE = 0, recognition of these exception conditions is masked. DE is cleared Table 149. MSR setting due to interrupt Bits MSR definition Reset setting Non-critical interrupt Critical interrupt Debug interrupt 37 UCLE 0 0 0 0 38 SPE 0 0 0 0 45 WE 0 0 0 0 46 CE 0 — 0 —/0(1) 1. Conditionally cleared based on control bits in HID0 48 EE 0 0 0 —/01 49 PR 0 0 0 0 50 FP 0 0 0 0 51 ME 0 — — — 52 FE0 0 0 0 0 54 DE 0 — —/01 0 55 FE1 0 0 0 0 58 IS 0 0 0 0 59 DS 0 0 0 0 |
|
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 |