RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_SerialOp 9

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_SerialOp
» OS_SerialOp 9

OS_SerialOp 9

(SWI &57)
Entry
R0 9
Exit
R0 Preserved
R1 Pointer to word aligned table of supported baud rates
R2 Number of entries in table

Use

The purpose of this call is to read or enumerates the available serial port speeds.

Notes

Each entry in the table is in units of 0.5 bit/sec.

The index into the table (starting at 1) can be used in OS_SerialOp 5 and OS_SerialOp 6 calls to set the corresponding baud rate.

As the hardware on a given machine may not support certain baud rate combinations the table may have ‘holes’ in it, represented by a zero word – this way the index into the table can still be used with OS_SerialOp 5.

See also

  • Baud Rate Codes
  • OS_SerialOp
  • OS_SerialOp 5
  • OS_SerialOp 6
Created on December 2, 2009 19:56:20 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_SerialOp

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys