Rockwell-automation 1775-KA PLC-3 Communication Adapter Module User Ma Uživatelský manuál Strana 226

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 239
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 225
Detailed Flowcharts
Appendix D
D16
Figure D.18
TRANSMIT
INTERRUPT Subroutine
10088-I
WAKEUP
TRANSMIT
INTERRUPT
INTERRUPT
RETURN
Resume Process
Sleeping
At
TXWAIT
NOTE:
a Z80 S10.
This figure assumes the use of
NOTE:
UART transmit interrupt must
be enabled and disabled without
affecting the current state of the
receive
flags.
and status interruptenable
Figure D.19
SLEEP and W
AKEUP Subroutines
10089-I
RETURN
RETURN
An Implementation Dependent
Routine to Suspend Own
Process at a Sleep Variable
Until Another Process Wakes
This One UP
An Implementation Dependent
Routine to Wake Up the
Process at a Sleep Variable
if
Any is Sleeping There
Input:
The Address of a Sleep Variable.
Sleep Variables:
Typically an address of a stack or
a process or context save area.
A Process can suspend itself and
place its address in a sleep
variable.
Subsequently another process can
wake up the sleeping process by
referring to sleep variable. When
no process is sleeping at a sleep
variable, a WAKEUP has no effect.
Input:
The Address of a Sleep Variable.
SLEEP
WAKEUP
Zobrazit stránku 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 238 239

Komentáře k této Příručce

Žádné komentáře