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

HAL_TimerSetPeriod

Hardware Abstraction Layer
HAL entry points from RISC OS
ยป HAL_TimerSetPeriod

HAL_TimerSetPeriod

(HAL entry #16)
void HAL_TimerSetPeriod(int timer, unsigned int period)
Entry
timer Timer number to modify
period Timer period, in units of Granularity
Exit
-

Use

Sets period of timer n. If period > 0, the timer will generate interrupts
every (period / granularity) seconds. If period = 0, the timer may be
stopped. This may not be possible on some hardware, so the corresponding
interrupt should be masked in addition to calling this function with period
0. If period > maxperiod, behaviour is undefined.

See also

HAL timer API

Information source: Kernel.Docs.HAL.HAL_API in CVS
Created on July 26, 2009 22:01:37 by Jeffrey Lee (213) (127.0.0.1)
Edit | Views: Print | Source | Linked from: HAL entry points from RISC OS, HAL timer API, HAL entry points by number

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