~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/emu/machine/adc1038.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 
3
 
    National Semiconductor ADC1038
4
 
 
5
 
    10-Bit Serial I/O A/D Converters with Analog Multiplexer and
6
 
    Track/hold Function
7
 
 
8
 
***************************************************************************/
9
 
 
10
 
#ifndef __ADC1038_H__
11
 
#define __ADC1038_H__
12
 
 
13
 
#include "devlegcy.h"
14
 
 
15
 
 
16
 
/***************************************************************************
17
 
    TYPE DEFINITIONS
18
 
***************************************************************************/
19
 
 
20
 
typedef int (*adc1038_input_read_func)(device_t *device, int input);
21
 
 
22
 
typedef struct _adc1038_interface adc1038_interface;
23
 
struct _adc1038_interface
24
 
{
25
 
        int gticlub_hack;
26
 
        adc1038_input_read_func input_callback_r;
27
 
};
28
 
 
29
 
 
30
 
/***************************************************************************
31
 
    MACROS / CONSTANTS
32
 
***************************************************************************/
33
 
 
34
 
DECLARE_LEGACY_DEVICE(ADC1038, adc1038);
35
 
 
36
 
#define MCFG_ADC1038_ADD(_tag, _config) \
37
 
        MCFG_DEVICE_ADD(_tag, ADC1038, 0) \
38
 
        MCFG_DEVICE_CONFIG(_config)
39
 
 
40
 
 
41
 
/***************************************************************************
42
 
    DEVICE I/O FUNCTIONS
43
 
***************************************************************************/
44
 
 
45
 
extern READ_LINE_DEVICE_HANDLER( adc1038_do_read );
46
 
extern READ_LINE_DEVICE_HANDLER( adc1038_sars_read );
47
 
extern WRITE_LINE_DEVICE_HANDLER( adc1038_di_write );
48
 
extern WRITE_LINE_DEVICE_HANDLER( adc1038_clk_write );
49
 
 
50
 
#endif  /* __ADC1038_H__ */