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_USBPortIRQ

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

HAL_USBPortIRQ

(HAL entry #111)
int HAL_USBPortIRQ(int port, int mode)
Entry
port Port number to query
mode Operation to perform; see below
Exit
- Return value is dependent upon mode

Use

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

Used to query the port overcurrent IRQ number, and to service the interrupt. mode behaves as follows:

mode Operation Return value
0 Disable IRQ source Returns IRQ device number
1 Enable IRQ source and acknowledge the IRQ Unknown
2 Read IRQ status and acknowledge the IRQ 0: Port overcurrent IRQ did not occur
1: Port overcurrent IRQ did occur

See also

  • HAL USB API
Information source: HWSupport.USB.NetBSD.build.c.ohcimodule in CVS
Revised on February 9, 2012 13:59:50 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 TODO, HAL entry points by number, HAL_USBControllerInfo, HAL USB 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