Example #1
0
//------------------------------------------------------------------------------
// Open a device specified by it's serial number (as int,
// last digits of the serial number are matched only).
mbug_device mbug_2165_open( int serial_num )
{
	mbug_device dev = mbug_open_int(2165, serial_num);
	if ( (dev != NULL) && (base_clock == 0) )
	{
		base_clock = mbug_2165_get_base_clock( dev );
		mod_clock = mbug_2165_get_mod_clock( dev );
	}
	return dev;
}
Example #2
0
//------------------------------------------------------------------------------
// Open a device specified by it's serial number (as int, 
// last digits of the serial number are matched only).
mbug_device mbug_2820_open( unsigned long serial_num )
{
	mbug_device dev = 
		mbug_open_int(2820, serial_num);
	if (!dev) return 0;

	mbug_2820_init( dev );

	return dev;
}
Example #3
0
//------------------------------------------------------------------------------
// Open a device specified by it's serial number (as int, 
// last digits of the serial number are matched only).
mbug_device mbug_2810_open( int serial_num )
{
	return mbug_open_int(2810, serial_num);
}