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_IICType

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

HAL_IICType

(HAL entry #32)
unsigned int HAL_IICType(int bus)
Entry
bus Bus number to query
Exit
Bit 0 Bus supplies the low-level API
Bit 1 Bus supplies the high-level API
Bit 2 High-level API supports multi-master operation
Bit 3 High-level API supports slave operation
Bit 4 High-level API supports background operation
Bit 16 Bus supports Fast (400kbps) operation
Bit 17 Bus supports High-speed (3.4Mbps) operation
Bits 20-31 Version number of IIC supported by high-level API, * 100.

Use

Returns a flag word describing the specified IIC bus.

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

See also

  • HAL IIC API
Information sources: Kernel.Docs.HAL.HAL_API, Kernel.Docs.HAL.MoreEnts in CVS
Revised on February 9, 2012 13:36:51 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, HAL entry points by number, HAL IIC API, HAL_IICDevice, HAL_IICTransfer

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