L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
vbus_gpio-ops.h
1/*
2 * (c) 2011 Alexander Warg <warg@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
4 *
5 * This file is part of TUD:OS and distributed under the terms of the
6 * GNU General Public License 2.
7 * Please see the COPYING-GPL-2 file for details.
8 */
9
10#pragma once
11
13
14enum L4vbus_gpio_op
15{
16 L4VBUS_GPIO_OP_SETUP = L4VBUS_INTERFACE_GPIO << L4VBUS_IFACE_SHIFT,
17 L4VBUS_GPIO_OP_CONFIG_PAD,
18 L4VBUS_GPIO_OP_CONFIG_GET,
19 L4VBUS_GPIO_OP_GET,
20 L4VBUS_GPIO_OP_SET,
21 L4VBUS_GPIO_OP_MULTI_SETUP,
22 L4VBUS_GPIO_OP_MULTI_CONFIG_PAD,
23 L4VBUS_GPIO_OP_MULTI_GET,
24 L4VBUS_GPIO_OP_MULTI_SET,
25 L4VBUS_GPIO_OP_TO_IRQ,
26 L4VBUS_GPIO_OP_CONFIG_PULL
27};
This header contains the definition of VBUS sub-interfaces and convenience functions to work with the...
@ L4VBUS_INTERFACE_GPIO
GPIO.
@ L4VBUS_IFACE_SHIFT
Sub-interface ID shift.