def create_driver_settings(self, machine, pulse_ms=None, **kwargs):
        return_dict = dict()
        if pulse_ms is None:
            pulse_ms = machine.config['mpf']['default_pulse_ms']

        try:
            return_dict['allow_enable'] = kwargs['allow_enable']
        except __HOLE__:
            return_dict['allow_enable'] = False

        return_dict['pulse_ms'] = Util.int_to_hex_string(pulse_ms)
        return_dict['pwm1'] = 'ff'
        return_dict['pwm2'] = 'ff'
        return_dict['recycle_ms'] = '00'

        return return_dict
dataset/ETHPy150Open missionpinball/mpf/mpf/platform/fast.py/FASTDriver.create_driver_settings