blob: ad1bfb003d23ed31c646e8d38b3970ca7ddb1125 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#ifndef __MSM5232_H__
#define __MSM5232_H__
typedef struct _msm5232_interface msm5232_interface;
struct _msm5232_interface
{
double capacity[8]; /* in Farads, capacitors connected to pins: 24,25,26,27 and 37,38,39,40 */
void (*gate_handler)(running_device *device, int state); /* callback called when the GATE output pin changes state */
};
WRITE8_DEVICE_HANDLER( msm5232_w );
void msm5232_set_clock(running_device *device, int clock);
DEVICE_GET_INFO( msm5232 );
#define SOUND_MSM5232 DEVICE_GET_INFO_NAME( msm5232 )
#endif /* __MSM5232_H__ */
|