| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
ST20-C1 bảng dữ liệu(PDF) 77 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-C1 bảng dữ liệu(HTML) 77 Page - STMicroelectronics |
|
77 / 205 page ![]() 77/205 6 Exceptions ® The code of the exception handler may access or modify the state of the interrupted or trapped process. The state of the interrupted or trapped process is stored in the exception control block, which is located at the initial Wptr of the exception handler. An exception handler must use eret to return to the interrupted or trapped process. 6.8.1 Enabling and disabling exceptions When the exception handler has been created and initialized, the exception can be enabled. The address of the exception handler control block, ORed with 1 to set the exception type bit, must be written in the exception vector table at the level for the exception. To write an entry control_block with type ExceptionProcessType in the exception vector table, the following code may be used: ld control_block; ldc ExceptionProcessType; or; ld ExceptionBase; stnl exception_level; For interrupts, both the global_interrupt_enable and local_interrupt_enable bits in the status register must be set. In addition the interrupt controller may need to be initial- ized, including any interrupt enable bits and masks. A trap can be disabled by writing NotProcess into the exception vector table. Interrupts can be disabled in four ways: 1 Clearing the status register bit global_interrupt_enable disables all interrupts until the bit is set by an explicit write to the status register. 2 Clearing the status register bit local_interrupt_enable disables all interrupts until the current process is descheduled. 3 A single exception level can be disabled by writing NotProcess into the excep- tion vector table. 4 The interrupt controller will generally have a means of disabling interrupts indi- vidually or globally by writing to interrupt controller registers. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |