TEMU  2
The Terma Emulator
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Signal.h
Go to the documentation of this file.
1 //===------------------------------------------------------------*- C++ -*-===//
2 //
3 // T-EMU: 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 
22 typedef struct temu_SignalIface {
23  void (*raise)(void *Obj);
24  void (*lower)(void *Obj);
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 */
Digital signal interface.
Definition: Signal.h:22
struct temu_SignalIface temu_SignalIface
Digital signal interface.
#define TEMU_IFACE_REFERENCE_TYPE(N)
Definition: Objsys.h:129
void(* lower)(void *Obj)
Definition: Signal.h:24