code: def write_device_config(self, device_config):
          
          if not self.capabilities.have_usb_mode(device_config._mode):
              raise yubikey_base.YubiKeyVersionError("USB mode: %02x not supported for %s" % (device_config._mode, self))
          return self._device._write_config(device_config, SLOT.DEVICE_CONFIG)
docs: Write a DEVICE_CONFIG to the YubiKey NEO.