code: def default_software_reset_type(self, reset_type):
          
          assert isinstance(reset_type, Target.ResetType)
          assert reset_type in (Target.ResetType.SW_SYSRESETREQ, Target.ResetType.SW_VECTRESET,
                                  Target.ResetType.SW_EMULATED)
          self._default_software_reset_type = reset_type
docs: ! @brief Modify the default software reset method.
          @param self
          @param reset_type Must be one of the software reset types: Target.ResetType.SW_SYSRESETREQ,
              Target.ResetType.SW_VECTRESET, or Target.ResetType.SW_EMULATED.