RTEMS
5.1
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
+
Enumerations
a
b
c
e
h
i
l
m
o
p
q
r
s
t
w
+
Enumerator
a
c
d
h
i
l
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
cpukit
include
dev
i2c
fpga-i2c-slave.h
1
/*
2
* Copyright (c) 2016-2017 Chris Johns <chrisj@rtems.org>
3
* All rights reserved.
4
*
5
* The license and distribution terms for this file may be
6
* found in the file LICENSE in this distribution or at
7
* http://www.rtems.org/license/LICENSE.
8
*/
9
10
/*
11
* I2C slave for testing:
12
* https://github.com/oetr/FPGA-I2C-Slave
13
*/
14
15
#ifndef FPGA_I2C_SLAVE_H
16
#define FPGA_I2C_SLAVE_H
17
18
#include <
dev/i2c/i2c.h
>
19
20
int
i2c_dev_register_fpga_i2c_slave(
const
char
* bus_path,
21
const
char
* dev_path,
22
uint16_t address,
23
size_t
size
);
24
25
#endif
i2c.h
Inter-Integrated Circuit (I2C) Driver API.
size
unsigned size
Definition:
tte.h:74
Generated by
1.8.15