| 전자부품 데이터시트 검색엔진 |
|
ST20-C1 데이터시트(PDF) 142 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-C1 데이터시트(HTML) 142 Page - STMicroelectronics |
|
142 / 205 page ![]() 142/205 ® signal signal Code: 23 F5 Description: Perform the first par t of a semaphore signal (or V) on the semaphore pointed to by Areg. If no process is waiting then the unsigned count is incremented. If processes are waiting then the first process is removed from the queue and its identifier placed in Breg ready to be run. The instruction returns a boolean value in Areg stating whether a run process is required. This instruction should be used in the following sequence: ld semptr; signal; cj continue; run; continue: Definition: if (frontptr = NotProcess) -- queue empty { word ′[Areg @ s.Count] ← word[Areg @ s.Count] + 1 Areg ′← false Breg ′← undefined } else -- queue not empty { if (frontptr = backptr) -- one process on queue word ′[Areg @ s.Front] ← NotProcess else -- many processes on queue word ′[Areg @ s.Front] ← word[ frontptr @ pw.Link ] Areg ′← true Breg ′← frontptr } Creg ′← undefined where frontptr = word[Areg @ s.Front] backptr = word[Areg @ s.Back] Status Register: No effect Comments: Secondar y instruction. The increment of the count is unchecked. This instruction may require 4 accesses to memory. The semaphore structure should be placed in on-chip memory if interrupt latency is critical. See also: run wait Chapter 7 . |
|
링크 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 |