| 전자부품 데이터시트 검색엔진 |
|
ST20-GP6 데이터시트(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-GP6 데이터시트(HTML) 33 Page - STMicroelectronics |
|
33 / 123 page ![]() ST20-GP6 33/123 5.5 Restrictions on interrupt handlers There are various restrictions that must be placed on interrupt handlers to ensure that they interact correctly with the rest of the process model implemented in the CPU. 1 Interrupt handlers must not deschedule. 2 Interrupt handlers must not execute communication instructions. However they may com- municate with other processes through shared variables using the semaphore signal to synchronize. 3 Interrupt handlers must not perform 2d block move instructions. 4 Interrupt handlers must not cause program traps. However they may be trapped by a scheduler trap. 5.6 Interrupt configuration registers The interrupt controller is allocated a 4k block of memory in the internal peripheral address space. Information on interrupts is stored in registers as detailed in the following section. The registers can be examined and set by the devlw (device load word) and devsw (device store word) instructions. Note, they can not be accessed using memory instructions. HandlerWptr register The HandlerWptr registers (1 per interrupt) contain a pointer to the workspace of the interrupt han- dler. It also contains the Priority bit which determines whether the interrupt is at a higher or lower priority than the high priority process queue. Note, before the interrupt is enabled, by writinga1inthe Mask register, the user (or toolset) must ensure that there is a valid Wptr in the register. HandlerWptr Interrupt controller base address + #00 to #1C Read/Write Bit Bit field Function 0 Priority Sets the priority of the interrupt. If this bit is set to 0, the interrupt is a higher priority than the high priority process queue, if this bit is 1, the interrupt is a lower priority than the high priority process queue. 0 high priority 1 low priority 31:2 HandlerWptr Pointer to the workspace of the interrupt handler. 1 Reserved, write 0. Table 5.1 HandlerWptr register format - one register per interrupt |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |