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_IICReadLines

Hardware Abstraction Layer
HAL entry points from RISC OS
» HAL_IICReadLines

HAL_IICReadLines

(HAL entry #34)
__value_in_regs IICLines HAL_IICReadLines(int bus)
Entry
bus Bus number to query
Exit
a1-a2 IICLines structure containing the current values read from the bus

Use

This is an internal call for OS use only and should not be used by user software.

Reads the state of the IIC lines on the specified bus, without changing their state.

Note the “__value_in_regs” keyword, which signifies that the binary ABI expects SDA and SCL to be returned in registers a1 and a2.

See also

  • HAL IIC API
Information sources: Kernel.Docs.HAL.HAL_API, Kernel.Docs.HAL.MoreEnts in CVS
Revised on February 9, 2012 13:34:47 by Jeffrey Lee (213) (195.72.173.130)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: HAL entry points from RISC OS, IICLines, HAL entry points by number, HAL IIC API

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
  • Export
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