a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 serial.device
  AbortIO
  BeginIO
  CMD_CLEAR
  CMD_FLUSH
  CMD_READ
  CMD_RESET
  CMD_START
  CMD_STOP
  CMD_WRITE
  CloseDevice
  OpenDevice
  SDCMD_BREAK
  SDCMD_QUERY
  SDCMD_SETPARAMS
Include
GuruMeditation
Docs » Autodocs » serial.device » SDCMD_BREAK

NAME

       Break -- send a break signal over the serial line

FUNCTION

       This command sends a break signal (serial line held low for an
extended period) out the serial port. For the built-in port,
This is accomplished by setting the UARTBRK bit of regisrer ADKCON.
After a duration (user specifiable via setparams, default 250000
microseconds) the bit is reset and the signal discontinued.
If the QUEUEDBRK bit of io_SerFlags is set in the io_Request
block, the request is placed at the back of the write-request
queue and executed in turn. If the QUEUEDBRK bit is not set,
the break is started immediately, control returns to the
caller, and the timer discontinues the signal after the
duration is completed. Be aware that calling BREAK may
affect other commands such as ABORT, FLUSH, STOP, START, etc...
IO REQUEST
io_Message mn_ReplyPort initialized
io_Device set by OpenDevice
io_Unit set by OpenDevice
io_Command SDCMD_BREAK
io_Flags set/reset IO_QUICK per above description

RESULT

       Error -- if the Break succeded, then Error will be null.
If the Break failed, then the Error will be non-zero.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

The Black Lotus

TBL
PHA
AYS
TSL

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se