L4Re Operating System Framework
Interface and Usage Documentation
•All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
vbus_mcspi.h
1/*
2 * (c) 2009 Torsten Frenzel <frenzel@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#pragma once
8
9#include <l4/sys/compiler.h>
10#include <l4/sys/types.h>
11#include <l4/vbus/vbus_types.h>
12
14
15int L4_CV
16l4vbus_mcspi_read(l4_cap_idx_t vbus, l4vbus_device_handle_t handle,
17 unsigned channel, l4_umword_t *value);
18
19int L4_CV
20l4vbus_mcspi_write(l4_cap_idx_t vbus, l4vbus_device_handle_t handle,
21 unsigned channel, l4_umword_t value);
22
L4 compiler related defines.
unsigned long l4_umword_t
Unsigned machine word.
Definition l4int.h:40
unsigned long l4_cap_idx_t
Capability selector type.
Definition types.h:335
#define __END_DECLS
End section with C types and functions.
Definition compiler.h:167
#define L4_CV
Define calling convention.
Definition linkage.h:33
#define __BEGIN_DECLS
Start section with C types and functions.
Definition compiler.h:164
Common L4 ABI Data Types.
This header file contains descriptions of vbus related data types and constants.
l4_mword_t l4vbus_device_handle_t
Device handle for a device on the vbus.
Definition vbus_types.h:18