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_IICMonitorTransfer

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

HAL_IICMonitorTransfer

(HAL entry #37)
int HAL_IICMonitorTransfer(int bus)
Entry
bus Bus number to operate on
Exit
- Return code

Use

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

Will be called on every interrupt, and should return the status of the transfer currently in progress. If no transfer is in progress, the call should return COMPLETED.

If the transfer is still in progress, INPROGRESS is returned.

If the slave failed to acknowledge (either the address or any later transmitted byte), NOACK is returned.

If we have been addressed as a slave, the call returns SLAVE. More details to be confirmed.

BUSY is not a valid response.

This will only be called in response to an IIC interrupt, with interrupts disabled. The interrupt shall be cleared by this call.

Unknown return codes will be ignored.

See also

  • HAL IIC API
Information source: Kernel.Docs.HAL.MoreEnts in CVS
Revised on February 9, 2012 13:34:11 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 IIC return codes, HAL_IICTransfer, HAL entry points by number, HAL IIC API, HAL_IICDevice

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