TEMU
4.4
The Terma Emulator
Reset.h
Go to the documentation of this file.
1
//===------------------------------------------------------------*- C++ -*-===//
2
//
3
// TEMU: The Terma Emulator
4
// (c) Terma 2017
5
// Authors: Mattias Holm <maho (at) terma.com>
6
//
7
//===----------------------------------------------------------------------===//
8
9
/*
10
* EXPERIMENTAL INTERFACE: This interface is undergoing public review
11
*/
12
#
ifndef
TEMU_MODELS_RESET_H
13
#
define
TEMU_MODELS_RESET_H
14
15
#
include
"temu-c/Support/Objsys.h"
16
17
#
ifdef
__cplusplus
18
extern
"C"
{
19
#
endif
20
21
//! Reset interface
22
//!
23
//! Alternative to the reset function in the device interface.
24
typedef
struct
{
25
//! Reset device
26
void
(*
reset
)(
void
*Obj,
int
Type);
27
} temu_ResetIface;
28
29
#
define
TEMU_RESET_IFACE_TYPE
"ResetIface"
30
TEMU_IFACE_REFERENCE_TYPE(temu_Reset);
31
32
#
ifdef
__cplusplus
33
}
34
#
endif
35
36
#
endif
/* !TEMU_MODELS_RESET_H */
temu_ResetIface::reset
void(* reset)(void *Obj, int Type)
Reset device.
Definition:
Reset.h:26
temu-c
Models
Reset.h
Generated by
1.8.17