Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

ST20-C1 Datasheet(PDF) 83 Page - STMicroelectronics

No. de pieza ST20-C1
Descripción Electrónicos  Instruction Set Reference Manual
PDF  205 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-C1 Datasheet(HTML) 83 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 79Page - STMicroelectronics ST20-C1 Datasheet HTML 80Page - STMicroelectronics ST20-C1 Datasheet HTML 81Page - STMicroelectronics ST20-C1 Datasheet HTML 82Page - STMicroelectronics ST20-C1 Datasheet HTML 83Page - STMicroelectronics ST20-C1 Datasheet HTML 84Page - STMicroelectronics ST20-C1 Datasheet HTML 85Page - STMicroelectronics ST20-C1 Datasheet HTML 86Page - STMicroelectronics ST20-C1 Datasheet HTML 87Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 83 / 205 page
background image
83/205
7 Multi-tasking
®
7.7
Initializing multi-tasking
7.7.1
Initializing the scheduling queue
Before multi-tasking operations can be performed, the scheduling queue must be
initialized. The scheduling queue is described in section 7.3. The queue must be
initialized by setting it to empty, which means setting the front pointer to empty:
ld MostNeg; ld SchedulerQptr; stnl q.FPtrLoc;
7.7.2
Creating and starting a process
A process consists of code, a work space area, a process control block and the values
for the Iptr, Wptr and Tdesc. To create a process, a large enough work space is
created, and a process control block of three words. It may be convenient to put all the
process control blocks together in one area of memory. For fast context switches and
minimal interrupt latency, process control blocks should be in on-chip memory.
The entry point for the process code is written into pw.Iptr of the process control
block. The address of the top of the work space is written into pw.Wptr of the process
control block, so the process code must adjust the initial Wptr down using
ajw to
create space for local variables.
Field or bit
Value
mac_count
As in previous process.
mac_buffer
As in previous process.
mac_scale
As in previous process.
mac_mode
As in previous process.
global_interrupt_enable
As in previous process.
local_interrupt_enable
Set.
overflo w
False.
underflo w
False.
carry
False.
user_mode
True.
interrupt_mode
False.
trap_mode
False.
sleep
False.
reserved
Undefined.
start_next_task
False.
timeslice_enable
As in previous process.
timeslice_count
MaxTimesliceCount.
Table 7.3 Restarted process status register



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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