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

Portable_Speed

Programmer's Reference Manuals
» Part 15 – SWI Calls
» Portable
» Portable_Speed

Portable_Speed

(SWI &42FC0)
Entry  
R0 EOR mask
R1 AND mask
Exit  
R0 Old speed value
R1 New speed value

Use

The purpose of this call is to set the processor speed.

Notes

The new speed is set as:

New value = (old speed AND R2) EOR R1

Currently supported speed settings are:

0 Fast
1 Slow

Some hardware allows programs to exert more control over the CPU speed by SWI Portable_Speed2 to specify what clock rates the ‘slow’ and ‘fast’ speed settings equate to.

See also

  • Portable SWI Calls
  • Portable_Speed2
Revised on March 19, 2011 20:28:31 by Jeffrey Lee (213) (91.84.11.161)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: Portable_Speed2, Portable_Speed2 1, Portable_Speed2 5, Portable_Speed2 4, Portable_Speed2 6, Portable_Speed2 0, Portable_Speed2 7, Portable_Speed2 2, Portable_Speed2 8, Portable_Speed2 3, Portable_Speed2 9, HALDeviceSysPeri_CPUClk, Portable Feature Matrix, Portable SWI Calls

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