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 counter API

Hardware Abstraction Layer
» List of HAL APIs
» HAL counter API

The HAL must supply a counter that varies rapidly, appropriate for use for sub-millisecond timing. On many systems, this counter will form part of timer 0 – as such it is not required to operate when timer 0 is not running. On other systems, the periodic timers may have no readable latch, and a separate unit will be required.

The counter should count down from (period-1) to 0 continuously.

Entry points

  • HAL_CounterRate
  • HAL_CounterPeriod
  • HAL_CounterRead
  • HAL_CounterDelay
Information source: Kernel.Docs.HAL.HAL_API in CVS
Created on July 25, 2009 22:50:00 by Jeffrey Lee (213) (127.0.0.1)
Edit | Views: Print | Source | Linked from: HAL entry points from RISC OS, List of HAL APIs, HAL_CounterDelay, HAL_CounterPeriod, HAL_CounterRate, HAL_CounterRead

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