L4Re Operating System Framework
Interface and Usage Documentation
•All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 * License: see LICENSE.spdx (in this directory or the directories above)
6 */
7
8#pragma once
9
11
12enum L4vbus_gpio_op
13{
14 L4VBUS_GPIO_OP_SETUP = L4VBUS_INTERFACE_GPIO << L4VBUS_IFACE_SHIFT,
15 L4VBUS_GPIO_OP_CONFIG_PAD,
16 L4VBUS_GPIO_OP_CONFIG_GET,
17 L4VBUS_GPIO_OP_GET,
18 L4VBUS_GPIO_OP_SET,
19 L4VBUS_GPIO_OP_MULTI_SETUP,
20 L4VBUS_GPIO_OP_MULTI_CONFIG_PAD,
21 L4VBUS_GPIO_OP_MULTI_GET,
22 L4VBUS_GPIO_OP_MULTI_SET,
23 L4VBUS_GPIO_OP_TO_IRQ,
24 L4VBUS_GPIO_OP_CONFIG_PULL
25};
This header contains the definition of VBUS sub-interfaces and convenience functions to work with the...
@ L4VBUS_IFACE_SHIFT
Sub-interface ID shift.
@ L4VBUS_INTERFACE_GPIO
GPIO.