TEMU
4.4
The Terma Emulator
Signal.h
Go to the documentation of this file.
1
//===------------------------------------------------------------*- C++ -*-===//
2
//
3
// TEMU: The Terma Emulator
4
// (c) Terma 2016
5
// Authors: Mattias Holm <maho (at) terma.com>
6
//
7
//===----------------------------------------------------------------------===//
8
9
#
ifndef
TEMU_BUS_SIGNAL_H
10
#
define
TEMU_BUS_SIGNAL_H
11
12
// WARNING: THIS INTERFACE IS EXPERIMENTAL
13
14
#
include
"temu-c/Support/Objsys.h"
15
#
include
<
stdint
.
h
>
16
17
#
ifdef
__cplusplus
18
extern
"C"
{
19
#
endif
20
21
//! Digital signal interface
22
typedef
struct
temu_SignalIface
{
23
void
(*
raise
)(
void
*Obj);
24
void
(*
lower
)(
void
*Obj);
25
} temu_SignalIface;
26
#
define
TEMU_SIGNAL_IFACE_TYPE
"SignalIface"
27
TEMU_IFACE_REFERENCE_TYPE(temu_Signal);
28
29
#
ifdef
__cplusplus
30
}
31
#
endif
32
33
#
endif
/* ! TEMU_BUS_SIGNAL_H */
temu_SignalIface::raise
void(* raise)(void *Obj)
Definition:
Signal.h:23
temu_SignalIface::lower
void(* lower)(void *Obj)
Definition:
Signal.h:24
temu_SignalIface
Digital signal interface.
Definition:
Signal.h:22
temu-c
Bus
Signal.h
Generated by
1.8.17