[wrap]
MAME source file: / src / emu / sound / msm5232.h [download] (view on mamedev.org)
#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)(int state);	/* callback called when the GATE output pin changes state */
};

WRITE8_HANDLER( msm5232_0_w );
WRITE8_HANDLER( msm5232_1_w );

void msm5232_set_clock(void *chip, int clock);

SND_GET_INFO( msm5232 );

#endif /* __MSM5232_H__ */
  
2004-2009 MAWS all copyrights belong to their respective owners