def sam_configuration(self, mode, timeout=0):
        """Send the SAMConfiguration command to configure the Security Access
        Module. The *mode* argument must be one of the string values
        in :data:`sam_configuration_modes`. The *timeout* argument is
        only relevant for the virtual card configuration mode.

        """
        mode = self.sam_configuration_modes.index(mode) + 1
        self.command(0x14, chr(mode) + chr(timeout), timeout=0.1)
Send the SAMConfiguration command to configure the Security Access
        Module. The *mode* argument must be one of the string values
        in :data:`sam_configuration_modes`. The *timeout* argument is
        only relevant for the virtual card configuration mode.