Loading...
Searching...
No Matches
vbus_gpio-ops.h
/*
* (c) 2011 Alexander Warg <warg@os.inf.tu-dresden.de>
* economic rights: Technische Universität Dresden (Germany)
*
* License: see LICENSE.spdx (in this directory or the directories above)
*/
#pragma once
#include <l4/vbus/vbus_interfaces.h>
enum L4vbus_gpio_op
{
L4VBUS_GPIO_OP_SETUP = L4VBUS_INTERFACE_GPIO << L4VBUS_IFACE_SHIFT,
L4VBUS_GPIO_OP_CONFIG_PAD,
L4VBUS_GPIO_OP_CONFIG_GET,
L4VBUS_GPIO_OP_GET,
L4VBUS_GPIO_OP_SET,
L4VBUS_GPIO_OP_MULTI_SETUP,
L4VBUS_GPIO_OP_MULTI_CONFIG_PAD,
L4VBUS_GPIO_OP_MULTI_GET,
L4VBUS_GPIO_OP_MULTI_SET,
L4VBUS_GPIO_OP_TO_IRQ,
L4VBUS_GPIO_OP_CONFIG_PULL
};
vbus_interfaces.h
This header contains the definition of VBUS sub-interfaces and convenience functions to work with the...
L4VBUS_INTERFACE_GPIO
@ L4VBUS_INTERFACE_GPIO
GPIO.
Definition vbus_interfaces.h:34
L4VBUS_IFACE_SHIFT
@ L4VBUS_IFACE_SHIFT
Sub-interface ID shift.
Definition vbus_interfaces.h:56